Summary: A framework for defining policy for system-wide components
Summary(pl.UTF-8): Szkielet do definiowania polityki dla komponentów systemowych
Name: polkit
-Version: 0.107
+Version: 0.112
Release: 2
License: LGPL v2+
Group: Libraries
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 0e4f9c53f43fd1b25ac3f0d2e09b2ae1
+# Source0-md5: b0f2fa00a55f47c6a5d88e9b73f80127
Patch0: systemd-fallback.patch
URL: http://www.freedesktop.org/wiki/Software/polkit
BuildRequires: autoconf >= 2.60
Requires: ConsoleKit >= 0.4.1
%else
Requires: systemd-units >= 38
-Suggests: ConsoleKit >= 0.4.1
%endif
Requires: dbus >= 1.1.2-5
Obsoletes: PolicyKit
Group: Libraries
Requires: dbus-libs >= 1.1.2-5
Requires: glib2 >= 1:2.32.0
+Requires: gobject-introspection
Obsoletes: PolicyKit-libs
%description libs
%configure \
%{__enable_disable apidocs gtk-doc} \
--disable-silent-rules \
- %{__enable_disable systemd systemd} \
+ %{__enable_disable systemd libsystemd-login} \
--with-html-dir=%{_gtkdocdir} \
--with-pam-include=system-auth \
--with-pam-module-dir=/%{_lib}/security \
--with-polkitd-user=polkitd
-%{__make}
+
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
%pre
%groupadd -g 283 polkitd
%useradd -u 283 -s /bin/false -c "polkitd pseudo user" -g polkitd polkitd
-
-%if %{with systemd}
-%post
-%systemd_post polkit.service
-
-%preun
-%systemd_preun polkit.service
-%endif
+%addusertogroup polkitd proc
%postun
if [ "$1" = "0" ]; then