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