clutter-gtk.spec revision 16716
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# spec file for package clutter-gtk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner# Copyright 2008 Sun Microsystems, Inc.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This file and all modifications and additions to the pristine
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# package are under the same license as the package itself.
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Owner: lin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSummary: clutter-gtk - GTK+ integration library for clutter
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinName: clutter-gtk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinVersion: 0.8.3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinRelease: 1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLicense: GPL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinGroup: System/Libraries
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinDistribution: Java Desktop System
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinVendor: Sun Microsystems, Inc.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSource: http://www.clutter-project.org/sources/clutter-gtk/0.8/clutter-gtk-%{version}.tar.bz2
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinURL: http://www.clutter-project.org/
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBuildRoot: %{_tmppath}/%{name}-%{version}-build
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner%prep
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%setup -q -n clutter-gtk-%version
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%build
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinif test "x$CPUS" = "x" -o $CPUS = 0; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin CPUS=1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinfi
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin./configure --prefix=%{_prefix} \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin --libexecdir=%{_libexecdir} \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin --sysconfdir=%{_sysconfdir} \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin --disable-static
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinmake -j$CPUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%install
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrm -rf $RPM_BUILD_ROOT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinmake install DESTDIR=$RPM_BUILD_ROOT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%clean
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinrm -rf $RPM_BUILD_ROOT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%files
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%defattr (-, root, bin)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%dir %attr (0755, root, bin) %{_libdir}
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%{_libdir}/lib*.so*
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin%changelog
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Fri Jun 26 2009 chris.wang@sun.com
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin- Change patch and spec owner to lin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Mon Feb 23 2009 chris.wang@sun.com
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin- Bump to 0.8.3 version
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Tue Jul 1 2008 chris.wang@sun.com
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin- Initial build.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin