clutter-gtk.spec revision 15394
15394N/A#
15394N/A# spec file for package clutter-gtk
15394N/A#
15394N/A# Copyright 2008 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#
15394N/A# Owner: bewitche
15394N/A#
15394N/A
15394N/ASummary: clutter-gtk - GTK+ integration library for clutter
15394N/AName: clutter-gtk
15394N/AVersion: 0.8.2
15394N/ARelease: 1
15394N/ALicense: GPL
15394N/AGroup: System/Libraries
15394N/ADistribution: Java Desktop System
15394N/AVendor: Sun Microsystems, Inc.
15394N/ASource: http://www.clutter-project.org/sources/clutter-gtk/0.8/clutter-gtk-%{version}.tar.bz2
15394N/AURL: http://www.clutter-project.org/
15394N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
15394N/A
15394N/A
15394N/A%prep
15394N/A%setup -q -n clutter-gtk-%version
15394N/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
15394N/A./configure --prefix=%{_prefix} \
15394N/A --libexecdir=%{_libexecdir} \
15394N/A --sysconfdir=%{_sysconfdir} \
15394N/A --disable-static
15394N/Amake -j$CPUS
15394N/A
15394N/A%install
15394N/Arm -rf $RPM_BUILD_ROOT
15394N/Amake install DESTDIR=$RPM_BUILD_ROOT
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
15394N/A%changelog
15394N/A* Tue Jul 1 2008 chris.wang@sun.com
15394N/A- Initial build.
15394N/A
15394N/A