clutter.spec revision 16325
15394N/A#
15394N/A# spec file for package clutter
15394N/A#
15394N/A# Copyright 2008 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#
15600N/A# bugdb: http://bugzilla.openedhand.com
15600N/A#
15394N/A# Owner: bewitche
15394N/A#
15394N/A
15394N/AName: clutter
15394N/ALicense: LGPL
15394N/AGroup: System/Libraries
16325N/AVersion: 0.9.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.
16325N/ASource: http://www.clutter-project.org/sources/clutter/0.9/clutter-%{version}.tar.bz2
15408N/A#owner:beiwtche date:2008-11-26 type:feature
16325N/APatch1: clutter-01-fix-tests.diff
16325N/A
15394N/AURL: http://www.clutter-project.org/
15394N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
15394N/A%description
15394N/A
15394N/A%prep
15394N/A%setup -q -n clutter-%version
15408N/A%patch1 -p1
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
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