summaryrefslogtreecommitdiff
path: root/xdg-themes-stackrpms
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-02-12 23:37:33 +0000
committerB Stack <bgstack15@gmail.com>2020-02-12 23:37:33 +0000
commitae7836f63a2285978e04edda16f241484e9d6d20 (patch)
tree9fe1cc529a609736668cc3e0cbf75f1e1b0b6c2a /xdg-themes-stackrpms
parentMerge branch 'updates' into 'master' (diff)
parentmake %docs only for fedora (diff)
downloadstackrpms-ae7836f63a2285978e04edda16f241484e9d6d20.tar.gz
stackrpms-ae7836f63a2285978e04edda16f241484e9d6d20.tar.bz2
stackrpms-ae7836f63a2285978e04edda16f241484e9d6d20.zip
Merge branch 'updates' into 'master'
xdg-themes rpm See merge request bgstack15/stackrpms!123
Diffstat (limited to 'xdg-themes-stackrpms')
-rw-r--r--xdg-themes-stackrpms/xdg-themes-stackrpms.spec47
1 files changed, 47 insertions, 0 deletions
diff --git a/xdg-themes-stackrpms/xdg-themes-stackrpms.spec b/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
new file mode 100644
index 0000000..05c0356
--- /dev/null
+++ b/xdg-themes-stackrpms/xdg-themes-stackrpms.spec
@@ -0,0 +1,47 @@
+%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
+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
+* Wed Feb 12 2020 Ben Stack <bgstack15@gmail.com> - 0.0.1
+- Initial rpm release
+- use source1 trick for copr
bgstack15