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

%global numix_theme Numix-Circle
Name:           numix-icon-theme-circle
Version:        20.09.19
Release:        0
Summary:        %{numix_theme} icon theme
License:        GPL-3.0-only
Group:          System/X11/Icons
URL:  {name}
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  hicolor-icon-theme
BuildRequires:  numix-icon-theme
Requires:       numix-icon-theme
BuildArch:      noarch

%{numix_theme} is an icon theme from the Numix project -

%setup -q


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

%icon_theme_cache_post %{numix_theme}
%icon_theme_cache_post %{numix_theme}-Light

%license LICENSE
%ghost %{_datadir}/icons/%{numix_theme}/icon-theme.cache
%ghost %{_datadir}/icons/%{numix_theme}-Light/icon-theme.cache

openSUSE Build Service is sponsored by