Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
multimedia:proaudio
rt-config
rt-config.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rt-config.spec of Package rt-config
# spec file for package rt-config # # Copyright (c) 2019 Jo Boschetti # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ %define localename usermodaudio Name: rt-config Version: 1.1 Release: 0 Summary: This package allows you to autoconfigure your pc for realtime use (the user must be in the @audio group) License: GPL-3.0+ Group: System/GUI/Other Url: http://geekosdaw.tuxfamily.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}.tar.gz Source1: usermodaudio Source2: UserModAudio.desktop Source3: usermodaudio.svg Source4: locale_usermodaudio.tar Requires: kdialog Requires: earlyoom Conflicts: limitsconf BuildArch: noarch %description This package allows you to autoconfigure your pc for realtime use (the user must be in the @audio group). * add rtc and hped read permission by @audio group, for realtime clock access from alsa * Incrementing max_user_whatces to 524288 for prevent not enough limit to monitor all files inside a directory * Setting Swappiness at 10 for prevent xrun when swapping * rtprio 95 * memlock unlimited * nice -10 %prep %setup -q -n %{name} %build #tar -xf %{SOURCE4} -C %{buildroot} #find %{buildroot}/%{_datadir}/locale/ -name \*.po -execdir sh -c 'msgfmt "$0" -o `basename $0 .po`.mo' '{}' \; #find %{buildroot}/%{_datadir}/locale/ -name \*.po -exec rm -rf {} \; #rm -rf %{buildroot}/*.pot %install mkdir -p %{buildroot}/etc/security/limits.d install -m 755 etc/security/limits.d/99-audio.conf %{buildroot}/etc/security/limits.d mkdir -p %{buildroot}/etc/sysctl.d install -m 755 etc/sysctl.d/60-inotify_swappiness.conf %{buildroot}/etc/sysctl.d mkdir -p %{buildroot}/etc/udev/rules.d install -m 755 etc/udev/rules.d/40-timer-permissions.rules %{buildroot}/etc/udev/rules.d mkdir -p %{buildroot}/%{_bindir}/ install %{SOURCE1} -m 655 %{buildroot}/%{_bindir}/ mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications/packages}/ install -m 655 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/ install -m 655 %{SOURCE2} %{buildroot}%{_datadir}/applications/ #%find_lang %{localename} #%files -f %{localename}.lang %files %defattr(-,root,root) %dir /etc/security/limits.d/ /etc/security/limits.d/99-audio.conf %dir /etc/sysctl.d/ /etc/sysctl.d/60-inotify_swappiness.conf %dir /etc/udev/ %dir /etc/udev/rules.d/ /etc/udev/rules.d/40-timer-permissions.rules %{_bindir}/usermodaudio %{_datadir}/applications/* %{_datadir}/pixmaps/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor