clutter.spec revision 22050
10139N/A#
10139N/A# spec file for package clutter
10139N/A#
13658N/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
20890N/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
20129N/A#
10139N/A
10139N/A%define OSR 12694 (new OSR for major rev not needed):1.0
10139N/A
10710N/AName: clutter
13658N/ALicense: LGPLv2.1
10710N/AGroup: System/Libraries
10139N/AVersion: 1.10.8
10139N/ARelease: 1
18688N/ADistribution: Java Desktop System
18688N/AVendor: clutter-project.org
10139N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
20056N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.xz
11947N/A# date:2010-10-22 owner:yippi
19078N/APatch1: clutter-01-json.diff
10139N/A# Patch needed to make 1.2.8 build without libtool 2.2.6.
12680N/A# date:2010-05-28 owner:yippi type:feature
19078N/APatch2: clutter-02-m4.diff
10139N/APatch3: clutter-03-configure.diff
10139N/APatch4: clutter-04-void-return.diff
10139N/AURL: http://www.clutter-project.org/
20857N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20890N/A%description
20890N/AClutter is an open source software library for creating fast, visually
20890N/Arich and animated graphical user interfaces.
20890N/A
20890N/A%prep
20890N/A%setup -q -n clutter-%version
20890N/A#%patch1 -p1
20890N/A#%patch2 -p1
20890N/A%patch3 -p1
20829N/A%patch4 -p1
20890N/A
20890N/A%build
20890N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20890N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
20829N/A CPUS=1
20829N/Afi
20890N/A
20890N/A# This is needed for the gobject-introspection compile to find libdrm.
20890N/Aexport LD_LIBRARY_PATH=/usr/lib/xorg
20890N/A
20890N/Agtkdocize
20890N/Ased -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
20890N/A && mv gtk-doc.temp gtk-doc.make
20890N/Ased -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
20890N/A && mv gtk-doc.temp gtk-doc.make
20890N/Aglib-gettextize -f
20890N/Aintltoolize --force --copy
20890N/Aexport ACLOCAL="aclocal-1.11 $ACLOCAL_FLAGS"
20890N/Aexport AUTOMAKE="automake-1.11"
20890N/Aautoreconf -v --install
20890N/A./configure --prefix=%{_prefix} \
20347N/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
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10710N/A%dir %attr (0755, root, bin) %{_libdir}
13658N/A%{_libdir}/lib*.so*
10710N/A
11947N/A
11947N/A%changelog
10139N/A* Sat Sep 15 2012 - brian.cameron@oracle.com
17868N/A- Bump to 1.10.8.
19078N/A* Thu May 03 2012 - brian.cameron@oracle.com
10139N/A- Bump to 1.10.4.
17061N/A* Wed Oct 19 2011 - brian.cameron@oracle.com
17061N/A- Bump to 1.8.2.
17195N/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.
10710N/A* Fri Oct 22 2010 - brian.cameron@oracle.com
13658N/A- Bump to 1.2.14.
13658N/A* Tue Jun 01 2010 - brian.cameron@oracle.com
13658N/A- Bump to 1.2.8, add patch clutter-02-m4.diff to fix compile issues and
13658N/A remove clutter-02-annotations.diff.
13658N/A* Fri May 28 2010 - brian.cameron@oracle.com
13658N/A- Add patch clutter-02-annotations.diff so clutter builds with
10710N/A gobject-introspection > 0.6.10.
10139N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
10139N/A- Bump to 1.2.6.
10710N/A* Fri Mar 26 2010 - christian.kelly@sun.com
13658N/A- Bump to 1.2.4.
10710N/A* Tue Mar 16 2009 - halton.huo@sun.com
10139N/A- Bump to 1.2.2
13658N/A* Wed Mar 03 2010 - halton.huo@sun.com
13658N/A- Bump to 1.2.0
13658N/A* Wed Feb 10 2010 - halton.huo@sun.com
13658N/A- Bump to 1.1.10
20829N/A- Remove upstreamed patch void-return.diff
10139N/A* Tue Feb 09 2010 - halton.huo@sun.com
11947N/A- Bump to 1.1.8
11947N/A- Remove upstreamed patch suncc-redefine.diff
11947N/A* Mon Jan 04 2010 - halton.huo@sun.com
11947N/A- Bump to 1.1.4
11947N/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
16307N/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
16307N/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
10139N/A* Fri Jun 26 2009 - chris.wang@sun.com
10139N/A- Change spec and patch owner to lin.
10710N/A* Tue Apr 14 2009 - chris.wang@sun.com
10710N/A- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk.
20041N/A* Tue Apr 07 2009 - chris.wang@sun.com
20041N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
20041N/A* Mon Feb 23 2009 - chris.wang@sun.com
20041N/A- Bump to 0.8.8 version.
20041N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
20829N/A- Add patch g11n-i18n-ui.diff for I18n UI.
10139N/A* Wed Nov 26 2008 chris.wang@sun.com
17945N/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