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