diff --git a/README.md b/README.md index b2f3318..8ee74ac 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # netsrpms +Build srpms that download sources from network. + diff --git a/netsrpms.spec b/netsrpms.spec new file mode 100644 index 0000000..67a5491 --- /dev/null +++ b/netsrpms.spec @@ -0,0 +1,68 @@ +Name: netsrpms +Version: 1.1 +Release: 1mamba +Summary: Build srpms that download sources from network +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.mambasoft.it/openmamba/netsrpms +Source: https://gitlab.mambasoft.it/openmamba/netsrpms/v%{version}/netsrpms-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires: license-dialog +Requires: /usr/bin/notify-send + +%description +Build srpms that download sources from network. + +%prep +%setup -q + +%build +%make \ + ARCH=%{_target_cpu} \ + + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + ARCH=%{_target_cpu} \ + + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +#%{_sysconfdir}/xdg/menus/applications-merged/netsrpms.menu +%{_sysconfdir}/sysconfig/netsrpminstall +%{_bindir}/netsrpms +#%{_datadir}/applications/*.desktop +#%{_datadir}/desktop-directories/netsrpms.directory +%dir %{_datadir}/netsrpms +%dir %{_datadir}/netsrpms/b43-firmware +%{_datadir}/netsrpms/b43-firmware/* +%ifarch x86_64 +%dir %{_datadir}/netsrpms/chromium-widevine +%{_datadir}/netsrpms/chromium-widevine/* +%endif +%ifnarch arm +%dir %{_datadir}/netsrpms/msttcorefonts +%{_datadir}/netsrpms/msttcorefonts/* +%dir %{_datadir}/netsrpms/skype +%{_datadir}/netsrpms/skype/* +%dir %{_datadir}/netsrpms/virtualbox-extension-pack +%{_datadir}/netsrpms/virtualbox-extension-pack/* +%endif +%doc COPYING + +%changelog +* Sat Jun 25 2022 Silvan Calarco 1.1-1mamba +- update to 1.1 + +* Fri Jun 24 2022 Silvan Calarco 1.0-1mamba +- package created by autospec