clutter.spec revision 17176
10139N/A#
10139N/A# spec file for package clutter
10139N/A#
18540N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A# Owner: lin
10139N/A# bugdb: bugzilla.o-hand.com
16880N/A#
18603N/A
17178N/A%define OSR 9341:0.x
10139N/A
16880N/AName: clutter
10139N/ALicense: LGPL
20330N/AGroup: System/Libraries
12578N/AVersion: 1.0.2
10139N/ARelease: 1
18615N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
18525N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
18151N/ASource: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
18151N/A#owner:halton date:2009-08-25 type:bug bugzilla:591669 status:upstreamed
18977N/APatch1: %{name}-01-gi.diff
18970N/A
17797N/AURL: http://www.clutter-project.org/
20307N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17797N/A%description
16880N/AClutter is an open source software library for creating fast, visually
17733N/Arich and animated graphical user interfaces.
17797N/A
17753N/A%prep
16880N/A%setup -q -n clutter-%version
17089N/A%patch1 -p1
17797N/A
18159N/A%build
18159N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16880N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16880N/A CPUS=1
16880N/Afi
17733N/Aexport CFLAGS="%{optflags} -I/usr/X11/include"
16880N/Aexport CXXFLAGS="%{?cxx_optflags}"
17089N/Aexport LDFLAGS="%{?_ldflags} -L/usr/X11/lib -R/usr/X11/lib -lX11"
17073N/A./configure --prefix=%{_prefix} \
17089N/A --libdir=%{_libdir} \
17733N/A --sysconfdir=%{_sysconfdir} \
17074N/A --disable-static \
17089N/A --enable-gtk-doc
18239N/Amake -j$CPUS
18683N/A
20307N/A%install
18683N/A#rm -rf $RPM_BUILD_ROOT
17535N/Amake install DESTDIR=$RPM_BUILD_ROOT
18683N/A
17733N/A
17733N/A
18559N/A%clean
18940N/Arm -rf $RPM_BUILD_ROOT
17733N/A
17672N/A%files
18940N/A%defattr (-, root, bin)
17858N/A%dir %attr (0755, root, bin) %{_libdir}
18940N/A%{_libdir}/lib*.so*
17884N/A
17884N/A
18940N/A%changelog
18212N/A* Tue Aug 25 2009 - halton.huo@sun.com
18940N/A- Bump to 1.0.2
18287N/A- Remove uesless patch remove-tests.diff
18940N/A- Remove upstreamed patch g11n-i18n-ui.diff
20307N/A- Add patch gi.diff to fix build issue on G-I 0.6.4
18940N/A* Fri Jun 26 2009 - chris.wang@sun.com
18692N/A- Change spec and patch owner to lin
18940N/A* Tue Apr 14 2009 - chris.wang@sun.com
20307N/A- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk
18738N/A* Tue Apr 07 2009 - chris.wang@sun.com
18738N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02
18940N/A* Mon Feb 23 2009 - chris.wang@sun.com
18763N/A- Bump to 0.8.8 version
18940N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
18752N/A- Add patch g11n-i18n-ui.diff for I18n UI.
18940N/A* Wed Nov 26 2008 chris.wang@sun.com
18940N/A- add patch cairo-01-remove-tests.diff, we don't ship tests to our package
18940N/A* Tue Jul 1 2008 chris.wang@sun.com
18945N/A- Initial build.
20227N/A
18992N/A
20227N/A
19019N/A