Accepting request 17923 from Base:System
Copy from Base:System/rtkit based on submit request 17923 from user sreeves1 OBS-URL: https://build.opensuse.org/request/show/17923 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtkit?expand=0&rev=1
This commit is contained in:
commit
194bcc5f80
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
rtkit-0.4.tar.bz2
Normal file
3
rtkit-0.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5b08eaa7048ef57ccfee4d8b86773c8774de0b21c96751f635fd18a3725aabed
|
||||||
|
size 119126
|
5
rtkit.changes
Normal file
5
rtkit.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 14 17:56:43 CEST 2009 - sreeves@novell.com
|
||||||
|
|
||||||
|
- Initial package
|
||||||
|
|
79
rtkit.spec
Normal file
79
rtkit.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package rtkit (Version 0.4)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 SUSE LINUX Products 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
|
Name: rtkit
|
||||||
|
Summary: Realtime Policy and Watchdog Daemon
|
||||||
|
Version: 0.4
|
||||||
|
Release: 1
|
||||||
|
# The daemon itself is GPL v3 or later, the reference implementation for the client BSD
|
||||||
|
License: GPL v3 or later ; BSD
|
||||||
|
Group: System/Base
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Url: http://git.0pointer.de/?p=rtkit.git
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: dbus-1-devel >= 1.2
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: polkit-devel
|
||||||
|
Requires: polkit
|
||||||
|
PreReq: dbus-1
|
||||||
|
|
||||||
|
%description
|
||||||
|
RealtimeKit is a D-Bus system service that changes the
|
||||||
|
scheduling policy of user processes/threads to SCHED_RR (i.e. realtime
|
||||||
|
scheduling mode) on request. It is intended to be used as a secure
|
||||||
|
mechanism to allow real-time scheduling to be used by normal user
|
||||||
|
processes.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
# %configure --libexecdir=$prefix/lib/rtkit
|
||||||
|
%configure --libexecdir=%{_libexecdir}/rtkit
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
install -D org.freedesktop.RealtimeKit1.xml $RPM_BUILD_ROOT/%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%pre
|
||||||
|
groupadd -r rtkit &>/dev/null || :
|
||||||
|
/usr/bin/id rtkit >/dev/null 2>&1 || \
|
||||||
|
useradd -r -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit
|
||||||
|
|
||||||
|
%post
|
||||||
|
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc README GPL LICENSE rtkit.c rtkit.h
|
||||||
|
%attr(0755,root,root) %{_sbindir}/rtkitctl
|
||||||
|
%dir %{_libexecdir}/rtkit
|
||||||
|
%attr(0755,root,root) %{_libexecdir}/rtkit/rtkit-daemon
|
||||||
|
%{_datadir}/dbus-1/system-services/org.freedesktop.RealtimeKit1.service
|
||||||
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
||||||
|
%{_datadir}/polkit-1/actions/org.freedesktop.RealtimeKit1.policy
|
||||||
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user