From 48ed99b55b832db731635cb81463486e697d75d2 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Mon, 11 Oct 2021 00:31:39 +0200 Subject: [PATCH] up to 0.120 - uses gettext now (drop existing po/Makefile.in since gettextize adds another resulting in duplicate entry) --- polkit-gettext.patch | 10 ++++++++++ polkit.spec | 11 ++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 polkit-gettext.patch diff --git a/polkit-gettext.patch b/polkit-gettext.patch new file mode 100644 index 0000000..f0ef720 --- /dev/null +++ b/polkit-gettext.patch @@ -0,0 +1,10 @@ +--- polkit-0.120/configure.ac.orig 2021-10-11 00:22:32.401113663 +0200 ++++ polkit-0.120/configure.ac 2021-10-11 00:22:44.517706393 +0200 +@@ -552,7 +552,6 @@ + docs/Makefile + docs/polkit/Makefile + docs/man/Makefile +-po/Makefile.in + test/Makefile + test/polkit/Makefile + test/polkitbackend/Makefile diff --git a/polkit.spec b/polkit.spec index 18a6538..046adc3 100644 --- a/polkit.spec +++ b/polkit.spec @@ -11,13 +11,14 @@ Summary: A framework for defining policy for system-wide components Summary(pl.UTF-8): Szkielet do definiowania polityki dla komponentów systemowych Name: polkit -Version: 0.119 -Release: 2 +Version: 0.120 +Release: 1 License: LGPL v2+ Group: Libraries Source0: https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: 16b0ec658efae724378c7f75233d4120 +# Source0-md5: 6d2c0b130eec4a53b32f044dd4f1e4b8 Patch0: systemd-fallback.patch +Patch1: %{name}-gettext.patch URL: https://www.freedesktop.org/wiki/Software/polkit BuildRequires: autoconf >= 2.60 BuildRequires: automake >= 1:1.7 @@ -33,7 +34,6 @@ BuildRequires: glibc-localedb-all BuildRequires: gobject-introspection-devel >= 0.6.2 BuildRequires: gtk-doc >= 1.3 BuildRequires: gtk-doc-automake >= 1.3 -BuildRequires: intltool >= 0.40.0 BuildRequires: libstdc++-devel >= 6:7 BuildRequires: libtool >= 2:1.5 BuildRequires: libxslt-progs @@ -124,10 +124,11 @@ Statyczne biblioteki PolicyKit. %if %{with consolekit} && (%{with systemd} || %{with elogind}) %patch0 -p1 %endif +%patch1 -p1 %build %{__gtkdocize} -%{__intltoolize} +%{__gettextize} %{__libtoolize} %{__aclocal} %{__autoconf} -- 2.44.0