From: Michael Tremer Date: Mon, 13 Feb 2023 16:28:54 +0000 (+0000) Subject: polkit: Update to 122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d29bf018e252f5e528e84c0338475b724a7ce4b1;p=ipfire-3.x.git polkit: Update to 122 Signed-off-by: Michael Tremer --- diff --git a/polkit/polkit.nm b/polkit/polkit.nm index 3c8468121..c5a585fe9 100644 --- a/polkit/polkit.nm +++ b/polkit/polkit.nm @@ -4,13 +4,13 @@ ############################################################################### name = polkit -version = 0.96 +version = 122 release = 1 groups = System/Libraries -url = http://www.freedesktop.org/wiki/Software/PolicyKit +url = https://gitlab.freedesktop.org/polkit/polkit/ license = LGPLv2+ -summary = PolicyKit Authorization Framework. +summary = PolicyKit Authorization Framework description PolicyKit is a toolkit for defining and handling authorizations. @@ -18,38 +18,51 @@ description processes. end -source_dl = +source_dl = https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/ build requires - eggdbus-devel + dbus-devel + docbook-xsl + duktape-devel expat-devel - intltool - gettext - glib2-devel + glib2-devel >= 2.30.0 + gobject-introspection-devel + libxslt + meson + ninja pam-devel - perl-XML-Parser pkg-config + systemd-devel end - configure_options += \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib/polkit-1 \ - --localstatedir=/var \ - --disable-introspection \ - --disable-static + build + %{meson} \ + -D authfw=pam \ + -D introspection=true \ + -D man=true \ + -D session_tracking=libsystemd-login \ + -D os_type=redhat - prepare_cmds - sed -e "s/^SUBDIRS.*/SUBDIRS = actions data src po/" -i Makefile* + %{meson_build} + end + + install + %{meson_install} end end packages package %{name} + + package %{name}-libs + template LIBS end package %{name}-devel template DEVEL + + requires = polkit-libs = %{thisver} end package %{name}-debuginfo