netsrpms/netsrpms.spec

83 lines
2.2 KiB
RPMSpec

Name: netsrpms
Version: 1.4
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://gitlab.mambasoft.it/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}/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 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