2006-12-22 14:14:06 +01:00
|
|
|
#
|
2012-01-11 15:36:54 +01:00
|
|
|
# spec file for package intltool
|
2006-12-22 14:14:06 +01:00
|
|
|
#
|
2016-09-01 10:53:31 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2006-12-22 14:14:06 +01:00
|
|
|
#
|
2008-09-05 02:45:54 +02:00
|
|
|
# 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.
|
|
|
|
|
2006-12-22 14:14:06 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-05 19:08:22 +01:00
|
|
|
|
2006-12-22 14:14:06 +01:00
|
|
|
Name: intltool
|
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
Summary: Internationalization Tool Collection
|
2012-01-11 15:36:54 +01:00
|
|
|
License: GPL-2.0+
|
2006-12-22 14:14:06 +01:00
|
|
|
Group: Development/Tools/Other
|
2015-04-03 14:08:05 +02:00
|
|
|
Version: 0.51.0
|
2012-01-11 15:36:54 +01:00
|
|
|
Release: 0
|
2008-03-14 17:21:28 +01:00
|
|
|
BuildArch: noarch
|
2009-03-26 17:24:34 +01:00
|
|
|
Requires: gettext-tools
|
|
|
|
Requires: perl-XML-Parser
|
2006-12-22 14:14:06 +01:00
|
|
|
Provides: xml-i18n-tools
|
|
|
|
Obsoletes: xml-i18n-tools
|
2010-04-01 03:06:13 +02:00
|
|
|
Url: https://edge.launchpad.net/intltool/
|
2013-03-29 21:58:42 +01:00
|
|
|
Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
|
2015-09-01 12:10:55 +02:00
|
|
|
# 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
|
2017-05-10 17:26:00 +02:00
|
|
|
# PATCH-FIX-UPSTREAM fixrace.patch lp#1687644 boo#1021335
|
|
|
|
Patch1: fixrace.patch
|
2006-12-22 14:14:06 +01:00
|
|
|
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
|
2015-09-01 12:10:55 +02:00
|
|
|
%patch0 -p0
|
2017-05-10 17:26:00 +02:00
|
|
|
%patch1 -p1
|
2006-12-22 14:14:06 +01:00
|
|
|
|
|
|
|
%build
|
2007-03-23 01:50:22 +01:00
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs}
|
2012-01-11 15:36:54 +01:00
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
2006-12-22 14:14:06 +01:00
|
|
|
|
|
|
|
%install
|
2007-03-23 01:50:22 +01:00
|
|
|
%makeinstall
|
2006-12-22 14:14:06 +01:00
|
|
|
|
|
|
|
%clean
|
2007-03-23 01:50:22 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-12-22 14:14:06 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2012-02-08 13:56:18 +01:00
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
2007-03-23 01:50:22 +01:00
|
|
|
%defattr(-, root, root)
|
2012-01-11 15:36:54 +01:00
|
|
|
%{_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}
|
2006-12-22 14:14:06 +01:00
|
|
|
|
2007-02-20 00:33:12 +01:00
|
|
|
%changelog
|