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