clutter-gst.spec revision 18810
12494N/A#
12494N/A# spec file for package clutter-gst
12494N/A#
12494N/A# Copyright 2010 Sun Microsystems, Inc.
12494N/A# This file and all modifications and additions to the pristine
12494N/A# package are under the same license as the package itself.
12494N/A#
12494N/A%define owner lin
12494N/A#
12494N/A
12494N/A%define OSR 12686:0.8.0
12494N/A
12537N/ASummary: clutter-gst - gstreamer integration library for clutter
12494N/AName: clutter-gst
12494N/AVersion: 1.0.0
12494N/ARelease: 1
12494N/ALicense: LGPLv2.1
12495N/AGroup: System/Libraries
12494N/ADistribution: Java Desktop System
12494N/AVendor: clutter-project.org
12494N/ASource: http://www.clutter-project.org/sources/clutter-gst/1.0/clutter-gst-%{version}.tar.bz2
12494N/AURL: http://www.clutter-project.org/
12519N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12494N/A
12494N/A%prep
12494N/A%setup -q -n clutter-gst-%version
12519N/A
12494N/A#FIXME: remove uncompatible m4 files
12494N/Arm -f build/autotools/lt~obsolete.m4
12494N/Arm -f build/autotools/ltoptions.m4
12494N/Arm -f build/autotools/libtool.m4
12494N/Arm -f build/autotools/ltsugar.m4
12494N/Arm -f build/autotools/ltversion.m4
12494N/A
12494N/A%build
12494N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12494N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12494N/A CPUS=1
12494N/Afi
12495N/A
12495N/Aaclocal $ACLOCAL_FLAGS -I build/autotools
12495N/Alibtoolize --force
12494N/Aautoheader
12494N/Aautomake -a -f -c --gnu
12494N/Aautoconf
12494N/A
12494N/A./configure --prefix=%{_prefix} \
12494N/A --libexecdir=%{_libexecdir} \
12494N/A --sysconfdir=%{_sysconfdir} \
12494N/A %{gtk_doc_option} \
12494N/A%if %debug_build
12494N/A --enable-debug=yes \
12494N/A%else
12494N/A --enable-debug=no \
12494N/A%endif
12494N/A
12537N/A
12537N/Amake -j $CPUS
12519N/A
12519N/A%install
12495N/Arm -rf $RPM_BUILD_ROOT
12495N/Amake install DESTDIR=$RPM_BUILD_ROOT
12494N/A#Clean up unpackaged files
12494N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
12494N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
12494N/A
12494N/A%clean
12494N/Arm -rf $RPM_BUILD_ROOT
12494N/A
12494N/A%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
%changelog
* Fri Mar 26 2010 lin.ma@sun.com
- Revert to 1.0.0
* Mon Mar 08 2010 halton.huo@sun.com
- Revert to 0.10.0, hold bumping until new OSR filed.
* Wed Mar 03 2010 halton.huo@sun.com
- Bump to 1.0.0
- Remove clutter-gst-01-build.diff, not needed.
- Remove uncompatible m4 files
* Tue Feb 23 2010 christian.kelly@sun.com
- Add clutter-gst-01-build.diff, fix build issue.
* Tue Aug 25 2009 lin.ma@sun.com
- Bump to 0.10.0
* Fri Jun 26 2009 chris.wang@sun.com
- Change owner to lin
* Tue Jul 1 2008 chris.wang@sun.com
- Initial build.