clutter.spec revision 17185
15394N/A#
15394N/A# spec file for package clutter
15394N/A#
17093N/A# Copyright 2009 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
17176N/A%define OSR 9341:0.x
17176N/A
15394N/AName: clutter
15394N/ALicense: LGPL
15394N/AGroup: System/Libraries
17093N/AVersion: 1.0.2
15394N/ARelease: 1
15394N/ADistribution: Java Desktop System
15394N/AVendor: Sun Microsystems, Inc.
15394N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
17093N/ASource: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
17093N/A#owner:halton date:2009-08-25 type:bug bugzilla:591669 status:upstreamed
17093N/APatch1: %{name}-01-gi.diff
16325N/A
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
15408N/A%patch1 -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
15394N/Aexport CFLAGS="%{optflags} -I/usr/X11/include"
15394N/Aexport CXXFLAGS="%{?cxx_optflags}"
15394N/Aexport LDFLAGS="%{?_ldflags} -L/usr/X11/lib -R/usr/X11/lib -lX11"
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
15394N/A#rm -rf $RPM_BUILD_ROOT
15394N/Amake install DESTDIR=$RPM_BUILD_ROOT
15394N/A
15394N/A
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
17093N/A* Tue Aug 25 2009 - halton.huo@sun.com
17093N/A- Bump to 1.0.2
17093N/A- Remove uesless patch remove-tests.diff
17093N/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
16716N/A- Change spec and patch owner to lin
16358N/A* Tue Apr 14 2009 - chris.wang@sun.com
16358N/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
16325N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02
15956N/A* Mon Feb 23 2009 - chris.wang@sun.com
15956N/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
15408N/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