update to 20220923 [release 20220923-1mamba;Wed Sep 28 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 17:31:14 +01:00
parent c8bdfe8903
commit f5398e955d

View File

@ -1,18 +1,17 @@
Name: rtirq Name: rtirq
Version: 20210329 Version: 20220923
Release: 1mamba Release: 1mamba
Summary: A script that configures a Real Time kernel IRQs for low audio latency Summary: A script that configures a Real Time kernel IRQs for low audio latency
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.rncbc.org/jack/ URL: https://www.rncbc.org/drupal/
Source: https://www.rncbc.org/archive/rtirq-%{version}.tar.gz Source: https://www.rncbc.org/archive/rtirq-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: schedutils
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: schedutils Requires: schedutils
%description %description
A script that configures a Real Time kernel IRQs for low audio latency. A script that configures a Real Time kernel IRQs for low audio latency.
@ -24,34 +23,40 @@ A script that configures a Real Time kernel IRQs for low audio latency.
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -vD rtirq.sh -m 0755 %{buildroot}/etc/init.d/rtirq install -D -m0755 rtirq.sh %{buildroot}%{_sbindir}/rtirq
install -vD rtirq.conf -m 0644 %{buildroot}/etc/sysconfig/rtirq install -D -m0644 rtirq.conf %{buildroot}%{_sysconfdir}/rtirq.conf
install -D -m0644 *.service -t %{buildroot}%{_unitdir}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -eq 1 ]; then
# new install
service rtirq start
/sbin/chkconfig --add rtirq
fi
exit 0
%preun %preun
# erase %systemd_preun rtirq
if [ $1 -eq 0 ]; then %systemd_preun rtirq-resume
/sbin/chkconfig --del rtirq :
service rtirq stop
fi %post
exit 0 %systemd_post rtirq
%systemd_post rtirq-resume
:
%postun
%systemd_postun rtirq
%systemd_postun rtirq-resume
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config /etc/sysconfig/rtirq %config(noreplace) %{_sysconfdir}/rtirq.conf
/etc/init.d/rtirq %{_sbindir}/rtirq
%{_unitdir}/rtirq-resume.service
%{_unitdir}/rtirq.service
%doc LICENSE
%changelog %changelog
* Wed Sep 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 20220923-1mamba
- update to 20220923
* Thu Apr 01 2021 Automatic Build System <autodist@mambasoft.it> 20210329-1mamba * Thu Apr 01 2021 Automatic Build System <autodist@mambasoft.it> 20210329-1mamba
- automatic version update by autodist - automatic version update by autodist