enable introspection

This commit is contained in:
Matthias Clasen 2010-11-12 23:02:06 -05:00
parent 0cf55d2c72
commit e57773b9d4
1 changed files with 14 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Summary: PolicyKit Authorization Framework Summary: PolicyKit Authorization Framework
Name: polkit Name: polkit
Version: 0.98 Version: 0.98
Release: 4%{?dist} Release: 5%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PolicyKit URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@ -23,6 +23,8 @@ Provides: PolicyKit = 0.11
# sufficiently new polkit-gnome package # sufficiently new polkit-gnome package
Conflicts: polkit-gnome < 0.97 Conflicts: polkit-gnome < 0.97
Patch0: introspection.patch
%description %description
PolicyKit is a toolkit for defining and handling authorizations. PolicyKit is a toolkit for defining and handling authorizations.
It is used for allowing unprivileged processes to speak to privileged It is used for allowing unprivileged processes to speak to privileged
@ -63,9 +65,14 @@ Roles and default policy for desktop usage.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .introspection
%build %build
%configure --enable-gtk-doc --disable-static --libexecdir=%{_libexecdir}/polkit-1 --disable-introspection --enable-examples %configure --enable-gtk-doc \
--disable-static \
--libexecdir=%{_libexecdir}/polkit-1 \
--enable-introspection \
--enable-examples
make make
%install %install
@ -155,7 +162,7 @@ EOF
%{_bindir}/pkaction %{_bindir}/pkaction
%{_bindir}/pkcheck %{_bindir}/pkcheck
%{_libexecdir}/polkit-1/polkitd %{_libexecdir}/polkit-1/polkitd
# %{_libdir}/girepository-1.0/*.typelib %{_libdir}/girepository-1.0/*.typelib
# see upstream docs for why these permissions are necessary # see upstream docs for why these permissions are necessary
%attr(4755,root,root) %{_bindir}/pkexec %attr(4755,root,root) %{_bindir}/pkexec
@ -173,7 +180,7 @@ EOF
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
# %{_datadir}/gir-1.0/*.gir %{_datadir}/gir-1.0/*.gir
%{_includedir}/* %{_includedir}/*
%{_bindir}/pk-example-frobnicate %{_bindir}/pk-example-frobnicate
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy %{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
@ -183,6 +190,9 @@ EOF
%{_datadir}/gtk-doc %{_datadir}/gtk-doc
%changelog %changelog
* Fri Nov 14 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-5
- Enable introspection
* Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-4 * Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-4
- Fix #629515 in a way that doesn't require autoreconf - Fix #629515 in a way that doesn't require autoreconf