clutter.spec revision 20841
13332N/A#
13332N/A# spec file for package clutter
13332N/A#
13332N/A# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
13332N/A# This file and all modifications and additions to the pristine
13332N/A# package are under the same license as the package itself.
13332N/A#
13332N/A%define owner lin
13332N/A# bugdb: bugzilla.o-hand.com
17821N/A#
13332N/A
13332N/A%define OSR 12694 (new OSR for major rev not needed):1.0
13332N/A
13332N/AName: clutter
13332N/ALicense: LGPLv2.1
13332N/AGroup: System/Libraries
18688N/AVersion: 1.8.0
18688N/ARelease: 1
14164N/ADistribution: Java Desktop System
19013N/AVendor: clutter-project.org
15244N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
13332N/ASource: http://www.clutter-project.org/sources/%{name}/1.8/%{name}-%{version}.tar.bz2
13332N/A# date:2010-10-22 owner:yippi
19092N/APatch1: clutter-01-json.diff
13332N/A# Patch needed to make 1.2.8 build without libtool 2.2.6.
13332N/A# date:2010-05-28 owner:yippi type:feature
13332N/APatch2: clutter-02-m4.diff
20857N/APatch3: clutter-03-configure.diff
16401N/AURL: http://www.clutter-project.org/
13792N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13332N/A%description
20857N/AClutter is an open source software library for creating fast, visually
13332N/Arich and animated graphical user interfaces.
13332N/A
16401N/A%prep
13792N/A%setup -q -n clutter-%version
13332N/A#%patch1 -p1
13332N/A#%patch2 -p1
13332N/A%patch3 -p1
13333N/A
13333N/A%build
13333N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13333N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13332N/A CPUS=1
13332N/Afi
13332N/A
13332N/A# This is needed for the gobject-introspection compile to find libdrm.
15244N/Aexport LD_LIBRARY_PATH=/usr/lib/xorg
15244N/A
13332N/Agtkdocize
13332N/Ased -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
15927N/A && mv gtk-doc.temp gtk-doc.make
15927N/Ased -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
13332N/A && mv gtk-doc.temp gtk-doc.make
13332N/Aglib-gettextize -f
13332N/Aintltoolize --force --copy
13332N/Aexport ACLOCAL="aclocal-1.11 $ACLOCAL_FLAGS"
13332N/Aexport AUTOMAKE="automake-1.11"
13332N/Aautoreconf -v --install
13332N/A./configure --prefix=%{_prefix} \
13332N/A --libdir=%{_libdir} \
13332N/A --sysconfdir=%{_sysconfdir} \
13332N/A --disable-static \
13332N/A --enable-gtk-doc
13332N/Amake -j$CPUS
13332N/A
13332N/A%install
15244N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
15244N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
15244N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
15244N/A
15244N/A%clean
13332N/Arm -rf $RPM_BUILD_ROOT
13332N/A
13332N/A%files
13332N/A%defattr (-, root, bin)
13332N/A%dir %attr (0755, root, bin) %{_libdir}
13332N/A%{_libdir}/lib*.so*
13332N/A
13332N/A
13332N/A%changelog
13332N/A* Fri Sep 30 2011 - brian.cameron@oracle.com
13332N/A- Bump to 1.8.0.
13332N/A* Wed Jul 06 2011 - brian.cameron@oracle.com
13332N/A- Bump to 1.6.16.
13332N/A* Fri Oct 22 2010 - brian.cameron@oracle.com
13332N/A- Bump to 1.2.14.
13332N/A* Tue Jun 01 2010 - brian.cameron@oracle.com
14412N/A- Bump to 1.2.8, add patch clutter-02-m4.diff to fix compile issues and
14412N/A remove clutter-02-annotations.diff.
13332N/A* Fri May 28 2010 - brian.cameron@oracle.com
13333N/A- Add patch clutter-02-annotations.diff so clutter builds with
13333N/A gobject-introspection > 0.6.10.
13333N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
13333N/A- Bump to 1.2.6.
13333N/A* Fri Mar 26 2010 - christian.kelly@sun.com
13332N/A- Bump to 1.2.4.
16274N/A* Tue Mar 16 2009 - halton.huo@sun.com
16274N/A- Bump to 1.2.2
14412N/A* Wed Mar 03 2010 - halton.huo@sun.com
14412N/A- Bump to 1.2.0
13792N/A* Wed Feb 10 2010 - halton.huo@sun.com
13792N/A- Bump to 1.1.10
13332N/A- Remove upstreamed patch void-return.diff
13333N/A* Tue Feb 09 2010 - halton.huo@sun.com
13333N/A- Bump to 1.1.8
13333N/A- Remove upstreamed patch suncc-redefine.diff
13332N/A* Mon Jan 04 2010 - halton.huo@sun.com
13332N/A- Bump to 1.1.4
13332N/A- Add patch solaris-ld.diff to fix #1930
13332N/A* Wed Dec 30 2009 - halton.huo@sun.com
13332N/A- Bump to 1.1.2
13332N/A- Add patch suncc-redefine.diff to fix #1928
13332N/A- Add patch void-return.diff to fix #1929
13332N/A* Wed Oct 21 2009 - dave.lin@sun.com
13332N/A- Bump to 1.0.8
13332N/A* Thu Sep 24 2009 - brian.cameron@sun.com
13332N/A- Bump to 1.0.6.
13332N/A* Sat Sep 05 2009 - brian.cameron@sun.com
13332N/A- Bump to 1.0.4.
13332N/A* Tue Aug 25 2009 - halton.huo@sun.com
13332N/A- Bump to 1.0.2.
13332N/A- Remove uesless patch remove-tests.diff.
13332N/A- Remove upstreamed patch g11n-i18n-ui.diff.
13332N/A- Add patch gi.diff to fix build issue on G-I 0.6.4
13332N/A* Fri Jun 26 2009 - chris.wang@sun.com
13332N/A- Change spec and patch owner to lin.
13332N/A* Tue Apr 14 2009 - chris.wang@sun.com
13332N/A- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk.
13332N/A* Tue Apr 07 2009 - chris.wang@sun.com
16401N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
19457N/A* Mon Feb 23 2009 - chris.wang@sun.com
19774N/A- Bump to 0.8.8 version.
* Tue Jan 06 2009 - takao.fujiwara@sun.com
- Add patch g11n-i18n-ui.diff for I18n UI.
* Wed Nov 26 2008 chris.wang@sun.com
- add patch cairo-01-remove-tests.diff, we don't ship tests to our package.
* Tue Jul 1 2008 chris.wang@sun.com
- Initial build.