clutter.spec revision 18379
#
# spec file for package clutter
#
# Copyright 2010 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner lin
# bugdb: bugzilla.o-hand.com
#
%define OSR 9341:0.x
Name: clutter
License: LGPL
Group: System/Libraries
Version: 1.2.0
Release: 1
Distribution: Java Desktop System
Vendor: Sun Microsystems, Inc.
Summary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
Source: http://www.clutter-project.org/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
# date:2010-01-04 owner:halton type:bug bugid:1930
Patch1: clutter-01-solaris-ld.diff
URL: http://www.clutter-project.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
%prep
%setup -q -n clutter-%version
%patch1 -p1
%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
gtkdocize
sed -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
&& mv gtk-doc.temp gtk-doc.make
sed -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
&& mv gtk-doc.temp gtk-doc.make
glib-gettextize -f
ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir} \
--disable-static \
--enable-gtk-doc
make -j$CPUS
%install
make -i install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
%changelog
* Wed Mar 03 2010 - halton.huo@sun.com
- Bump to 1.2.0
* Wed Feb 10 2010 - halton.huo@sun.com
- Bump to 1.1.10
- Remove upstreamed patch void-return.diff
* Tue Feb 09 2010 - halton.huo@sun.com
- Bump to 1.1.8
- Remove upstreamed patch suncc-redefine.diff
* Mon Jan 04 2010 - halton.huo@sun.com
- Bump to 1.1.4
- Add patch solaris-ld.diff to fix #1930
* Wed Dec 30 2009 - halton.huo@sun.com
- Bump to 1.1.2
- Add patch suncc-redefine.diff to fix #1928
- Add patch void-return.diff to fix #1929
* Wed Oct 21 2009 - dave.lin@sun.com
- Bump to 1.0.8
* Thu Sep 24 2009 - brian.cameron@sun.com
- Bump to 1.0.6.
* Sat Sep 05 2009 - brian.cameron@sun.com
- Bump to 1.0.4.
* Tue Aug 25 2009 - halton.huo@sun.com
- Bump to 1.0.2.
- Remove uesless patch remove-tests.diff.
- Remove upstreamed patch g11n-i18n-ui.diff.
- Add patch gi.diff to fix build issue on G-I 0.6.4
* Fri Jun 26 2009 - chris.wang@sun.com
- Change spec and patch owner to lin.
* Tue Apr 14 2009 - chris.wang@sun.com
- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk.
* Tue Apr 07 2009 - chris.wang@sun.com
- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
* Mon Feb 23 2009 - chris.wang@sun.com
- Bump to 0.8.8 version.
* Tue Jan 06 2009 - takao.fujiwara@sun.com
- Add patch g11n-i18n-ui.diff for I18n UI.
* Wed Nov 26 2008 chris.wang@sun.com
- add patch cairo-01-remove-tests.diff, we don't ship tests to our package.
* Tue Jul 1 2008 chris.wang@sun.com
- Initial build.