59 lines
1.9 KiB
RPMSpec
59 lines
1.9 KiB
RPMSpec
|
Name: set_rlimits
|
||
|
Version: 1.3.0
|
||
|
Release: 2mamba
|
||
|
Summary: A program to give unpriviledged users access to realtime scheduling via rtlimits
|
||
|
Group: System/Kernel and Hardware
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.physics.adelaide.edu.au/~jwoithe/
|
||
|
Source: http://www.physics.adelaide.edu.au/~jwoithe/set_rlimits-%{version}.tgz
|
||
|
Source1: set_rlimits.conf
|
||
|
License: GPL
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
set_rlimits is a small program written to give unpriviledged users access to realtime scheduling via the new rlimits added to kernel 2.6.12.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
sed -i "/chown/d" Makefile
|
||
|
sed -i "s|man/man8|share/man/man8|g" Makefile
|
||
|
|
||
|
%build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
mkdir -p %{buildroot}
|
||
|
%make PREFIX=%{buildroot}%{_prefix} \
|
||
|
SYSCONFDIR=%{buildroot}%{_sysconfdir} \
|
||
|
MANDIR=%{buildroot}%{_mandir} install
|
||
|
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/set_rlimits.conf
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%config(noreplace) %{_sysconfdir}/set_rlimits.conf
|
||
|
%attr(4755,root,audio) %{_bindir}/set_rlimits
|
||
|
%{_mandir}/man8/set_rlimits.8.gz
|
||
|
%doc AUTHORS COPYING README
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-2mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Jan 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sat Mar 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
|
||
|
- add oss2jack to rt priority chain
|
||
|
|
||
|
* Sat Mar 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
||
|
- set_rlimits.conf updates with entries for professional audio applications
|
||
|
|
||
|
* Fri Oct 06 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1qilnx
|
||
|
- package created by autospec
|