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

#
# spec file for package openSUSE-xfce-icon-theme
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


%define theme_name openSUSE-Xfce
Name:           openSUSE-xfce-icon-theme
Version:        4.16.1+git5.e82fd05
Release:        0
Summary:        openSUSE Xfce Default Icon Theme
License:        GPL-2.0-only
URL:            https://github.com/openSUSE/openSUSE-xfce-icon-theme
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  adwaita-icon-theme
Requires:       adwaita-icon-theme
BuildArch:      noarch

%description
Add-on to Adwaita icon theme for Xfce. Inherits from Adwaita

%prep
%autosetup

%build
# Nothing to build

%install
mkdir -p  %{buildroot}%{_datadir}/icons/%{theme_name}
cp -a ./ %{buildroot}%{_datadir}/icons/%{theme_name}
rm %{buildroot}%{_datadir}/icons/%{theme_name}/{COPYING,README.md}

%icon_theme_cache_create_ghost openSUSE-Xfce

%post -n openSUSE-xfce-icon-theme
%icon_theme_cache_post openSUSE-Xfce

%files
%license COPYING
%doc README.md
%dir %{_datadir}/icons/%{theme_name}
%{_datadir}/icons/%{theme_name}/*
%ghost %{_datadir}/icons/%{theme_name}/icon-theme.cache

%changelog
openSUSE Build Service is sponsored by