--- /dev/null
+diff --git a/data/Makefile.am b/data/Makefile.am
+index fe0f1d5..18693fe 100644
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -36,6 +36,11 @@ pkgconfig_DATA = polkit-gobject-1.pc polkit-agent-1.pc
+
+ # ----------------------------------------------------------------------------------------------------
+
++itsdir = $(datadir)/gettext/its
++its_DATA = polkit.loc polkit.its
++
++# ----------------------------------------------------------------------------------------------------
++
+ systemdservice_in_files = polkit.service.in
+
+ if HAVE_SYSTEMD
+diff --git a/data/polkit.its b/data/polkit.its
+new file mode 100644
+index 0000000..1c37e6b
+--- /dev/null
++++ b/data/polkit.its
+@@ -0,0 +1,8 @@
++<?xml version="1.0"?>
++<its:rules xmlns:its="http://www.w3.org/2005/11/its"
++ version="2.0">
++ <its:translateRule selector="//*" translate="no"/>
++ <its:translateRule selector="//action/description |
++ //action/message"
++ translate="yes"/>
++</its:rules>
+diff --git a/data/polkit.loc b/data/polkit.loc
+new file mode 100644
+index 0000000..c7427ec
+--- /dev/null
++++ b/data/polkit.loc
+@@ -0,0 +1,6 @@
++<?xml version="1.0"?>
++<locatingRules>
++ <locatingRule name="polkit policy" pattern="*.policy">
++ <documentRule localName="policyconfig" target="polkit.its"/>
++ </locatingRule>
++</locatingRules>
Summary(pl.UTF-8): Szkielet do definiowania polityki dla komponentów systemowych
Name: polkit
Version: 0.113
-Release: 3
+Release: 4
License: LGPL v2+
Group: Libraries
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
# Source0-md5: 4b77776c9e4f897dcfe03b2c34198edf
Patch0: systemd-fallback.patch
Patch1: js187.patch
+Patch2: %{name}-itstool.patch
URL: http://www.freedesktop.org/wiki/Software/polkit
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.7
%setup -q
%{?with_systemd:%patch0 -p1}
%patch1 -p1
+%patch2 -p1
%build
%{?with_apidocs:%{__gtkdocize}}
%{_pkgconfigdir}/polkit-gobject-1.pc
%{_datadir}/gir-1.0/Polkit-1.0.gir
%{_datadir}/gir-1.0/PolkitAgent-1.0.gir
+%{_datadir}/gettext/its/polkit.its
+%{_datadir}/gettext/its/polkit.loc
%files static
%defattr(644,root,root,755)