forked from pool/moka-icon-theme
211272d1ca
from the elementaryOS UI designers, but can be used on any desktop OBS-URL: https://build.opensuse.org/request/show/401589 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/moka-icon-theme?expand=0&rev=1
57 lines
1.7 KiB
RPMSpec
57 lines
1.7 KiB
RPMSpec
#
|
|
# Spec file for package moka-icon-theme
|
|
#
|
|
# Copyright (c) 2016 Sam Hewitt
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
Name: moka-icon-theme
|
|
Version: 5.3.1
|
|
Release: 0
|
|
License: CC-BY-SA-4.0 and GPL-3.0+
|
|
Summary: Moka Icon theme
|
|
Url: https://snwh.org/moka
|
|
Group: System/GUI/Other
|
|
Source: https://github.com/moka-project/moka-icon-theme/archive/v%{version}.tar.gz
|
|
BuildRequires: automake
|
|
BuildRequires: fdupes
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: icon-naming-utils >= 0.8.7
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Moka is a simple and modern icon theme with Material Design influences.
|
|
|
|
%prep
|
|
%setup -q
|
|
find -L . -type l -print -delete
|
|
chmod +x autogen.sh
|
|
chmod a-x AUTHORS README.md
|
|
|
|
%build
|
|
./autogen.sh
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
|
rm -f %{buildroot}%{_datadir}/icons/Moka/AUTHORS
|
|
%fdupes %{buildroot}%{_datadir}/icons/Moka
|
|
|
|
%post
|
|
%icon_theme_cache_post Moka
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING LICENSE_* README.md
|
|
%{_datadir}/icons/Moka
|
|
%ghost %{_datadir}/icons/Moka/icon-theme.cache
|