File mate-themes.spec of Package mate-themes
#
# spec file for package mate-themes
#
# Copyright (c) 2016 SUSE LINUX 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/
#
# TODO: Split up packages into individual themes.
# mate-themes is released in different editions for different Gtk3 versions.
# Let's use the Gtk 3.20 version for openSUSE Tumbleweed.
%define _version 3.20
Name: mate-themes
Version: 3.20.11
Release: 0
Summary: Themes for the MATE desktop
License: LGPL-2.1+
Group: System/GUI/Other
Url: http://mate-desktop.org/
Source: http://pub.mate-desktop.org/releases/themes/%{_version}/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: mate-common
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
Requires: gtk2-engine-clearlooks
Requires: gtk2-engine-hcengine
Requires: gtk2-engine-murrine
Obsoletes: %{name}-lang
BuildArch: noarch
%description
Official themes for the MATE desktop
This package contains the official desktop themes of the MATE
desktop environment.
%lang_package
%prep
%setup -q
%build
NOCONFIGURE=1 mate-autogen
%configure \
--enable-all-themes
make %{?_smp_mflags}
%install
%make_install
%icon_theme_cache_create_ghost ContrastHigh
%fdupes %{buildroot}%{_datadir}/
%post
%icon_theme_cache_post ContrastHigh
%postun
%icon_theme_cache_postun ContrastHigh
%files
%defattr(-,root,root)
%doc README COPYING NEWS
# GTK+ themes.
%{_datadir}/themes/BlackMATE/
%{_datadir}/themes/BlueMenta/
%{_datadir}/themes/Blue-Submarine/
%{_datadir}/themes/HighContrast/
%{_datadir}/themes/ContrastHighInverse/
%{_datadir}/themes/Green-Submarine/
%{_datadir}/themes/GreenLaguna/
%{_datadir}/themes/Menta/
%{_datadir}/themes/Shiny/
%{_datadir}/themes/TraditionalOk/
%{_datadir}/themes/TraditionalGreen/
# Icon sets.
%{_datadir}/icons/ContrastHigh/
%ghost %{_datadir}/icons/ContrastHigh/icon-theme.cache
# Cursor themes.
%dir %{_datadir}/icons/mate/
%{_datadir}/icons/mate/cursors/
%changelog