Shaun McCance 2c89dd6
Name:           itstool
c90f24c
Version:        2.0.6
f766ed4
Release:        3%{?dist}
Shaun McCance 2c89dd6
Summary:        ITS-based XML translation tool
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
License:        GPLv3+
Shaun McCance 2c89dd6
URL:            http://itstool.org/
Shaun McCance 2c89dd6
Source0:        http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
18fc62f
# See:  https://github.com/itstool/itstool/issues/25
18fc62f
Patch0:         https://sources.debian.org/data/main/i/itstool/2.0.5-2/debian/patches/fix_crash_912099.patch#/%{name}-2.0.5-fix-crash-wrong-encoding.patch
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
BuildArch:      noarch
d5fc884
3d50023
BuildRequires:  python3-libxml2
3d50023
BuildRequires:  python3-devel
3d50023
Requires:       python3-libxml2
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
%description
Shaun McCance 2c89dd6
ITS Tool allows you to translate XML documents with PO files, using rules from
Shaun McCance 2c89dd6
the W3C Internationalization Tag Set (ITS) to determine what to translate and
Shaun McCance 2c89dd6
how to separate it into PO file messages.
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
%prep
Shaun McCance 2c89dd6
%setup -q
18fc62f
%patch0 -p 1 -b .encoding
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
%build
3d50023
export PYTHON=%{__python3}
Shaun McCance 2c89dd6
%configure
de7fb22
%make_build
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
%install
de7fb22
%make_install
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
%files
18668f4
%license COPYING COPYING.GPL3
18668f4
%doc NEWS
Shaun McCance 2c89dd6
%{_bindir}/itstool
Shaun McCance 2c89dd6
%{_datadir}/itstool
1716f69
%{_mandir}/man1/itstool.1*
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
%changelog
f766ed4
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-3
f766ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f766ed4
112488c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
112488c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
112488c
c90f24c
* Sun Apr 07 2019 Kalev Lember <klember@redhat.com> - 2.0.6-1
c90f24c
- Update to 2.0.6
c90f24c
3f8c908
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-3
3f8c908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3f8c908
18fc62f
* Sun Jan 06 2019 Björn Esser <besser82@fedoraproject.org> - 2.0.5-2
18fc62f
- Add a patch from Debian to fix wrong encoding of output message
18fc62f
15b74c3
* Tue Dec 04 2018 Kalev Lember <klember@redhat.com> - 2.0.5-1
15b74c3
- Update to 2.0.5
de7fb22
- Use make_build and make_install macros
15b74c3
9b7b361
* Mon Jul 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.0.4-4
9b7b361
- Fix libxml2 related segfaults
9b7b361
3d50023
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.4-3
3d50023
- Switch to Python 3
3d50023
7336ee2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
7336ee2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7336ee2
45bbc19
* Tue Jul 10 2018 Kalev Lember <klember@redhat.com> - 2.0.4-1
45bbc19
- Update to 2.0.4
18668f4
- Use license macro for COPYING
45bbc19
04ec2a6
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.2-9
04ec2a6
- Update Python 2 dependency declarations to new packaging standards
04ec2a6
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
04ec2a6
6a57d2a
* Mon Feb 05 2018 Petr Viktorin <pviktori@redhat.com> - 2.0.2-8
6a57d2a
- Be more explicit about Python build dependencies
6a57d2a
  (Require python2-devel, tell autotools that PYTHON is python2)
6a57d2a
7f6fbd9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
7f6fbd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7f6fbd9
cf0e590
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
cf0e590
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cf0e590
340b645
* Wed Jan 18 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.0.2-5
340b645
- Add BuildRequires: python to fix FTBFS (BZ#1414545).
340b645
b6a41ea
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
b6a41ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b6a41ea
cc7a1fc
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
cc7a1fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cc7a1fc
b740db6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
b740db6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b740db6
f041503
* Sat May 17 2014 Kalev Lember <kalevlember@gmail.com> - 2.0.2-1
f041503
- Update to 2.0.2
f041503
c07f235
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
c07f235
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c07f235
1abf78a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
1abf78a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1abf78a
bbe31ca
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
bbe31ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bbe31ca
4122eb9
* Mon Jul 02 2012 Kalev Lember <kalevlember@gmail.com> 1.2.0-1
4122eb9
- Update to 1.2.0
4122eb9
d46ee69
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> 1.1.2-1
d46ee69
- Update to itstool 1.1.2
d46ee69
54791fd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
54791fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
54791fd
Shaun McCance 819830c
* Mon Sep 19 2011 Shaun McCance <shaunm@gnome.org> 1.1.1-1
Shaun McCance 819830c
- Update to itstool 1.1.1
Shaun McCance 819830c
b06f5cd
* Sun Aug 07 2011 Rahul Sundaram <sundaram@fedoraproject.org> 1.1.0-2
b06f5cd
- Add requires on libxml2-python since itstool uses it
b06f5cd
- Drop redundant defattr
b06f5cd
- Add NEWS to doc
b06f5cd
Shaun McCance 2c89dd6
* Mon Jun 27 2011 Shaun McCance <shaunm@gnome.org> 1.1.0-1
Shaun McCance 2c89dd6
- Update to itstool 1.1.0
Shaun McCance 2c89dd6
Shaun McCance 2c89dd6
* Sun May 8 2011 Shaun McCance <shaunm@gnome.org> 1.0.1-1
Shaun McCance 2c89dd6
- Initial packaging