File elementary-xfce-icon-theme.spec of Package elementary-xfce-icon-theme

# spec file for package elementary-xfce-icon-theme
# Copyright (c) 2019 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

%define name0 elementary-xfce
Name:           elementary-xfce-icon-theme
Version:        0.13.1~git20.f4968df2
Release:        0
Summary:        Icon theme inspired by Tango and Elementary
License:        GPL-2.0-only
Group:          System/GUI/Other
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  gtk3-tools
BuildRequires:  hicolor-icon-theme
Requires:       adwaita-icon-theme
Requires:       gtk3-tools
Requires:       hicolor-icon-theme
BuildArch:      noarch

This is an icon-theme maintained with Xfce in mind,
but it supports other desktops like Gnome3 as well.
It's a fork of the upstream elementary-project,
which took place because the team decided to
drop a lot of desktop-specific symlinks.

# cleanup unecessary doc files
rm %{name0}-darker/{CONTRIBUTORS,AUTHORS,}
rm %{name0}-dark/{CONTRIBUTORS,AUTHORS,}

# Nothing to build

mkdir -p  %{buildroot}%{_datadir}/icons
cp -a %{name0}  %{buildroot}%{_datadir}/icons
cp -a %{name0}-dark  %{buildroot}%{_datadir}/icons
cp -a %{name0}-darker  %{buildroot}%{_datadir}/icons
chmod 0644  %{buildroot}%{_datadir}/icons/%{name0}/index.theme
chmod 0644  %{buildroot}%{_datadir}/icons/%{name0}-dark/index.theme
chmod 0644  %{buildroot}%{_datadir}/icons/%{name0}-darker/index.theme

# fix duplicate files
%fdupes -s %{buildroot}/%{_datadir}/icons/

%license LICENSE

openSUSE Build Service is sponsored by