intltool/intltool.spec

56 lines
1.4 KiB
RPMSpec

Name: intltool
Version: 0.51.0
Release: 15
Summary: Utility scripts for internationalizing XML
License: GPLv2
URL: https://launchpad.net/intltool
Source0: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators perl(XML::Parser)
Requires: automake gettext-devel perl(XML::Parser) perl(Getopt::Long) patch
Patch1: intltool-perl5.26-regex-fixes.patch
# rhbz1249051
Patch2: intltool-merge-Create-cache-file-atomically.patch
# fix make distcheck fail, rhbz1318674
Patch3: intltool_distcheck-fix.patch
%description
Intltool can automatically extracts translatable strings from oaf, glade, bonobo ui, nautilus
theme and other XML files into the po files.
Intltool can also automatically merges translations from po files back into .oaf files (encoding to
be 7-bit clean). The merging mechanism can also be extended to support other types of XML files.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%check
make check
%files
%doc README
%license COPYING AUTHORS
%{_bindir}/%{name}*
%{_datadir}/%{name}
%{_datadir}/aclocal/%{name}*
%files help
%{_mandir}/man8/*
%changelog
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 0.51.0-15
- rebuild for next release
* Thu Nov 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.51.0-14
- Package init