New upstream release
This commit is contained in:
parent
3f6e5f9828
commit
b17c07cfbc
@ -1 +1 @@
|
||||
rtkit-0.5.tar.gz
|
||||
rtkit-0.8.tar.gz
|
||||
|
29
rtkit.spec
29
rtkit.spec
@ -1,5 +1,5 @@
|
||||
Name: rtkit
|
||||
Version: 0.5
|
||||
Version: 0.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Realtime Policy and Watchdog Daemon
|
||||
Group: System Environment/Base
|
||||
@ -9,6 +9,7 @@ URL: http://git.0pointer.de/?p=rtkit.git
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: dbus
|
||||
Requires: polkit
|
||||
Requires: systemd-units
|
||||
BuildRequires: dbus-devel >= 1.2
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: polkit-devel
|
||||
@ -25,7 +26,7 @@ processes.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --with-systemdsystemunitdir=/lib/systemd/system
|
||||
make %{?_smp_mflags}
|
||||
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
|
||||
|
||||
@ -38,10 +39,19 @@ install -D org.freedesktop.RealtimeKit1.xml $RPM_BUILD_ROOT/%{_datadir}/dbus-1/i
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd -f -r rtkit
|
||||
/usr/bin/id rtkit >/dev/null 2>&1 || \
|
||||
/usr/sbin/useradd -r -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit
|
||||
exit 0
|
||||
getent group rtkit >/dev/null 2>&1 || groupadd \
|
||||
-r \
|
||||
-g 172 \
|
||||
rtkit
|
||||
getent passwd rtkit >/dev/null 2>&1 || useradd \
|
||||
-r -l \
|
||||
-u 172 \
|
||||
-g rtkit \
|
||||
-d /proc \
|
||||
-s /sbin/nologin \
|
||||
-c "RealtimeKit" \
|
||||
rtkit
|
||||
:;
|
||||
|
||||
%post
|
||||
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
|
||||
@ -54,9 +64,14 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk
|
||||
%{_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
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
||||
/lib/systemd/system/rtkit-daemon.service
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 29 2010 Lennart Poettering <lpoetter@redhat.com> - 0.8-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Dec 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.5-1
|
||||
- New release
|
||||
- By default don't demote unknown threads
|
||||
|
Loading…
Reference in New Issue
Block a user