itstool/itstool.spec
yang_lijin@qq.com f686124d94 init itstool
2019-12-11 14:51:14 +08:00

47 lines
1.1 KiB
RPMSpec

Name: itstool
Version: 2.0.4
Release: 5
Summary: ITS-based XML translation tool
License: GPLv3+
URL: http://itstool.org/
Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
Patch0: fix-segfaults.patch
BuildArch: noarch
BuildRequires: python3-libxml2 python3-devel git
Requires: python3-libxml2
%description
ITS Tool allows you to translate your XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS)\
to determine what to translate and how to separate it into PO file messages
%package help
Summary: Help manual for %{name}
%description help
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
export PYTHON=%{__python3}
%configure
%make_build
%install
%make_install
%files
%license COPYING COPYING.GPL3
%{_bindir}/itstool
%{_datadir}/itstool
%files help
%doc NEWS
%doc %{_mandir}/man1/itstool.1.gz
%changelog
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.4-5
- Package init