Name: itstool Version: 2.0.4 Release: 8 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 Patch1: fix-Cannot-apply-preserveSpace-to-an-attribute.patch Patch2: Auto-update-to-INSTALL-file.patch Patch3: Make-DocBook-keyword-element-within-text.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 * Fri Nov 26 2023 fandehui fandehui@xfusion.com - 2.0.4-8 - Make DocBook keyword element within text * Thu Oct 26 2023 fandehui fandehui@xfusion.com - 2.0.4-7 - Auto update to INSTALL file * Fri Oct 20 2023 fandehui fandehui@xfusion.com - 2.0.4.6 - fix Can't apply preserveSpace to an attribute * Tue Dec 3 2019 openEuler Buildteam - 2.0.4-5 - Package init