# # spec file for package intltool # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # 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 Url: https://edge.launchpad.net/intltool/ Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM intltool-perl-5.22.patch lp#1490906 dimstar@opensuse.org -- Fix execution with perl 5.22 Patch0: intltool-perl-5.22.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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. %prep %setup -q %patch0 -p0 %build %configure make %{?jobs:-j%jobs} %check make check %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS ChangeLog COPYING NEWS README TODO %defattr(-, root, root) %{_bindir}/intltool-* %{_bindir}/intltoolize %dir %{_datadir}/aclocal %{_datadir}/aclocal/intltool.m4 %{_datadir}/%{name}/ %doc %{_mandir}/man8/intltool-*.8%{?ext_man} %doc %{_mandir}/man8/intltoolize.8%{?ext_man} %changelog