Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 608919d7e0083b1887451f036f6b8dd2 > files > 3

gnome-themes-extras-0.6-1mdk.src.rpm

%define __libtoolize true
Summary: Additional themes collection for GNOME
Name: gnome-themes-extras
Version: 0.6
Release: 1mdk
License: GPL
Group: Graphical desktop/GNOME
Source: http://ftp.gnome.org/pub/GNOME/sources/%name/0.1/%{name}-%{version}.tar.bz2
Patch: gnome-themes-extras-0.1-gorilla.patch.bz2
URL: http://www.gnome.org/~uraeus/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires:  libgtk+2.0-devel
Requires: gtk-engines2
# for the svg theme engine
Requires: librsvg
# for the industrial theme engine
Requires: ximian-artwork

%description
Additional themes collection for GNOME: this package contains the
BlueSphere, Gorilla, Lush, Nuvola and  Wasp themes for GNOME2.

%prep
%setup -q
%patch -p1 

%build
%configure2_5x
%make

%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall

%find_lang gnome-themes-extra

### Remove files not to be installed
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.2.0/engines/libindustrial.so
rm -rf $RPM_BUILD_ROOT%_datadir/themes/Industrial
#gw please check for every new version if these are still broken
#fix broken symlinks
rm -f %buildroot%_datadir/icons/Nuvola/scalable/mimetypes/gnome-mime-application-x-gnumeric.svg
rm -f %buildroot%_datadir/icons/Amaranth/scalable/apps/xpdf.svg
#add symlinks for missing icons
ln -s gnome-audio2.svg %buildroot%_datadir/icons/Wasp/scalable/apps/gnome-audio.svg
ln -s ../stock/stock_lockscreen.svg %buildroot%_datadir/icons/Wasp/scalable/apps/gnome-lockscreen.svg
ln -s ../stock/stock_logout.svg %buildroot%_datadir/icons/Wasp/scalable/apps/gnome-logout.png
%clean
rm -rf ${RPM_BUILD_ROOT}

%files -f gnome-themes-extra.lang
%defattr(-, root, root)
%{_libdir}/gtk-2.0/2.2.0/engines/*.so*
%{_datadir}/icons/*
%{_datadir}/themes/*
%doc AUTHORS MAINTAINERS ChangeLog COPYING README license_dsg license_lgpl license_gpl TODO

%changelog
* Mon Jan 12 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6-1mdk
- new version

* Fri Dec 12 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5-2mdk
- fix missing icons in the Wasp theme

* Sat Dec  6 2003 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk
- fix more broken symlinks
- new version

* Wed Oct  1 2003 Götz Waschk <waschk@linux-mandrake.com> 0.4-1mdk
- clean some more broken symlinks
- remove Wasp patch 
- don't libtoolize
- new version

* Tue Sep 16 2003 Götz Waschk <waschk@linux-mandrake.com> 0.3-3mdk
- fix Wasp icon theme

* Fri Aug 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.3-2mdk
- remove industrial theme

* Thu Aug 14 2003 Götz Waschk <waschk@linux-mandrake.com> 0.3-1mdk
- new version

* Tue Jul 22 2003 Götz Waschk <waschk@linux-mandrake.com> 0.2-2mdk
- fix find_lang call

* Mon Jul 14 2003 Götz Waschk <waschk@linux-mandrake.com> 0.2-1mdk
- new version

* Fri Jun 13 2003 Götz Waschk <waschk@linux-mandrake.com> 0.1-2mdk
- add an URL
- add some deps
- patch Gorilla gtk-2.0 theme

* Thu Jun 12 2003 Götz Waschk <waschk@linux-mandrake.com> 0.1-1mdk
- initial mandrake package

* Thu May 01 2003 Yanko Kaneti <yaneti@declera.com>
- use the GTK_BINARY_VERSION autoconf variable

* Thu May 01 2003 Christian Schaller <Uraeus@gnome.org>
- Added buildreqs
- Added obsoletes Nuvola

* Wed Apr 02 2003 Yanko Kaneti <yaneti@declera.com>
- First spec