From 3b3aa2096e2fe826d27c0e8ecd9f56884ed7ef3af366881b8cc9451b3a153b46 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Mon, 9 Jan 2012 10:07:22 +0000 Subject: [PATCH] Accepting request 99423 from home:vuntz:branches:Base:System Split typelib file out OBS-URL: https://build.opensuse.org/request/show/99423 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=57 --- polkit.changes | 11 +++++++++++ polkit.spec | 20 +++++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/polkit.changes b/polkit.changes index 6e48f72..b90a1c4 100644 --- a/polkit.changes +++ b/polkit.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jan 9 09:33:30 UTC 2012 - vuntz@opensuse.org + +- Split typelib file into typelib-1_0-Polkit-1_0 subpackage. +- Add typelib-1_0-Polkit-1_0 Requires to devel subpackage. +- Add explicit libpolkit0 Requires to devel subpackage: it was + missing before. +- Remove explicit glib2-devel Requires from devel subpackage: it + will automatically be added the pkgconfig() way. +- Improve summary of libpolkit0 subpackage. + ------------------------------------------------------------------- Wed Jan 4 22:03:54 UTC 2012 - crrodriguez@opensuse.org diff --git a/polkit.spec b/polkit.spec index 7d60ca6..56aebcb 100644 --- a/polkit.spec +++ b/polkit.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %define with_systemd 0 Name: polkit @@ -60,8 +59,9 @@ processes. Summary: Development files for PolicyKit Group: Development/Libraries/C and C++ Requires: %name = %{version}-%{release} +Requires: libpolkit0 = %{version} +Requires: typelib-1_0-Polkit-1_0 = %{version} Requires: pkgconfig -Requires: glib2-devel %description devel Development files for PolicyKit Authorization Framework. @@ -77,7 +77,7 @@ BuildArch: noarch Development documentation for PolicyKit Authorization Framework. %package -n libpolkit0 -Summary: Libraries required for polkit +Summary: PolicyKit Authorization Framework -- Libraries Group: System/Libraries Requires: %{name} = %{version} @@ -88,6 +88,17 @@ processes. This package contains the libraries only. +%package -n typelib-1_0-Polkit-1_0 +Summary: PolicyKit Authorization Framework -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-Polkit-1_0 +PolicyKit is a toolkit for defining and handling authorizations. +It is used for allowing unprivileged processes to speak to privileged +processes. + +This package provides the GObject Introspection bindings for PolicyKit. + %prep %setup -q %patch0 -p1 @@ -131,6 +142,9 @@ rm -rf $RPM_BUILD_ROOT %files -n libpolkit0 %defattr(-,root,root,-) %{_libdir}/lib*.so.* + +%files -n typelib-1_0-Polkit-1_0 +%defattr(-,root,root,-) %{_libdir}/girepository-1.0/Polkit-1.0.typelib %{_libdir}/girepository-1.0/PolkitAgent-1.0.typelib