diff options
Diffstat (limited to 'xdg-themes-stackrpms/xdg-themes-stackrpms.spec')
-rw-r--r-- | xdg-themes-stackrpms/xdg-themes-stackrpms.spec | 47 |
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 |