File mate-icon-theme-faenza.spec of Package mate-icon-theme-faenza

#
# spec file for mate-icon-theme-faenza 
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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:           mate-icon-theme-faenza
Version:        1.8.0
Release:        0
License:        GPL-2.0
Summary:        MATE Desktop faenza compilation theme
Url:            http://mate-desktop.org
Group:          System/GUI/Other
Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
Source1:        matefaenza-install
BuildArch:      noarch

BuildRequires:  hicolor-icon-theme
BuildRequires:  fdupes
BuildRequires:  python

%description
This icon theme uses Faenza and Faience icon themes by ~Tiheum and some
icons customized for MATE by Rowen Stipe. Also, there are some icons
from Mint-X-F and Faenza-Fresh icon packs.

%package dark
Summary:        MATE Desktop faenza compilation theme, dark variant
Group:          System/GUI/Other
BuildArch:      noarch
Requires:       %{name} = %{version}-%{release}

%description dark
This icon theme uses Faenza and Faience icon themes by ~Tiheum and some
icons customized for MATE by Rowen Stipe. Also, there are some icons
from Mint-X-F and Faenza-Fresh icon packs.

%package gray
Summary:        MATE Desktop faenza compilation theme, grey variant
Group:          System/GUI/Other
BuildArch:      noarch
Requires:       %{name} = %{version}-%{release}

%description gray
This icon theme uses Faenza and Faience icon themes by ~Tiheum and some
icons customized for MATE by Rowen Stipe. Also, there are some icons
from Mint-X-F and Faenza-Fresh icon packs.

%prep
%setup -q

%build

%install
python %{S:1} --install    \
   --dist=opensuse         \
   --rebrand  %{buildroot}%{_datadir}/icons/
%fdupes %{buildroot}%{_datadir}/icons/matefaenza
%fdupes %{buildroot}%{_datadir}/icons/matefaenzadark
%fdupes %{buildroot}%{_datadir}/icons/matefaenzagray
%icon_theme_cache_create_ghost matefaenza
%icon_theme_cache_create_ghost matefaenzadark
%icon_theme_cache_create_ghost matefaenzagray

%post
%icon_theme_cache_post matefaenza

%post dark
%icon_theme_cache_post matefaenzadark

%post gray
%icon_theme_cache_post matefaenzagray

%postun
%icon_theme_cache_postun matefaenza

%postun dark
%icon_theme_cache_postun matefaenzadark

%postun gray
%icon_theme_cache_postun matefaenzagray

%files
%defattr(-,root,root,-)
%doc ChangeLog README COPYING
%{_datadir}/icons/matefaenza/
%ghost %{_datadir}/icons/matefaenza/icon-theme.cache

%files dark
%defattr(-,root,root,-)
%{_datadir}/icons/matefaenzadark/
%ghost %{_datadir}/icons/matefaenzadark/icon-theme.cache

%files gray
%defattr(-,root,root,-)
%{_datadir}/icons/matefaenzagray/
%ghost %{_datadir}/icons/matefaenzagray/icon-theme.cache

%changelog
openSUSE Build Service is sponsored by