enable introspection
This commit is contained in:
parent
0cf55d2c72
commit
e57773b9d4
18
polkit.spec
18
polkit.spec
@ -1,7 +1,7 @@
|
||||
Summary: PolicyKit Authorization Framework
|
||||
Name: polkit
|
||||
Version: 0.98
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
|
||||
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
||||
@ -23,6 +23,8 @@ Provides: PolicyKit = 0.11
|
||||
# sufficiently new polkit-gnome package
|
||||
Conflicts: polkit-gnome < 0.97
|
||||
|
||||
Patch0: introspection.patch
|
||||
|
||||
%description
|
||||
PolicyKit is a toolkit for defining and handling authorizations.
|
||||
It is used for allowing unprivileged processes to speak to privileged
|
||||
@ -63,9 +65,14 @@ Roles and default policy for desktop usage.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .introspection
|
||||
|
||||
%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
|
||||
|
||||
%install
|
||||
@ -155,7 +162,7 @@ EOF
|
||||
%{_bindir}/pkaction
|
||||
%{_bindir}/pkcheck
|
||||
%{_libexecdir}/polkit-1/polkitd
|
||||
# %{_libdir}/girepository-1.0/*.typelib
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
|
||||
# see upstream docs for why these permissions are necessary
|
||||
%attr(4755,root,root) %{_bindir}/pkexec
|
||||
@ -173,7 +180,7 @@ EOF
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
# %{_datadir}/gir-1.0/*.gir
|
||||
%{_datadir}/gir-1.0/*.gir
|
||||
%{_includedir}/*
|
||||
%{_bindir}/pk-example-frobnicate
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
|
||||
@ -183,6 +190,9 @@ EOF
|
||||
%{_datadir}/gtk-doc
|
||||
|
||||
%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
|
||||
- Fix #629515 in a way that doesn't require autoreconf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user