summaryrefslogtreecommitdiff
path: root/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
blob: e8ac5147883530e2918ab7fa869d31a42b7cd3cd (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
%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.1
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 %{buildroot}%{_docdir}/%{name}
cp -pr src/%{_datadir}/themes/* %{buildroot}%{_datadir}/themes/
cp -p %{SOURCE0} %{buildroot}%{_docdir}/%{name}/

%check
:

%files
%doc README.md
%{_datadir}/themes/bgstack15-red

%changelog
* Wed Feb 12 2020 Ben Stack <bgstack15@gmail.com> - 0.0.1
- Initial rpm release
- use source1 trick for copr
bgstack15