netsrpms/netsrpms.spec

69 lines
1.8 KiB
RPMSpec

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 <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
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 <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