SHA256
1
0
forked from pool/intltool
intltool/intltool.spec

70 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package intltool
#
# Copyright (c) 2012 SUSE LINUX Products 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.50.1
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: %{name}-%{version}.tar.gz
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
%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