clutter.spec revision 17093
10139N/A#
10139N/A# spec file for package clutter
10139N/A#
12141N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A# Owner: lin
10139N/A# bugdb: bugzilla.o-hand.com
10139N/A#
10139N/A
10139N/AName: clutter
11912N/ALicense: LGPL
10139N/AGroup: System/Libraries
10139N/AVersion: 1.0.2
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
11262N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
10139N/ASource: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
10139N/A#owner:halton date:2009-08-25 type:bug bugzilla:591669 status:upstreamed
10139N/APatch1: %{name}-01-gi.diff
10139N/A
10139N/AURL: http://www.clutter-project.org/
10139N/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.
10139N/A
10139N/A%prep
10139N/A%setup -q -n clutter-%version
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10441N/A CPUS=1
10441N/Afi
11896N/Aexport CFLAGS="%{optflags} -I/usr/X11/include"
11896N/Aexport CXXFLAGS="%{?cxx_optflags}"
11970N/Aexport LDFLAGS="%{?_ldflags} -L/usr/X11/lib -R/usr/X11/lib -lX11"
11970N/A./configure --prefix=%{_prefix} \
11982N/A --libdir=%{_libdir} \
11982N/A --sysconfdir=%{_sysconfdir} \
12235N/A --disable-static \
12235N/A --enable-gtk-doc
11896N/Amake -j$CPUS
10139N/A
10139N/A%install
10139N/A#rm -rf $RPM_BUILD_ROOT
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/lib*.so*
10139N/A
10139N/A
10139N/A%changelog
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
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
10139N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02
10139N/A* Mon Feb 23 2009 - chris.wang@sun.com
10139N/A- Bump to 0.8.8 version
10139N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
10139N/A- Add patch g11n-i18n-ui.diff for I18n UI.
10139N/A* Wed Nov 26 2008 chris.wang@sun.com
10139N/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
10139N/A
10139N/A