Name: gnome-themes
License: GPL
Group: System/GUI/GNOME
Version: 2.6.2
Release: 22
Distribution: Cinnabar
Vendor: Sun Microsystems, Inc.
Summary: GNOME themes
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-themes/2.6/%{name}-%{version}.tar.bz2
Source1: gnome-themes-l10n-po-1.6.tar.bz2
Patch1: gnome-themes-01-g11n-potfiles.diff
Patch2: gnome-themes-02-symlink-rpm-fixup.diff
Patch3: gnome-themes-03-g11n-alllinguas.diff
URL: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
%define gtk2_engines_version 2.2.0
BuildRequires: gtk2-engines >= %{gtk2_engines_version}
BuildRequires: libgnomeui-devel
BuildRequires: intltool
Requires: gtk2-engines >= %{gtk2_engines_version}
%description
Additional GNOME themes.
%prep
%setup -q
bzcat %SOURCE1 | tar xvf -
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
glib-gettextize -f
libtoolize --force
intltoolize --copy --force --automake
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
automake -a -c -f
autoconf
export CFLAGS="$RPM_OPT_FLAGS"
./configure \
--prefix=%{_prefix} \
--libdir=%{_prefix}/%_lib \
--sysconfdir=%{_sysconfdir}
make -j $CPUS
%install
make DESTDIR=$RPM_BUILD_ROOT install
#Remove unpackaged files
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.a
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr(-, root, root)
%{_datadir}/icons/*
%{_datadir}/themes/*
%{_datadir}/eazel-engine/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_libdir}/gtk-2.0/*/engines/lib*.so
%changelog
* Thu Jul 08 2004 - [email protected]
- Updated l10n content to gnome-themes-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - [email protected]
- ported to rpm4
* Wed Jul 07 2004 - [email protected]
- added "-j $CPUS" to make to speed up builds
* Fri Jun 25 2004 - [email protected]
- run glib-gettextize and intltoolize
* Tue Jun 8 2004 - [email protected]
- Bump to 2.6.2
* Tue Jun 1 2004 - [email protected]
- Bump to 2.6.1
* Wed May 12 2004 - [email protected]
- Updated l10n content to gnome-themes-l10n-po-1.1.tar.bz2
* Mon Mar 29 2004 - [email protected]
- Updated l10n content to gnome-themes-l10n-po-1.0.tar.bz2
* Fri Mar 12 2004 - <[email protected]>
- remove "rm -rf" from install stage.
* Fri Feb 06 2004 - <[email protected]>
- Bump to 2.5.4, remove gnome-theme-02-intltool-merge.diff
* Thu Jan 29 2004 - <[email protected]>
- add patch 02 for intltool-merge and dep. on intltool
* Mon Dec 15 2003 - [email protected]
- Bump to 2.5.1
* Tue Oct 20 2003 - [email protected]
- New tarball. Whee.
* Thu Aug 14 2003 - <[email protected]>
- remove *.a, *.la
* Wed Jul 09 2003 - <[email protected]>
- add in sun po files
* Thu Jul 03 2003 - [email protected]
- Actually install the engines
* Tue Jul 01 2003 - [email protected]
- New tarball, bump version, reset release
* Wed May 14 2003 - [email protected]
- initial release