blob: 34c907047ee8103b2030dbcfe0238f4cdf0d383b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
%define debug_package %{nil}
%global tarballdir xdg-themes-stackrpms-master
Name: xdg-themes-stackrpms
Summary: stackrpms themes for xdg-compliant desktop environments
Version: 0.0.2
Release: 1%{?dist}
License: CC-BY-SA 4.0
Url: https://gitlab.com/bgstack15/
BuildArch: noarch
Source0: README.md
Source1: %{url}/%{name}/-/archive/master/%{name}-master.tar.gz
%if 0%{?fedora}
Recommends: numix-icon-theme-circle
%endif
%description
My custom themes.
%prep
%{__tar} -zxf %{SOURCE1}
%build
echo "no build action required"
%install
cd %{tarballdir}
%{__install} -m0755 -d %{buildroot}%{_datadir}/themes
cp -pr src/%{_datadir}/themes/* %{buildroot}%{_datadir}/themes/
%if 0%{?fedora}
%{__install} -m0755 -d %{buildroot}%{_docdir}/%{name}
cp -p %{SOURCE0} %{buildroot}%{_docdir}/%{name}/
%endif
%check
:
%files
%if 0%{?fedora}
%doc README.md
%endif
%{_datadir}/themes/bgstack15-red
%changelog
* Mon Mar 22 2021 B. Stack <bgstack15@gmail.com> - 0.0.2
- Version bump
* Wed Feb 12 2020 B. Stack <bgstack15@gmail.com> - 0.0.1
- Initial rpm release
- use source1 trick for copr
|