%define majver %(echo %version | cut -d. -f1-2) Name: gnome-themes Version: 2.32.1 Release: 1mamba Summary: Themes collection for GNOME Desktop Group: Graphical Desktop/Look 'n' feel/Themes Vendor: openmamba Distribution: openmamba Packager: gil URL: http://www.gnome.org Source: http://ftp.acc.umu.se/pub/GNOME/sources/gnome-themes/%{majver}/gnome-themes-%{version}.tar.gz License: LGPL BuildRequires: gnome-icon-theme BuildRequires: libgtk-engines-devel BuildRequires: icon-naming-utils Requires: gnome-icon-theme Requires: libgtk-engines Requires: gnome-backgrounds BuildRoot: %{_tmppath}/%{name}-%{version}-root #gnome-themes-2.32.0: # Installation prefix: /usr # Enable placeholders: no # Enable legacy icons: yes # Enable all themes: no # Enable test themes: no # LargePrint cursor theme: whiteglass # HC LargePrint cursor theme: redglass # HCI LargePrint cursor theme: whiteglass %description The gnome-themes package contains a collection of desktop themes for GNOME. These themes can change the appearance of application widgets, icons, window borders, cursors, etc. %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall # Clearlooks gtk theme is in libgtk-engines rm -rf %{buildroot}%{_datadir}/themes/Clearlooks/gtk-2.0 rm -f %{buildroot}%{_datadir}/themes/ThinIce/README.html rm -f %{buildroot}%{_datadir}/themes/ThinIce/ICON.png rm -rf %{buildroot}%{_datadir}/themes/ClearlooksTest/ # legacy symlinks for size in 16x16 22x22 24x24 32x32 48x48 256x256; do for context in actions apps devices places status; do (cd %{buildroot}%{_datadir}/icons/Mist/$size /usr/libexec/icon-name-mapping -c $context) done done for dir in %{buildroot}%{_datadir}/icons/*; do touch $dir/icon-theme.cache done %find_lang %{name} cat %{name}.lang >> files.txt %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post for icon_theme in \ Clearlooks ClearlooksClassic Crux Mist Glider Glossy \ HighContrast HighContrastInverse HighContrastLargePrint HighContrastLargePrintInverse \ Inverted LargePrint LowContrast LowContrastLargePrint Simple ; do touch --no-create %{_datadir}/icons/${icon_theme} &> /dev/null || : done %postun if [ $1 -eq 0 ]; then for icon_theme in \ Crux HighContrast HighContrastInverse HighContrastLargePrint \ HighContrastLargePrintInverse HighContrast-SVGLargePrint Mist \ ; do touch --no-create %{_datadir}/icons/${icon_theme} &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/${icon_theme} &> /dev/null || : done fi %posttrans for icon_theme in \ Crux HighContrast HighContrastInverse HighContrastLargePrint \ HighContrastLargePrintInverse HighContrast-SVGLargePrint Mist \ ; do touch --no-create %{_datadir}/icons/${icon_theme} &> /dev/null || : gtk-update-icon-cache %{_datadir}/icons/${icon_theme} &> /dev/null || : done %files -f %{name}.lang %defattr(-,root,root) %{_datadir}/icons/Crux %{_datadir}/icons/HighContrast %{_datadir}/icons/HighContrastInverse %{_datadir}/icons/HighContrastLargePrint %{_datadir}/icons/HighContrastLargePrintInverse %{_datadir}/icons/HighContrast-SVG %{_datadir}/icons/LargePrint %{_datadir}/icons/Mist %ghost %{_datadir}/icons/*/icon-theme.cache %{_datadir}/themes/Glider %{_datadir}/themes/Glossy %{_datadir}/themes/ClearlooksClassic %{_datadir}/themes/HighContrast %{_datadir}/themes/HighContrastInverse %{_datadir}/themes/HighContrastLargePrint %{_datadir}/themes/HighContrastLargePrintInverse %{_datadir}/themes/Inverted %{_datadir}/themes/LargePrint %{_datadir}/themes/LowContrast %{_datadir}/themes/LowContrastLargePrint %{_datadir}/themes/Simple # gtk theme is in libgtk-engines %{_datadir}/themes/Clearlooks/* %{_datadir}/themes/Crux/* %{_datadir}/themes/Mist/* %doc AUTHORS COPYING ChangeLog NEWS README %changelog * Sun May 22 2011 Silvan Calarco 2.32.1-1mamba - update to 2.32.1 - require gnome-backgrounds * Fri Oct 15 2010 gil 2.32.0-1mamba - package created by autospec