SPECS (DEVEL): PolicyKit.spec - update to todays snap for hal
deejay1
deejay1 at pld-linux.org
Sun Aug 5 11:13:34 CEST 2007
Author: deejay1 Date: Sun Aug 5 09:13:34 2007 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- update to todays snap for hal
---- Files affected:
SPECS:
PolicyKit.spec (1.21 -> 1.21.2.1)
---- Diffs:
================================================================
Index: SPECS/PolicyKit.spec
diff -u SPECS/PolicyKit.spec:1.21 SPECS/PolicyKit.spec:1.21.2.1
--- SPECS/PolicyKit.spec:1.21 Tue Jul 10 18:59:05 2007
+++ SPECS/PolicyKit.spec Sun Aug 5 11:13:29 2007
@@ -1,14 +1,14 @@
# $Revision$, $Date$
-# TODO:
-# - polkit user/group
+
+%define _snap 20070805
Summary: A framework for defining policy for system-wide components
Summary(pl.UTF-8): Szkielet do definiowania polityki dla komponentĂłw systemowych
Name: PolicyKit
-Version: 0.3
-Release: 2
+Version: 0.5
+Release: 0.%{_snap}.1
License: GPL v2
Group: Libraries
-Source0: http://people.freedesktop.org/~david/dist/%{name}-%{version}.tar.gz
+Source0: http://people.freedesktop.org/~david/dist/%{name}-%{version}-%{_snap}.tar.bz2
# Source0-md5: 8d61312abb40227a8487433872063ccf
URL: http://people.freedesktop.org/~david/polkit-spec.html
BuildRequires: autoconf >= 2.60
@@ -93,7 +93,7 @@
Statyczne biblioteki PolicyKit.
%prep
-%setup -q
+%setup -q -n %{name}
%build
%{__libtoolize}
@@ -121,6 +121,14 @@
%service -q PolicyKit stop
/sbin/chkconfig --del PolicyKit
+%pre
+%groupadd -g 220 polkituser
+%useradd -u 220 -g polkituser polkituser
+
+%postun
+%userremove polkituser
+%groupremove polkituser
+
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@@ -128,17 +136,15 @@
%defattr(644,root,root,755)
%doc AUTHORS README doc/TODO
%attr(755,root,root) %{_bindir}/polkit-*
-%dir %{_libdir}/PolicyKit
-%dir %{_libdir}/PolicyKit/modules
-%attr(755,root,root) %{_libdir}/PolicyKit/modules/polkit*.so
+%{_datadir}/PolicyKit
#%attr(2755,root,polkit) %{_libdir}/polkit-grant-helper
%attr(755,root,root) %{_libdir}/polkit-grant-helper
+%attr(755,root,root) %{_libdir}/polkit-grant-helper-pam
%{_sysconfdir}/PolicyKit
/etc/pam.d/polkit
-#%attr(775,polkit,polkit) /var/lib/PolicyKit
-#%attr(775,polkit,polkit) /var/run/PolicyKit
-%{_mandir}/man1/*
-%{_mandir}/man8/*
+%attr(775,polkituser,polkituser) /var/lib/PolicyKit
+%attr(775,polkituser,polkituser) /var/run/PolicyKit
+%{_mandir}/man*/*
%files apidocs
%defattr(644,root,root,755)
@@ -180,6 +186,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21.2.1 2007/08/05 09:13:29 deejay1
+- update to todays snap for hal
+
Revision 1.21 2007/07/10 16:59:05 wolvverine
- rel. 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/PolicyKit.spec?r1=1.21&r2=1.21.2.1&f=u
More information about the pld-cvs-commit
mailing list