File numix-icon-theme-circle.spec of Package numix-icon-theme-circle
#
# spec file for package numix-icon-theme-circle
#
# Copyright (c) 2020 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/
#
%global numix_theme Numix-Circle
Name: numix-icon-theme-circle
Version: 21.05.31
Release: 0
Summary: %{numix_theme} icon theme
License: GPL-3.0-only
Group: System/X11/Icons
URL: https://github.com/numixproject/%{name}
Source0: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: numix-icon-theme
Requires: numix-icon-theme
BuildArch: noarch
%description
%{numix_theme} is an icon theme from the Numix project - http://numixproject.org.
%prep
%setup -q
%build
%install
install -d -m755 %{buildroot}%{_datadir}/icons/
cp -pr %{numix_theme}{,-Light} %{buildroot}%{_datadir}/icons/
find -L %{buildroot}%{_datadir}/icons -type l -print -delete
find %{buildroot}%{_datadir}/icons -type f -print -exec chmod 0644 {} \;
%fdupes -s %{buildroot}
%icon_theme_cache_create_ghost %{numix_theme}
%icon_theme_cache_create_ghost %{numix_theme}-Light
%post
%icon_theme_cache_post %{numix_theme}
%icon_theme_cache_post %{numix_theme}-Light
%files
%license LICENSE
%doc README.md
%ghost %{_datadir}/icons/%{numix_theme}/icon-theme.cache
%ghost %{_datadir}/icons/%{numix_theme}-Light/icon-theme.cache
%{_datadir}/icons/%{numix_theme}
%{_datadir}/icons/%{numix_theme}-Light
%changelog