Accepting request 99432 from Base:System

Split typelib file out (forwarded request 99423 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/99432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=29
This commit is contained in:
Stephan Kulow 2012-01-11 14:37:44 +00:00 committed by Git OBS Bridge
commit 77d717d7ca
2 changed files with 28 additions and 3 deletions

View File

@ -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

View File

@ -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