clutter-gst.spec revision 19051
13561N/A#
13561N/A# spec file for package clutter-gst
13561N/A#
18774N/A# Copyright 2010 Sun Microsystems, Inc.
13561N/A# This file and all modifications and additions to the pristine
13561N/A# package are under the same license as the package itself.
13561N/A#
17185N/A%define owner lin
13561N/A#
17177N/A
18644N/A%define OSR 12686:0.8.0
17177N/A
13561N/ASummary: clutter-gst - gstreamer integration library for clutter
18803N/AName: clutter-gst
13561N/AVersion: 1.2.0
21880N/ARelease: 1
13561N/ALicense: LGPLv2.1
13561N/AGroup: System/Libraries
18616N/ADistribution: Java Desktop System
13561N/AVendor: clutter-project.org
13561N/ASource: http://www.clutter-project.org/sources/clutter-gst/1.0/clutter-gst-%{version}.tar.bz2
13561N/AURL: http://www.clutter-project.org/
13561N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13561N/A
13561N/A%prep
13561N/A%setup -q -n clutter-gst-%version
13561N/A
13561N/A#FIXME: remove uncompatible m4 files
13561N/Arm -f build/autotools/lt~obsolete.m4
13561N/Arm -f build/autotools/ltoptions.m4
13561N/Arm -f build/autotools/libtool.m4
13561N/Arm -f build/autotools/ltsugar.m4
13561N/Arm -f build/autotools/ltversion.m4
13561N/A
13561N/A%build
13561N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13561N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13561N/A CPUS=1
13561N/Afi
13561N/A
13561N/Aaclocal $ACLOCAL_FLAGS -I build/autotools
13561N/Alibtoolize --force
13561N/Aautoheader
13561N/Aautomake -a -f -c --gnu
13561N/Aautoconf
13561N/A
13561N/A./configure --prefix=%{_prefix} \
13561N/A --libexecdir=%{_libexecdir} \
13561N/A --sysconfdir=%{_sysconfdir} \
13561N/A %{gtk_doc_option} \
13561N/A%if %debug_build
13561N/A --enable-debug=yes \
13561N/A%else
13561N/A --enable-debug=no \
13561N/A%endif
13561N/A
13561N/A
21880N/Amake -j $CPUS
21880N/A
20862N/A%install
20862N/Arm -rf $RPM_BUILD_ROOT
18823N/Amake install DESTDIR=$RPM_BUILD_ROOT
18823N/A#Clean up unpackaged files
18823N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
18823N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
18803N/A
18803N/A%clean
18803N/Arm -rf $RPM_BUILD_ROOT
18803N/A
18774N/A%files
18774N/A%defattr (-, root, bin)
13561N/A%dir %attr (0755, root, bin) %{_libdir}
13561N/A%{_libdir}/lib*.so*
%changelog
* Fri Oct 22 2010 - brian.cameron@oracle.com
- bump to 1.2.0.
* 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.