--- /dev/null
+--- 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
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
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
%if %{with consolekit} && (%{with systemd} || %{with elogind})
%patch0 -p1
%endif
+%patch1 -p1
%build
%{__gtkdocize}
-%{__intltoolize}
+%{__gettextize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}