clutter.spec revision 16716
10710N/A#
10710N/A# spec file for package clutter
10710N/A#
10710N/A# Copyright 2008 Sun Microsystems, Inc.
10710N/A# This file and all modifications and additions to the pristine
10710N/A# package are under the same license as the package itself.
10710N/A#
16104N/A# bugdb: http://bugzilla.openedhand.com
10843N/A#
10843N/A# Owner: lin
10710N/A#
10710N/A
10710N/AName: clutter
16705N/ALicense: LGPL
10710N/AGroup: System/Libraries
10710N/AVersion: 0.8.8
10710N/ARelease: 1
10710N/ADistribution: Java Desktop System
10710N/AVendor: Sun Microsystems, Inc.
10710N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
11925N/ASource: http://www.clutter-project.org/sources/clutter/0.9/clutter-%{version}.tar.bz2
12773N/A#owner:lin date:2008-11-26 type:feature
15153N/APatch1: clutter-01-remove-tests.diff
15153N/A#owner:lin date:2009-04-14 type:feature
12773N/APatch2: clutter-02-g11n-i18n-ui.diff
16604N/A
10881N/AURL: http://www.clutter-project.org/
16604N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10881N/A%description
16604N/A
13952N/A%prep
16604N/A%setup -q -n clutter-%version
10881N/A%patch1 -p1
16604N/A%patch2 -p1
10881N/A%build
16604N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
11114N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13957N/A CPUS=1
13957N/Afi
10710N/Aexport CFLAGS="%{optflags} -I/usr/X11/include"
10710N/Aexport CXXFLAGS="%{?cxx_optflags}"
10710N/Aexport LDFLAGS="%{?_ldflags} -L/usr/X11/lib -R/usr/X11/lib -lX11"
10710N/A./configure --prefix=%{_prefix} \
13079N/A --libdir=%{_libdir} \
10710N/A --sysconfdir=%{_sysconfdir} \
10710N/A --disable-static \
10710N/A --enable-gtk-doc
10710N/Amake -j$CPUS
10710N/A
10710N/A%install
10710N/A#rm -rf $RPM_BUILD_ROOT
10710N/Amake install DESTDIR=$RPM_BUILD_ROOT
10710N/A
10710N/A
10710N/A
10710N/A%clean
10710N/Arm -rf $RPM_BUILD_ROOT
10710N/A
10710N/A%files
10710N/A%defattr (-, root, bin)
10710N/A%dir %attr (0755, root, bin) %{_libdir}
10710N/A%{_libdir}/lib*.so*
10710N/A
10710N/A
10710N/A%changelog
10710N/A* Fri Jun 26 2009 - chris.wang@sun.com
10710N/A- Change spec and patch owner to lin
10710N/A* Tue Apr 14 2009 - chris.wang@sun.com
10710N/A- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk
10710N/A* Tue Apr 07 2009 - chris.wang@sun.com
10710N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02
10710N/A* Mon Feb 23 2009 - chris.wang@sun.com
10710N/A- Bump to 0.8.8 version
10710N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
13079N/A- Add patch g11n-i18n-ui.diff for I18n UI.
13079N/A* Wed Nov 26 2008 chris.wang@sun.com
13079N/A- add patch cairo-01-remove-tests.diff, we don't ship tests to our package
13079N/A* Tue Jul 1 2008 chris.wang@sun.com
10710N/A- Initial build.
10710N/A
10710N/A
10710N/A
10710N/A