netsrpms/netsrpms.spec

83 lines
2.1 KiB
RPMSpec

Name: netsrpms
Version: 1.5
Release: 1mamba
Summary: Build srpms that download sources from network
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://src.openmamba.org/openmamba/netsrpms
Source: https://gitlab.mambasoft.it/openmamba/netsrpms/v%{version}/netsrpms-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%ifnarch arm
Requires: b43-tools
%endif
Requires: cabextract
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}/sysconfig/netsrpminstall
%{_bindir}/netsrpms
%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
* Tue Oct 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
- update to 1.5
* Sat Jun 08 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4-1mamba
- update to 1.4
* Fri Sep 22 2023 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- update to 1.3
- moved requires for cabextra and b43-tools from system-base-openmamba package
* Tue Jun 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- update to 1.2
* Sat Jun 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- update to 1.1
* Fri Jun 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created by autospec