File intltool.spec of Package intltool

# spec file for package intltool
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           intltool
BuildRequires:  perl-XML-Parser
Summary:        Internationalization Tool Collection
License:        GPL-2.0+
Group:          Development/Tools/Other
Version:        0.51.0
Release:        0
BuildArch:      noarch
Requires:       gettext-tools
Requires:       perl-XML-Parser
Provides:       xml-i18n-tools
Obsoletes:      xml-i18n-tools
# PATCH-FIX-UPSTREAM intltool-perl-5.22.patch lp#1490906 -- Fix execution with perl 5.22
Patch0:         intltool-perl-5.22.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Some scripts to support translators working on GNOME and similar
programs. Data available in XML files (.oaf, .desktop, .sheet, and
more) can be extracted into PO files. After translation, the new
information is written back into the XML files.

%setup -q
%patch0 -p0

make %{?jobs:-j%jobs}

make check



%defattr(-, root, root)
%defattr(-, root, root)
%dir %{_datadir}/aclocal
%doc %{_mandir}/man8/intltool-*.8%{?ext_man}
%doc %{_mandir}/man8/intltoolize.8%{?ext_man}