%define gtkbinaryver %(if $([ -x %{_bindir}/pkg-config ] && pkg-config --exists gtk+-2.0); then pkg-config --variable=gtk_binary_version gtk+-2.0; else echo 0; fi) %define clearlooks 0.6.2 Summary: Themes for GNOME Name: gnome-themes Version: 2.20.0 Release: %mkrel 1 License: GPL Group: Graphical desktop/GNOME URL: http://www.gnome.org Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 Source1: http://prdownloads.sourceforge.net/clearlooks/clearlooks-%clearlooks.tar.bz2 # gw remove warnings about unsupported options Patch: clearlooks-0.6.2-clearlooks-gtkrc-options.patch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: gnome-icon-theme BuildRequires: gtk-engines2 >= 2.9.0 BuildRequires: libgnomeui2-devel BuildRequires: libglade2.0-devel BuildRequires: icon-naming-utils >= 0.8.0 BuildRequires: perl-XML-Parser Conflicts: gtk-engines2 < 2.6 Conflicts: gnome-themes-extras <= 0.8.1-4mdk Requires: gtk-engines2 >= 2.6 BuildArch: noarch %description This packages contains Themes for GNOME, such as : - Clearlooks - High Contrast - Large Print - Low Constrat %prep %setup -q -a 1 %patch %build ./configure --prefix=%_prefix --libdir=%_libdir --enable-all-themes cd clearlooks-%clearlooks ./configure --prefix=%_prefix --libdir=%_libdir %make %install rm -rf $RPM_BUILD_ROOT cd clearlooks-%clearlooks/themes %makeinstall_std cd ../.. %makeinstall_std GTK_BINARY_VERSION=%gtkbinaryver #remove unpackaged files (not needed, since l10n is already in generated files) rm -rf $RPM_BUILD_ROOT%{_datadir}/locale # this is in gtk-engines2 rm -rf %buildroot%_datadir/themes/Clearlooks/gtk-2.0 for dir in %buildroot%{_datadir}/icons/*; do touch $dir/icon-theme.cache done %clean rm -rf $RPM_BUILD_ROOT %post %update_icon_cache Clearlooks %update_icon_cache HighContrastInverse %update_icon_cache LargePrint %update_icon_cache Mist %update_icon_cache Crux %update_icon_cache HighContrastLargePrint %update_icon_cache LowContrast %update_icon_cache HighContrastLargePrintInverse %update_icon_cache LowContrastLargePrint %update_icon_cache HighContrast %update_icon_cache HighContrast-SVG %postun %clean_icon_cache Clearlooks %clean_icon_cache HighContrastInverse %clean_icon_cache LargePrint %clean_icon_cache Mist %clean_icon_cache Crux %clean_icon_cache HighContrastLargePrint %clean_icon_cache LowContrast %clean_icon_cache HighContrastLargePrintInverse %clean_icon_cache LowContrastLargePrint %clean_icon_cache HighContrast %clean_icon_cache HighContrast-SVG %files %defattr(-,root,root,-) %doc README NEWS AUTHORS %{_datadir}/themes/* %dir %{_datadir}/icons/* %{_datadir}/icons/*/??x?? %{_datadir}/icons/*/scalable %{_datadir}/icons/Clearlooks/index.theme %{_datadir}/icons/Crux/index.theme %{_datadir}/icons/HighContrast-SVG/index.theme %{_datadir}/icons/HighContrast/index.theme %{_datadir}/icons/HighContrastInverse/index.theme %{_datadir}/icons/HighContrastLargePrint/index.theme %{_datadir}/icons/HighContrastLargePrintInverse/index.theme %{_datadir}/icons/LargePrint/index.theme %{_datadir}/icons/LowContrast/index.theme %{_datadir}/icons/LowContrastLargePrint/index.theme %{_datadir}/icons/Mist/index.theme %ghost %{_datadir}/icons/*/icon-theme.cache %changelog * Wed Sep 19 2007 Götz Waschk <waschk@mandriva.org> 2.20.0-1mdv2008.0 + Revision: 90942 - new version * Mon Sep 03 2007 Götz Waschk <waschk@mandriva.org> 2.19.92-1mdv2008.0 + Revision: 78637 - new version * Tue Aug 28 2007 Götz Waschk <waschk@mandriva.org> 2.19.91-3mdv2008.0 + Revision: 72897 - remove warnings from old clearlooks themes * Tue Aug 28 2007 Götz Waschk <waschk@mandriva.org> 2.19.91-2mdv2008.0 + Revision: 72730 - don't overwrite Clearlooks theme file with old version * Tue Aug 28 2007 Götz Waschk <waschk@mandriva.org> 2.19.91-1mdv2008.0 + Revision: 72706 - new version * Tue Aug 14 2007 Götz Waschk <waschk@mandriva.org> 2.19.90-1mdv2008.0 + Revision: 63024 - new version * Mon Jul 30 2007 Götz Waschk <waschk@mandriva.org> 2.19.6-1mdv2008.0 + Revision: 56532 - new version * Mon Jul 09 2007 Götz Waschk <waschk@mandriva.org> 2.19.5-1mdv2008.0 + Revision: 50625 - new version - new version * Tue Apr 17 2007 Götz Waschk <waschk@mandriva.org> 2.18.1-1mdv2008.0 + Revision: 14037 - new version * Tue Mar 13 2007 Götz Waschk <waschk@mandriva.org> 2.18.0-1mdv2007.1 + Revision: 142142 - new version + Thierry Vignaud <tvignaud@mandriva.com> - no need to package big ChangeLog when NEWS is already there * Tue Feb 27 2007 Götz Waschk <waschk@mandriva.org> 2.17.92-1mdv2007.1 + Revision: 126211 - new version * Mon Feb 12 2007 Götz Waschk <waschk@mandriva.org> 2.17.91-1mdv2007.1 + Revision: 120016 - new version * Mon Jan 22 2007 Götz Waschk <waschk@mandriva.org> 2.17.90-1mdv2007.1 + Revision: 111948 - new version * Tue Dec 19 2006 Götz Waschk <waschk@mandriva.org> 2.17.4-1mdv2007.1 + Revision: 99081 - new version - bump deps * Tue Dec 05 2006 Götz Waschk <waschk@mandriva.org> 2.17.3-1mdv2007.1 + Revision: 90724 - new version * Mon Nov 27 2006 Götz Waschk <waschk@mandriva.org> 2.17.2-1mdv2007.1 + Revision: 87625 - new version * Wed Nov 22 2006 Götz Waschk <waschk@mandriva.org> 2.16.2-1mdv2007.1 + Revision: 86298 - new version * Tue Nov 07 2006 Götz Waschk <waschk@mandriva.org> 2.16.1.1-3mdv2007.0 + Revision: 77288 - reupload missing package - fix gtkbinaryver macro - mkrel - Import gnome-themes * Sat Oct 07 2006 Götz Waschk <waschk@mandriva.org> 2.16.1.1-1 - New version 2.16.1.1 * Wed Oct 04 2006 Götz Waschk <waschk@mandriva.org> 2.16.1-1 - New version 2.16.1 * Wed Sep 06 2006 Götz Waschk <waschk@mandriva.org> 2.16.0-1mdv2007.0 - New version 2.16.0 * Sat Sep 02 2006 Götz Waschk <waschk@mandriva.org> 2.15.92-1mdv2007.0 - rebuild for new clean_icon_cache macro * Thu Aug 31 2006 Götz Waschk <waschk@mandriva.org> 2.15.92-2mdv2007.0 - fix uninstallation * Tue Aug 22 2006 Frederic Crozat <fcrozat@mandriva.com> 2.15.92-1mdv2007.0 - Release 2.15.92 * Wed Aug 09 2006 Götz Waschk <waschk@mandriva.org> 2.15.91.1-1mdv2007.0 - New release 2.15.91.1 * Wed Aug 09 2006 Götz Waschk <waschk@mandriva.org> 2.15.91-1mdv2007.0 - update file list - fix buildrequires - New release 2.15.91 * Fri Jul 28 2006 Götz Waschk <waschk@mandriva.org> 2.15.90-2mdv2007.0 - fix uninstallation * Wed Jul 26 2006 Götz Waschk <waschk@mandriva.org> 2.15.90-1 - New release 2.15.90 * Tue Jul 11 2006 Götz Waschk <waschk@mandriva.org> 2.15.4-1mdv2007.0 - New release 2.15.4 * Wed Jun 14 2006 Götz Waschk <waschk@mandriva.org> 2.15.3-1 - New release 2.15.3 * Fri Jun 02 2006 Frederic Crozat <fcrozat@mandriva.com> 2.15.2-1mdv2007.0 - Release 2.15.2 * Tue May 30 2006 Götz Waschk <waschk@mandriva.org> 2.14.2-1mdv2007.0 - New release 2.14.2 * Thu Apr 13 2006 Frederic Crozat <fcrozat@mandriva.com> 2.14.0-1mdk - Release 2.14.0 * Mon Feb 06 2006 Götz Waschk <waschk@mandriva.org> 2.12.3-1mdk - New release 2.12.3 - use mkrel * Sun Oct 09 2005 Götz Waschk <waschk@mandriva.org> 2.12.1-3mdk - don't delete the metacity theme * Thu Oct 06 2005 Götz Waschk <waschk@mandriva.org> 2.12.1-2mdk - add clearlooks alternative themes and icons * Thu Oct 06 2005 Frederic Crozat <fcrozat@mandriva.com> 2.12.1-1mdk - Release 2.12.1 * Thu Jun 23 2005 Götz Waschk <waschk@mandriva.org> 2.10.2-1mdk - New release 2.10.2 * Tue Apr 19 2005 Frederic Crozat <fcrozat@mandriva.com> 2.10.1-1mdk - Release 2.10.1, based on Götz Waschk package * Mon Dec 27 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.2-2mdk - this is now noarch - remove files that were moved to gtk-engines2 * Sat Dec 04 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.8.2-1mdk - New release 2.8.2 * Wed Oct 20 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.8.0-1mdk - New release 2.8.0 * Fri Jun 25 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.3-1mdk - reenable libtoolize - New release 2.6.3 * Wed Jun 09 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.2-1mdk - New release 2.6.2 * Thu Apr 22 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.1-2mdk - Fix BuildRequires * Wed Apr 21 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.1-1mdk - New release 2.6.1 * Tue Apr 06 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.0-1mdk - Release 2.6.0 (with Götz Waschk help) * Tue Apr 06 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.4.1-2mdk - rebuild for gtk+-2.4 (because of theme engines path)