clutter.spec revision 15600
10139N/A#
10139N/A# spec file for package clutter
10139N/A#
12147N/A# Copyright 2008 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# bugdb: http://bugzilla.openedhand.com
10139N/A#
10139N/A# Owner: bewitche
10139N/A#
10139N/A
13620N/AName: clutter
10139N/ALicense: LGPL
10139N/AGroup: System/Libraries
10139N/AVersion: 0.8.2
10139N/ARelease: 1
13400N/ADistribution: Java Desktop System
10139N/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/clutter/0.8/clutter-%{version}.tar.bz2
10139N/A#owner:beiwtche date:2008-11-26 type:feature
10139N/APatch1: clutter-01-remove-tests.diff
10139N/A#owner:fujiwara date:2009-01-05 type:feature bugster:6790362 bugzilla:1397 state:upstream
10139N/APatch2: clutter-02-g11n-i18n-ui.diff
10139N/AURL: http://www.clutter-project.org/
10491N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10491N/A%description
10491N/A
10491N/A%prep
12088N/A%setup -q -n clutter-%version
10139N/A%patch1 -p1
12088N/A%patch2 -p1
10139N/A%build
12088N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12176N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12196N/A CPUS=1
12306N/Afi
12368N/Aexport CFLAGS="%{optflags} -I/usr/X11/include"
13519N/Aexport CXXFLAGS="%{?cxx_optflags}"
13519N/Aexport LDFLAGS="%{?_ldflags} -L/usr/X11/lib -R/usr/X11/lib -lX11"
13088N/A./configure --prefix=%{_prefix} \
13278N/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
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 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