SPECS: PolicyKit.spec - 0.3

patrys patrys at pld-linux.org
Thu Jun 21 14:46:28 CEST 2007


Author: patrys                       Date: Thu Jun 21 12:46:28 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.3

---- Files affected:
SPECS:
   PolicyKit.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/PolicyKit.spec
diff -u SPECS/PolicyKit.spec:1.15 SPECS/PolicyKit.spec:1.16
--- SPECS/PolicyKit.spec:1.15	Wed Mar 14 17:52:51 2007
+++ SPECS/PolicyKit.spec	Thu Jun 21 14:46:22 2007
@@ -1,19 +1,17 @@
 # $Revision$, $Date$
 # TODO:
 # - polkit user/group (in the future, as they are not used for anything now)
-%define	snap	20070314
 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.2
-Release:	0.%{snap}.2
+Version:	0.3
+Release:	1
 License:	GPL v2
 Group:		Libraries
-Source0:	%{name}-%{snap}.tar.gz
-# Source0-md5:	6ffed84618d1e57abdcb486dfe21f091
+Source0:	http://people.freedesktop.org/~david/dist/%{name}-%{version}.tar.gz
+# Source0-md5:	8d61312abb40227a8487433872063ccf
 Source1:	%{name}.init
-Patch0:		%{name}-conf.patch
-URL:		http://webcvs.freedesktop.org/hal/
+URL:		http://people.freedesktop.org/~david/polkit-spec.html
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
 BuildRequires:	dbus-devel >= 0.60
@@ -40,6 +38,18 @@
 systemowych oraz składników pulpitu do konfigurowania ich. Jest
 używany przez HAL-a.
 
+%package apidocs
+Summary:	PolicyKit API documentation
+Summary(pl.UTF-8):	Dokumentacja API PolicyKit
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+PolicyKit API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API PolicyKit.
+
 %package libs
 Summary:	PolicyKit libraries
 Summary(pl.UTF-8):	Biblioteki PolicyKit
@@ -80,8 +90,7 @@
 Statyczne biblioteki PolicyKit.
 
 %prep
-%setup -q -n %{name}-%{snap}
-%patch0 -p1
+%setup -q
 
 %build
 %{__libtoolize}
@@ -103,7 +112,7 @@
 install -d $RPM_BUILD_ROOT{%{_var}/run/polkit-console,/etc/rc.d/init.d}
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/PolicyKit
 
-rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.{la,a}
+rm -f $RPM_BUILD_ROOT/%{_libdir}/PolicyKit/modules/*.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -123,28 +132,39 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README doc/spec/*.{html,png,dia} doc/TODO
+%doc AUTHORS README doc/TODO
 %attr(755,root,root) %{_bindir}/polkit-*
-%attr(755,root,root) %{_sbindir}/polkitd
-%attr(755,root,root) /%{_lib}/security/pam_polkit_console.so*
+%{_sysconfdir}/pam.d/polkit
 %{_sysconfdir}/PolicyKit
-%{_sysconfdir}/dbus-1/system.d/PolicyKit.conf
-%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/policy-kit
 %dir %{_var}/run/polkit-console
 %attr(754,root,root) /etc/rc.d/init.d/*
+%{_mandir}/man1/*
+%{_mandir}/man8/*
+%dir %{_libdir}/PolicyKit
+%dir %{_libdir}/PolicyKit/modules
+%attr(755,root,root) %{_libdir}/PolicyKit/modules/polkit*.so
+%attr(755,root,root) %{_libdir}/polkit-grant-helper
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/polkit
+%{_gtkdocdir}/polkit-dbus
+%{_gtkdocdir}/polkit-grant
 
 %files libs
 %defattr(644,root,root,755)
-%doc COPYING
 %attr(755,root,root) %{_libdir}/libpolkit-grant.so.*.*.*
 %attr(755,root,root) %{_libdir}/libpolkit.so.*.*.*
+%attr(755,root,root) %{_libdir}/libpolkit-dbus.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpolkit*.so
+%{_includedir}/PolicyKit
 %{_libdir}/libpolkit*.la
-%{_includedir}/libpolkit
 %{_pkgconfigdir}/polkit.pc
+%{_pkgconfigdir}/polkit-dbus.pc
+%{_pkgconfigdir}/polkit-grant.pc
 %{_gtkdocdir}/polkit
 
 %files static
@@ -157,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2007/06/21 12:46:22  patrys
+- 0.3
+
 Revision 1.15  2007/03/14 16:52:51  czarny
 - up to 20070314
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/PolicyKit.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list