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