clutter.spec revision 18615
10139N/A#
10139N/A# spec file for package clutter
10139N/A#
15354N/A# Copyright 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
16307N/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:1.0
16333N/A
10139N/AName: clutter
10139N/ALicense: LGPL
10430N/AGroup: System/Libraries
10430N/AVersion: 1.2.4
10430N/ARelease: 1
15354N/ADistribution: Java Desktop System
10430N/AVendor: clutter-project.org
10430N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
20060N/ASource: http://www.clutter-project.org/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
20060N/A# date:2010-01-04 owner:halton type:bug bugzilla:1930
15354N/APatch1: clutter-01-solaris-ld.diff
16772N/AURL: http://www.clutter-project.org/
10430N/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.
18688N/A
18688N/A%prep
10139N/A%setup -q -n clutter-%version
20056N/A%patch1 -p1
11232N/A
10139N/A%build
12677N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
19078N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
19142N/Agtkdocize
16401N/Ased -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
16401N/A && mv gtk-doc.temp gtk-doc.make
16401N/Ased -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
16401N/A && mv gtk-doc.temp gtk-doc.make
17317N/Aglib-gettextize -f
10139N/AACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -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
16307N/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 {} ';'
11931N/A
15354N/A%clean
15354N/Arm -rf $RPM_BUILD_ROOT
15354N/A
17613N/A%files
17560N/A%defattr (-, root, bin)
16401N/A%dir %attr (0755, root, bin) %{_libdir}
17317N/A%{_libdir}/lib*.so*
10139N/A
11387N/A
15354N/A%changelog
18993N/A* Fri Mar 26 2010 - christian.kelly@sun.com
11931N/A- Bump to 1.2.4.
10430N/A* Tue Mar 16 2009 - halton.huo@sun.com
18850N/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
19142N/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
19126N/A- Bump to 1.1.4
10139N/A- Add patch solaris-ld.diff to fix #1930
19126N/A* Wed Dec 30 2009 - halton.huo@sun.com
10139N/A- Bump to 1.1.2
19142N/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.
10430N/A* Sat Sep 05 2009 - brian.cameron@sun.com
10430N/A- Bump to 1.0.4.
10430N/A* Tue Aug 25 2009 - halton.huo@sun.com
15354N/A- Bump to 1.0.2.
10430N/A- Remove uesless patch remove-tests.diff.
10430N/A- Remove upstreamed patch g11n-i18n-ui.diff.
11232N/A- Add patch gi.diff to fix build issue on G-I 0.6.4
11232N/A* Fri Jun 26 2009 - chris.wang@sun.com
10139N/A- Change spec and patch owner to lin.
10139N/A* Tue Apr 14 2009 - chris.wang@sun.com
10139N/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
17560N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
10434N/A* Mon Feb 23 2009 - chris.wang@sun.com
10430N/A- Bump to 0.8.8 version.
10139N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
10430N/A- Add patch g11n-i18n-ui.diff for I18n UI.
10533N/A* Wed Nov 26 2008 chris.wang@sun.com
10533N/A- add patch cairo-01-remove-tests.diff, we don't ship tests to our package.
10533N/A* Tue Jul 1 2008 chris.wang@sun.com
10533N/A- Initial build.
10533N/A
15354N/A
15354N/A
15354N/A