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