itstool/itstool.spec
lyn1001 5df1ecdc96 fix -o -output parameter is invalid
(cherry picked from commit f0890acbca87159deba959fdcf1936dc9307a38d)
2023-11-30 19:52:50 +08:00

63 lines
1.7 KiB
RPMSpec

Name: itstool
Version: 2.0.4
Release: 9
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
Patch4: fix-o-output-parameter-is-invalid.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
* Thu Nov 30 2023 liyanan <liyanan61@h-partners.com> - 2.0.4-9
- fix -o -output parameter is invalid
* 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 <buildteam@openeuler.org> - 2.0.4-5
- Package init