clutter.spec revision 17577
10710N/A#
10710N/A# spec file for package clutter
10710N/A#
10710N/A# Copyright 2009 Sun Microsystems, Inc.
10710N/A# This file and all modifications and additions to the pristine
10710N/A# package are under the same license as the package itself.
10710N/A#
10710N/A%define owner lin
10843N/A# bugdb: bugzilla.o-hand.com
10843N/A#
10710N/A
10710N/A%define OSR 9341:0.x
10710N/A
13079N/AName: clutter
10710N/ALicense: LGPL
10710N/AGroup: System/Libraries
10710N/AVersion: 1.0.8
10710N/ARelease: 1
10710N/ADistribution: Java Desktop System
10710N/AVendor: Sun Microsystems, Inc.
11925N/ASummary: clutter - a library for creating fast, visually rich and animated graphical user interfaces.
10710N/ASource: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
12773N/AURL: http://www.clutter-project.org/
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/A%description
10710N/AClutter is an open source software library for creating fast, visually
10881N/Arich and animated graphical user interfaces.
10710N/A
10881N/A%prep
10710N/A%setup -q -n clutter-%version
10881N/A
10710N/A%build
10881N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10710N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10881N/A CPUS=1
11114N/Afi
11114N/Aexport CFLAGS="%{optflags} -I/usr/X11/include"
10710N/Aexport CXXFLAGS="%{?cxx_optflags}"
10710N/Aexport LDFLAGS="%{?_ldflags} -L/usr/X11/lib -R/usr/X11/lib -lX11"
10710N/A./configure --prefix=%{_prefix} \
10710N/A --libdir=%{_libdir} \
13079N/A --sysconfdir=%{_sysconfdir} \
10710N/A --disable-static \
10710N/A --enable-gtk-doc
10710N/Amake -j$CPUS
10710N/A
10710N/A%install
10710N/A#rm -rf $RPM_BUILD_ROOT
10710N/Amake install DESTDIR=$RPM_BUILD_ROOT
10710N/A
10710N/A
10710N/A
10710N/A%clean
10710N/Arm -rf $RPM_BUILD_ROOT
10710N/A
10710N/A%files
10710N/A%defattr (-, root, bin)
10710N/A%dir %attr (0755, root, bin) %{_libdir}
10710N/A%{_libdir}/lib*.so*
10710N/A
10710N/A
10710N/A%changelog
10710N/A* Wed Oct 21 2009 - dave.lin@sun.com
10710N/A- Bump to 1.0.8
10710N/A* Thu Sep 24 2009 - brian.cameron@sun.com
10710N/A- Bump to 1.0.6.
10710N/A* Sat Sep 05 2009 - brian.cameron@sun.com
10710N/A- Bump to 1.0.4.
10710N/A* Tue Aug 25 2009 - halton.huo@sun.com
10710N/A- Bump to 1.0.2.
10710N/A- Remove uesless patch remove-tests.diff.
10710N/A- Remove upstreamed patch g11n-i18n-ui.diff.
13079N/A- Add patch gi.diff to fix build issue on G-I 0.6.4
13079N/A* Fri Jun 26 2009 - chris.wang@sun.com
13079N/A- Change spec and patch owner to lin.
13079N/A* Tue Apr 14 2009 - chris.wang@sun.com
10710N/A- backup to 0.8.8 as 0.9 version is not competible with clutter-gtk.
10710N/A* Tue Apr 07 2009 - chris.wang@sun.com
10710N/A- Bump to 0.9.2, revised patch 01 and removed upstreamed patch 02.
10710N/A* Mon Feb 23 2009 - chris.wang@sun.com
10710N/A- Bump to 0.8.8 version.
11114N/A* Tue Jan 06 2009 - takao.fujiwara@sun.com
10710N/A- Add patch g11n-i18n-ui.diff for I18n UI.
10710N/A* Wed Nov 26 2008 chris.wang@sun.com
12831N/A- add patch cairo-01-remove-tests.diff, we don't ship tests to our package.
12831N/A* Tue Jul 1 2008 chris.wang@sun.com
10710N/A- Initial build.
10710N/A
10710N/A
10710N/A
10710N/A