Debian Codegraph @

paper-icon-theme.spec

raw
1 #
2 # Spec file for package paper-icon-theme
3 #
4 # Copyright (c) 2018 Sam Hewitt
5 #
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
14 #
15
16 Name: paper-icon-theme
17 Version: 1.5
18 Release: 0
19 License: CC-BY-SA-4.0
20 Summary: Paper Icon theme
21 Url: https://snwh.org/paper
22 Group: System/GUI/Other
23 Source: %{name}-%{version}.tar.xz
24 BuildRequires: automake
25 BuildRequires: fdupes
26 BuildRequires: hicolor-icon-theme
27 BuildRequires: icon-naming-utils >= 0.8.7
28 BuildRoot: %{_tmppath}/%{name}-%{version}-build
29 BuildArch: noarch
30
31 %description
32 Paper is simple and modern icon theme with material design influences.
33
34 %prep
35 %setup -q
36 find -L . -type l -print -delete
37 chmod +x autogen.sh
38 chmod a-x AUTHORS README.md
39
40 %build
41 ./autogen.sh
42 make %{?_smp_mflags}
43
44 %install
45 make install DESTDIR=%{buildroot} %{?_smp_mflags}
46 rm -f %{buildroot}%{_datadir}/icons/Paper/AUTHORS
47 %fdupes %{buildroot}%{_datadir}/icons/Paper
48
49 %post
50 %icon_theme_cache_post Paper
51
52 %files
53 %defattr(-,root,root)
54 %doc AUTHORS COPYING LICENSE README.md
55 %{_datadir}/icons/Paper
56 %ghost %{_datadir}/icons/Paper/icon-theme.cache