diff --git a/polkit.spec b/polkit.spec index a3de600..b3984a3 100644 --- a/polkit.spec +++ b/polkit.spec @@ -3,7 +3,7 @@ %define polkit_groupid 65054 %define polkit_userid 65054 Name: polkit -Version: 0.120 +Version: 121 Release: 1mamba Summary: A framework for defining policy for system-wide components Group: Applications/Security @@ -20,25 +20,21 @@ Patch3: polkit-0.111-sysadmin.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libduktape-devel BuildRequires: libexpat-devel -BuildRequires: libgcc BuildRequires: libglib-devel -BuildRequires: libmozjs78-devel BuildRequires: libpam-devel -BuildRequires: libstdc++6-devel BuildRequires: libsystemd-devel ## AUTOBUILDREQ-END BuildRequires: pam-devel >= 0.81 BuildRequires: dbus-devel >= 0.93 -BuildRequires: libmozjs78-devel +#BuildRequires: libmozjs78-devel +BuildRequires: libduktape-devel Requires: polkit-pkla-compat Provides: PolicyKit Obsoletes: PolicyKit < 0.119 Requires(post): libpolkit = %{?epoch:%epoch:}%{version}-%{release} -# Got from git: -# git clone git://anongit.freedesktop.org/git/PolicyKit - %description PolicyKit is a framework for defining policy for system-wide components and for desktop pieces to configure it. @@ -67,22 +63,24 @@ This package contains static libraries and header files need for development. %debug_package %prep -%setup -q +%setup -q -n polkit-v.%{version} #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 %patch3 -p1 %build -%configure \ - --enable-libsystemd-login=yes +%meson \ + -Dman=true \ + -Dsession_tracking=libsystemd-login -%make +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -install -d %{buildroot}/var/run/PolicyKit-public +%meson_install + +#install -d %{buildroot}/var/run/PolicyKit-public %find_lang polkit-1 @@ -129,7 +127,6 @@ fi %{_bindir}/pkcheck %attr(4755,root,polkitd) %{_bindir}/pkexec %{_bindir}/pkttyagent -%{_mandir}/man1/pkttyagent.1.gz %dir %{_prefix}/lib/polkit-1 %attr(4755,root,polkitd) %{_prefix}/lib/polkit-1/polkit-agent-helper-1 %{_prefix}/lib/polkit-1/polkitd @@ -139,10 +136,11 @@ fi %{_datadir}/gettext/its/polkit.loc %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions -%{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy +%{_datadir}/polkit-1/policyconfig-1.dtd %{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy %attr(0700,polkitd,polkitd) %dir %{_datadir}/polkit-1/rules.d %{_datadir}/dbus-1/system-services/org.freedesktop.PolicyKit1.service +%{_mandir}/man1/pkttyagent.1.gz %{_mandir}/man1/pkaction.1* %{_mandir}/man1/pkcheck.1* %{_mandir}/man1/pkexec.1* @@ -159,24 +157,23 @@ fi %files -n libpolkit-devel %defattr(-,root,root) -%{_bindir}/pk-example-frobnicate +#%{_bindir}/pk-example-frobnicate %dir %{_includedir}/polkit-1 %dir %{_includedir}/polkit-1/polkit %{_includedir}/polkit-1/polkit/*.h %{_includedir}/polkit-1/polkitagent/*.h -%{_libdir}/libpolkit-agent-1.a -%{_libdir}/libpolkit-agent-1.la %{_libdir}/libpolkit-agent-1.so -%{_libdir}/libpolkit-gobject-1.a -%{_libdir}/libpolkit-gobject-1.la %{_libdir}/libpolkit-gobject-1.so %{_datadir}/gir-1.0/Polkit-1.0.gir %{_datadir}/gir-1.0/PolkitAgent-1.0.gir %{_libdir}/pkgconfig/polkit-agent-1.pc %{_libdir}/pkgconfig/polkit-gobject-1.pc -%doc ChangeLog NEWS README +%doc ChangeLog %changelog +* Tue Oct 11 2022 Automatic Build System 121-1mamba +- automatic version update by autodist + * Tue Oct 05 2021 Automatic Build System 0.120-1mamba - automatic version update by autodist