clutter.spec revision 18271
10139N/A#
10139N/A# spec file for package clutter
10139N/A#
10139N/A# Copyright 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
20898N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner lin
10139N/A# bugdb: bugzilla.o-hand.com
20898N/A#
10139N/A
10139N/A%define OSR 9341:0.x
10139N/A
10139N/AName: clutter
10139N/ALicense: LGPL
10139N/AGroup: System/Libraries
10139N/AVersion: 1.1.8
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
10139N/ASource: http://www.clutter-project.org/sources/%{name}/1.1/%{name}-%{version}.tar.bz2
10139N/A# date:2010-01-04 owner:halton type:bug bugid:1930
10139N/APatch1: clutter-01-solaris-ld.diff
18688N/A# date:2010-02-09 owner:halton type:bug bugid:1978
18688N/APatch2: clutter-02-void-return.diff
10139N/AURL: http://www.clutter-project.org/
19013N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%description
10139N/AClutter is an open source software library for creating fast, visually
12680N/Arich and animated graphical user interfaces.
19092N/A
19092N/A%prep
10139N/A%setup -q -n clutter-%version
10139N/A%patch1 -p1
10139N/A%patch2 -p1
20857N/A
20898N/A%build
20898N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20898N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
20898N/A CPUS=1
20898N/Afi
20898N/A
20898N/Agtkdocize
20898N/Ased -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
20898N/A && mv gtk-doc.temp gtk-doc.make
20898N/Ased -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
20898N/A && mv gtk-doc.temp gtk-doc.make
20898N/Aglib-gettextize -f
20898N/AACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install
20898N/A./configure --prefix=%{_prefix} \
20898N/A --libdir=%{_libdir} \
20898N/A --sysconfdir=%{_sysconfdir} \
20898N/A --disable-static \
20898N/A --enable-gtk-doc
20898N/Amake -j$CPUS
20898N/A
20898N/A%install
20898N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
20898N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
20898N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
20898N/A
20898N/A%clean
20898N/Arm -rf $RPM_BUILD_ROOT
20898N/A
20898N/A%files
20898N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/lib*.so*
10139N/A
10139N/A
10139N/A%changelog
10139N/A* Tue Feb 09 2010 - halton.huo@sun.com
10139N/A- Bump to 1.1.8
10139N/A- Remove upstreamed patch suncc-redefine.diff
20857N/A* Mon Jan 04 2010 - halton.huo@sun.com
10139N/A- Bump to 1.1.4
10657N/A- Add patch solaris-ld.diff to fix #1930
10657N/A* Wed Dec 30 2009 - halton.huo@sun.com
10657N/A- Bump to 1.1.2
10657N/A- Add patch suncc-redefine.diff to fix #1928
20857N/A- Add patch void-return.diff to fix #1929
20898N/A* Wed Oct 21 2009 - dave.lin@sun.com
20898N/A- Bump to 1.0.8
20898N/A* Thu Sep 24 2009 - brian.cameron@sun.com
20898N/A- Bump to 1.0.6.
20898N/A* Sat Sep 05 2009 - brian.cameron@sun.com
20898N/A- Bump to 1.0.4.
20898N/A* Tue Aug 25 2009 - halton.huo@sun.com
20898N/A- Bump to 1.0.2.
20898N/A- Remove uesless patch remove-tests.diff.
20898N/A- Remove upstreamed patch g11n-i18n-ui.diff.
20898N/A- Add patch gi.diff to fix build issue on G-I 0.6.4
20898N/A* Fri Jun 26 2009 - chris.wang@sun.com
10657N/A- Change spec and patch owner to lin.
10139N/A* Tue Apr 14 2009 - chris.wang@sun.com
10139N/A- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk.
10139N/A* Tue Apr 07 2009 - chris.wang@sun.com
10139N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
10139N/A* Mon Feb 23 2009 - chris.wang@sun.com
10139N/A- Bump to 0.8.8 version.
10139N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
10139N/A- Add patch g11n-i18n-ui.diff for I18n UI.
10139N/A* Wed Nov 26 2008 chris.wang@sun.com
10139N/A- add patch cairo-01-remove-tests.diff, we don't ship tests to our package.
10139N/A* Tue Jul 1 2008 chris.wang@sun.com
10139N/A- Initial build.
10139N/A
10139N/A
10139N/A
10139N/A