paper-icon-theme/paper-icon-theme.spec

57 lines
1.6 KiB
RPMSpec
Raw Normal View History

2016-05-18 12:43:05 -04:00
#
# Spec file for package paper-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: paper-icon-theme
2017-01-02 16:07:32 -05:00
Version: 1.4
Release: 0
2016-05-18 12:43:05 -04:00
License: CC-BY-SA-4.0
Summary: Paper Icon theme
Url: https://snwh.org/paper
Group: System/GUI/Other
Source: %{name}-%{version}.tar.xz
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: icon-naming-utils >= 0.8.7
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
2015-03-03 14:08:29 -05:00
%description
2016-05-18 12:43:05 -04:00
Paper is simple and modern icon theme with material design influences.
2015-03-03 14:08:29 -05:00
%prep
2016-05-18 12:43:05 -04:00
%setup -q
find -L . -type l -print -delete
2016-05-18 13:24:25 -04:00
chmod +x autogen.sh
2016-05-18 12:43:05 -04:00
chmod a-x AUTHORS README.md
2015-03-03 14:08:29 -05:00
%build
2016-05-18 12:43:05 -04:00
./autogen.sh
make %{?_smp_mflags}
2015-03-03 14:08:29 -05:00
%install
2016-05-18 12:43:05 -04:00
make install DESTDIR=%{buildroot} %{?_smp_mflags}
rm -f %{buildroot}%{_datadir}/icons/Paper/AUTHORS
%fdupes %{buildroot}%{_datadir}/icons/Paper
2015-03-03 14:08:29 -05:00
2016-05-18 12:43:05 -04:00
%post
%icon_theme_cache_post Paper
2016-05-17 14:01:52 -04:00
2016-05-18 12:43:05 -04:00
%files
%defattr(-,root,root)
2016-09-20 11:42:32 -04:00
%doc AUTHORS COPYING LICENSE README.md
2016-05-18 12:43:05 -04:00
%{_datadir}/icons/Paper
%ghost %{_datadir}/icons/Paper/icon-theme.cache