clutter.spec revision 18806
15394N/A#
15394N/A# spec file for package clutter
15394N/A#
18022N/A# Copyright 2010 Sun Microsystems, Inc.
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
15394N/ALicense: LGPL
15394N/AGroup: System/Libraries
18657N/AVersion: 1.2.6
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.
18379N/ASource: http://www.clutter-project.org/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
18565N/A# date:2010-01-04 owner:halton type:bug bugzilla:1930
18271N/APatch1: clutter-01-solaris-ld.diff
18806N/A# The annotations need to be fixed or else clutter fails to build
18806N/A# with gobject-introspection > 0.6.10.
18806N/A# date:2010-05-28 owner:yippi type:bug state:upstream
18806N/APatch2: clutter-02-annotations.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
18007N/A%patch1 -p1
18806N/A%patch2 -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
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
18022N/AACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -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
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
15394N/A
15408N/A