clutter-gst.spec revision 18334
12494N/A#
12494N/A# spec file for package clutter-gst
12494N/A#
12494N/A# Copyright 2008 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
12495N/ASummary: clutter-gst - clutter-gst - gstreamer integration library for clutter
12494N/AName: clutter-gst
12494N/AVersion: 0.10.0
12494N/ARelease: 1
12494N/ALicense: LGPL
12495N/AGroup: System/Libraries
12494N/ADistribution: Java Desktop System
12494N/AVendor: Sun Microsystems, Inc.
12494N/ASource: http://www.clutter-project.org/sources/clutter-gst/0.10/clutter-gst-%{version}.tar.bz2
12494N/AURL: http://www.clutter-project.org/
12494N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12494N/A
12494N/A# date:2010-02-23 owner:chrisk type:bug
12494N/APatch1: clutter-gst-01-build.diff
12494N/A
12494N/A%prep
12494N/A%setup -q -n clutter-gst-%version
12494N/A%patch1 -p1
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
12494N/A./configure --prefix=%{_prefix} \
12495N/A --libexecdir=%{_libexecdir} \
12495N/A --sysconfdir=%{_sysconfdir} \
12495N/A --disable-static
12494N/Amake -j$CPUS
12494N/A
12494N/A%install
12494N/Arm -rf $RPM_BUILD_ROOT
12494N/Amake install DESTDIR=$RPM_BUILD_ROOT
12494N/A
12494N/A%clean
12494N/Arm -rf $RPM_BUILD_ROOT
12494N/A
12494N/A%files
12494N/A%defattr (-, root, bin)
12494N/A%dir %attr (0755, root, bin) %{_libdir}
12494N/A%{_libdir}/lib*.so*
12494N/A
12495N/A%changelog
12495N/A* Tue Feb 23 2010 christian.kelly@sun.com
12494N/A- Add clutter-gst-01-build.diff, fix build issue.
12494N/A* Tue Aug 25 2009 lin.ma@sun.com
12494N/A- Bump to 0.10.0
12494N/A* Fri Jun 26 2009 chris.wang@sun.com
12494N/A- Change owner to lin
12494N/A* Tue Jul 1 2008 chris.wang@sun.com
12494N/A- Initial build.
12494N/A