SPECS: PolicyKit.spec - updated to 0.7
qboosh
qboosh at pld-linux.org
Sun Dec 16 04:22:53 CET 2007
Author: qboosh Date: Sun Dec 16 03:22:53 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.7
---- Files affected:
SPECS:
PolicyKit.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/PolicyKit.spec
diff -u SPECS/PolicyKit.spec:1.31 SPECS/PolicyKit.spec:1.32
--- SPECS/PolicyKit.spec:1.31 Fri Nov 9 13:23:53 2007
+++ SPECS/PolicyKit.spec Sun Dec 16 04:22:47 2007
@@ -1,17 +1,20 @@
# $Revision$, $Date$
+# TODO: package bash-completion in proper way
+# nothing owns %{_datadir}/dbus-1/interfaces dir
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.6
-Release: 3
+Version: 0.7
+Release: 1
License: GPL v2
Group: Libraries
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 1d6a0b4bf82c2c3c2a119a66afe4708d
+# Source0-md5: 99e0cc588310656fa25f8f66a411c71f
URL: http://people.freedesktop.org/~david/polkit-spec.html
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.7
BuildRequires: dbus-devel >= 1.0
+BuildRequires: dbus-glib-devel >= 0.73
BuildRequires: expat-devel >= 1:1.95.8
BuildRequires: glib2-devel >= 1:2.6.0
BuildRequires: gtk-doc >= 1.3
@@ -81,7 +84,8 @@
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires: expat-devel >= 1:1.95.8
-Requires: glib2-devel >= 1:2.6.0
+# polkit-grant
+#Requires: glib2-devel >= 1:2.6.0
# polkit-dbus and polkit-grant
#Requires: dbus-devel >= 1.0
# polkit-dbus
@@ -132,7 +136,7 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%triggerun -- PolicyKit < 0.3
+%triggerun -- PolicyKit < 0.3
%service -q PolicyKit stop
/sbin/chkconfig --del PolicyKit
@@ -140,6 +144,12 @@
%groupadd -g 220 polkituser
%useradd -u 220 -d %{_datadir}/empty -c "PolicyKit User" -g polkituser polkituser
+%post
+umask 022
+touch /var/lib/misc/PolicyKit.reload
+chown root:polkituser /var/lib/misc/PolicyKit.reload
+chmod 664 /var/lib/misc/PolicyKit.reload
+
%postun
if [ "$1" = "0" ]; then
%userremove polkituser
@@ -152,22 +162,35 @@
%files
%defattr(644,root,root,755)
%doc AUTHORS README doc/TODO
-%attr(755,root,root) %{_bindir}/polkit-*
+%attr(755,root,root) %{_bindir}/polkit-action
+%attr(755,root,root) %{_bindir}/polkit-auth
+%attr(755,root,root) %{_bindir}/polkit-config-file-validate
+%attr(755,root,root) %{_bindir}/polkit-policy-file-validate
%dir %{_libexecdir}
+%attr(2755,root,polkituser) %{_libexecdir}/polkit-explicit-grant-helper
%attr(2755,root,polkituser) %{_libexecdir}/polkit-grant-helper
-%attr(4750,root,polkituser) %{_libexecdir}/polkit-grant-helper-pam
+%attr(4754,root,polkituser) %{_libexecdir}/polkit-grant-helper-pam
+%attr(2755,root,polkituser) %{_libexecdir}/polkit-read-auth-helper
+%attr(2755,root,polkituser) %{_libexecdir}/polkit-revoke-helper
+%attr(2755,root,polkituser) %{_libexecdir}/polkit-set-default-helper
+%attr(755,root,root) %{_libexecdir}/polkitd
%dir %{_sysconfdir}/PolicyKit
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PolicyKit/PolicyKit.conf
+/etc/dbus-1/system.d/org.freedesktop.PolicyKit.conf
/etc/pam.d/polkit
-%attr(775,polkituser,polkituser) /var/lib/PolicyKit
-%attr(775,polkituser,polkituser) /var/run/PolicyKit
+%{_datadir}/PolicyKit
+%{_datadir}/dbus-1/interfaces/org.freedesktop.PolicyKit.AuthenticationAgent.xml
+%{_datadir}/dbus-1/system-services/org.freedesktop.PolicyKit.service
+%attr(664,root,polkituser) %ghost /var/lib/misc/PolicyKit.reload
+%attr(770,root,polkituser) /var/lib/PolicyKit
+%attr(775,root,polkituser) /var/lib/PolicyKit-public
+%attr(770,root,polkituser) /var/run/PolicyKit
+%{_mandir}/man1/polkit-action.1*
+%{_mandir}/man1/polkit-auth.1*
%{_mandir}/man1/polkit-config-file-validate.1*
-%{_mandir}/man1/polkit-grant.1*
-%{_mandir}/man1/polkit-list-actions.1*
%{_mandir}/man1/polkit-policy-file-validate.1*
%{_mandir}/man5/PolicyKit.conf.5*
%{_mandir}/man8/PolicyKit.8*
-%{_datadir}/PolicyKit
%files apidocs
%defattr(644,root,root,755)
@@ -178,8 +201,11 @@
# notes which license applies to which package part, AFL text (and GPL text copy)
%doc COPYING
%attr(755,root,root) %{_libdir}/libpolkit.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpolkit.so.2
%attr(755,root,root) %{_libdir}/libpolkit-dbus.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpolkit-dbus.so.2
%attr(755,root,root) %{_libdir}/libpolkit-grant.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpolkit-grant.so.2
%files devel
%defattr(644,root,root,755)
@@ -206,6 +232,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2007-12-16 03:22:47 qboosh
+- updated to 0.7
+
Revision 1.31 2007-11-09 12:23:53 arekm
- rel 3; keep libexecdir binaries one level deeper in own subdirectory
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/PolicyKit.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list