# vim: set ts=4 sw=4 et: # # spec file for package faenza-icon-theme # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 PAscal Bleser # Copyright (c) 2010 Nelson Marques # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: faenza-icon-theme Version: 1.2 Release: 0 Summary: Faenza Icon Theme License: GPL-3.0+ Group: System/GUI/GNOME Url: http://tiheum.deviantart.com/art/Faenza-Icons-173323228 ## http://www.deviantart.com/download/173323228/faenza_icons_by_tiheum-d2v6x24.zip Source: faenza_icons_by_tiheum-d2v6x24.zip Source1: http://gnome-look.org/CONTENT/content-files/132681-Faenza-Mint.tar.gz # script to rebrand and install stuff... Source2: faenza-install BuildRequires: fdupes BuildRequires: python %if 0%{?suse_version} # For all the icon themes macros BuildRequires: hicolor-icon-theme %endif BuildRequires: unzip # Inherits from GNOME icon theme Requires: gnome-icon-theme BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. %package ambiance Summary: Faenza-Ambiance Icon Theme Group: System/GUI/GNOME Requires: %{name}-darkest = %{version} %description ambiance This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. Faenza-Ambiance is suitable with dark panel and toolbars. %package dark Summary: Faenza-Dark Icon Theme Group: System/GUI/GNOME Requires: %{name} = %{version} %description dark This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. %package darker Summary: Faenza-Dark Icon Theme Group: System/GUI/GNOME Requires: %{name}-darkest = %{version} %description darker This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. %package darkest Summary: Faenza-Dark Icon Theme Group: System/GUI/GNOME Requires: %{name}-dark = %{version} %description darkest This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. %package radiance Summary: Faenza-Radiance Icon Theme Group: System/GUI/GNOME Requires: %{name} = %{version} %description radiance This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. Faenza-Radiance is suitable with light panel and controls. %package mint Summary: Faenza-Mint Icon Theme Group: System/GUI/GNOME Requires: %{name}-dark = %{version} %description mint This icon theme for GNOME provides monochromatic icons for panels, toolbars and buttons and colourful squared icons for devices, applications, folder, files and GNOME menu items. %prep %setup -q -c "faenza-%{version}" -a 1 for f in Faenza*.tar.gz; do tar xzf "$f" done %build %install python %{S:2} --install %{buildroot}%{_datadir}/icons/ %fdupes %{buildroot}%{_datadir}/icons find %{buildroot}%{_datadir}/icons -type f -exec chmod 0644 {} \; %if 0%{?suse_version} > 1130 %icon_theme_cache_create_ghost Faenza %icon_theme_cache_create_ghost Faenza-Ambiance %icon_theme_cache_create_ghost Faenza-Dark %icon_theme_cache_create_ghost Faenza-Darker %icon_theme_cache_create_ghost Faenza-Darkest %icon_theme_cache_create_ghost Faenza-Radiance %icon_theme_cache_create_ghost Faenza-Mint %endif %if 0%{?suse_version} > 1130 # No need for %%icon_theme_cache_postun in %%postun since the themes won't exist anymore %post %icon_theme_cache_post Faenza %post ambiance %icon_theme_cache_post Faenza-Ambiance %post dark %icon_theme_cache_post Faenza-Dark %post darker %icon_theme_cache_post Faenza-Darker %post darkest %icon_theme_cache_post Faenza-Darkest %post radiance %icon_theme_cache_post Faenza-Radiance %post mint %icon_theme_cache_post Faenza-Mint %endif %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %{_datadir}/icons/Faenza %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza/icon-theme.cache %endif %files ambiance %defattr(-,root,root) %{_datadir}/icons/Faenza-Ambiance %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza-Ambiance/icon-theme.cache %endif %files dark %defattr(-,root,root) %{_datadir}/icons/Faenza-Dark %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza-Dark/icon-theme.cache %endif %files darker %defattr(-,root,root) %{_datadir}/icons/Faenza-Darker %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza-Darker/icon-theme.cache %endif %files darkest %defattr(-,root,root) %{_datadir}/icons/Faenza-Darkest %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza-Darkest/icon-theme.cache %endif %files radiance %defattr(-,root,root) %{_datadir}/icons/Faenza-Radiance %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza-Radiance/icon-theme.cache %endif %files mint %defattr(-,root,root) %{_datadir}/icons/Faenza-Mint %if 0%{?suse_version} > 1130 %ghost %{_datadir}/icons/Faenza-Mint/icon-theme.cache %endif %changelog