summaryrefslogtreecommitdiff
path: root/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
diff options
context:
space:
mode:
Diffstat (limited to 'xdg-themes-stackrpms/xdg-themes-stackrpms.spec')
-rw-r--r--xdg-themes-stackrpms/xdg-themes-stackrpms.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/xdg-themes-stackrpms/xdg-themes-stackrpms.spec b/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
index d014dbe..e8ac514 100644
--- a/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
+++ b/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
@@ -1,4 +1,5 @@
%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
@@ -6,7 +7,8 @@ Release: 1%{?dist}
License: CC-BY-SA 4.0
Url: https://gitlab.com/bgstack15/
BuildArch: noarch
-Source0: %{url}/%{name}/-/archive/master/%{name}-master.tar.gz
+Source0: README.md
+Source1: %{url}/%{name}/-/archive/master/%{name}-master.tar.gz
%if 0%{?fedora}
Recommends: numix-icon-theme-circle
%endif
@@ -15,14 +17,16 @@ Recommends: numix-icon-theme-circle
My custom themes.
%prep
-%setup -qn %{name}-master
+%{__tar} -zxf %{SOURCE1}
%build
-:
+echo "no build action required"
%install
-mkdir -p %{buildroot}%{_datadir}/themes
+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
:
@@ -32,5 +36,6 @@ cp -pr src/%{_datadir}/themes/* %{buildroot}%{_datadir}/themes/
%{_datadir}/themes/bgstack15-red
%changelog
-* Tue Feb 11 2020 Ben Stack <bgstack15@gmail.com> - 0.0.1
+* Wed Feb 12 2020 Ben Stack <bgstack15@gmail.com> - 0.0.1
- Initial rpm release
+- use source1 trick for copr
bgstack15