File papirus-icon-theme.spec of Package papirus-icon-theme-kamarada
#
# spec file for package papirus-icon-theme-kamarada
#
# 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/
#
# https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_hosting_services
%define commit cda741d3a5a0f0dc2cf5a2149ac22aa00d374c08
%define shortcommit cda741d3
Name: papirus-icon-theme-kamarada
# https://en.opensuse.org/openSUSE:Package_versioning_guidelines#SCM_snapshots
# git describe --tags
Version: 20221201+git8.gcda741d3a5
Release: 0
Summary: Papirus icon theme for Linux - Kamarada fork
License: GPL-3.0-only
Group: System/GUI/Other
URL: https://gitlab.com/kamarada/papirus-icon-theme
Source: https://gitlab.com/kamarada/papirus-icon-theme/-/archive/%{commit}/papirus-icon-theme-%{shortcommit}.tar.gz
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: xmlstarlet
Requires(post): gtk3-tools
BuildArch: noarch
Provides: papirus-icon-theme = %version
Obsoletes: papirus-icon-theme < %version
Conflicts: papirus-icon-theme
Provides: papirus-kamarada-icon-theme = %version
Obsoletes: papirus-kamarada-icon-theme < %version
Conflicts: papirus-kamarada-icon-theme
Provides: papirus-opensuse-icon-theme = %version
Obsoletes: papirus-opensuse-icon-theme < %version
Conflicts: papirus-opensuse-icon-theme
Provides: papirus-suse-icon-theme = %version
Obsoletes: papirus-suse-icon-theme < %version
Conflicts: papirus-suse-icon-theme
Suggests: papirus-folders-kamarada
%description
Papirus is an SVG icon theme, based on Paper with a few extras like
hardcode-tray support, kde-color-scheme support, libreoffice icon theme, filezilla theme, smplayer themes ...)
and other modifications. The theme is available for GTK and KDE.
This package contains the following icon themes:
ePapirus
ePapirus-Dark
Papirus
Papirus-Dark
Papirus-Light
And the Kamarada fork, which adds the following colors: kamarada, opensuse and suse.
%prep
%autosetup -n papirus-icon-theme-%{commit}
%build
%check
make %{?_smp_mflags} test-all
%install
%make_install
%fdupes %{buildroot}
#remove duplicate LICENSE files
find %{buildroot}%{_datadir}/icons -name LICENSE -delete
%files
%doc README.md
%license LICENSE
%{_datadir}/icons/ePapirus
%{_datadir}/icons/ePapirus-Dark
%{_datadir}/icons/Papirus
%{_datadir}/icons/Papirus-Light
%{_datadir}/icons/Papirus-Dark
%changelog