2011-07-06 13:37:59 +00:00
|
|
|
Name: itstool
|
2022-02-16 19:12:07 +00:00
|
|
|
Version: 2.0.7
|
2023-10-09 12:33:25 +00:00
|
|
|
Release: 6%{?dist}
|
2011-07-06 13:37:59 +00:00
|
|
|
Summary: ITS-based XML translation tool
|
|
|
|
|
2023-08-21 05:07:22 +00:00
|
|
|
License: GPL-3.0-or-later
|
2011-07-06 13:37:59 +00:00
|
|
|
URL: http://itstool.org/
|
|
|
|
Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
|
2019-01-06 19:41:58 +00:00
|
|
|
# See: https://github.com/itstool/itstool/issues/25
|
|
|
|
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
|
2023-10-09 12:33:25 +00:00
|
|
|
# Filed upstream at https://github.com/itstool/itstool/pull/51
|
|
|
|
Patch1: 0001-Fix-insufficiently-quoted-regular-expressions.patch
|
2011-07-06 13:37:59 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2014-05-17 22:09:41 +00:00
|
|
|
|
2018-07-16 18:12:36 +00:00
|
|
|
BuildRequires: python3-libxml2
|
|
|
|
BuildRequires: python3-devel
|
2020-12-19 00:59:29 +00:00
|
|
|
BuildRequires: make
|
2018-07-16 18:12:36 +00:00
|
|
|
Requires: python3-libxml2
|
2011-07-06 13:37:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
ITS Tool allows you to translate 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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2023-08-21 05:07:22 +00:00
|
|
|
%patch -P0 -p1 -b .encoding
|
2023-10-09 12:33:25 +00:00
|
|
|
%patch -P1 -p1 -b .py312-regex
|
2011-07-06 13:37:59 +00:00
|
|
|
|
|
|
|
%build
|
2018-07-16 18:12:36 +00:00
|
|
|
export PYTHON=%{__python3}
|
2011-07-06 13:37:59 +00:00
|
|
|
%configure
|
2018-12-04 09:13:46 +00:00
|
|
|
%make_build
|
2011-07-06 13:37:59 +00:00
|
|
|
|
|
|
|
%install
|
2018-12-04 09:13:46 +00:00
|
|
|
%make_install
|
2011-07-06 13:37:59 +00:00
|
|
|
|
|
|
|
%files
|
2018-07-10 10:53:18 +00:00
|
|
|
%license COPYING COPYING.GPL3
|
|
|
|
%doc NEWS
|
2011-07-06 13:37:59 +00:00
|
|
|
%{_bindir}/itstool
|
|
|
|
%{_datadir}/itstool
|
2018-12-04 09:14:24 +00:00
|
|
|
%{_mandir}/man1/itstool.1*
|
2011-07-06 13:37:59 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-10-09 12:33:25 +00:00
|
|
|
* Mon Oct 09 2023 Nils Philippsen <nils@tiptoe.de> - 2.0.7-6
|
|
|
|
- Fix insufficiently quoted regular expressions which caused excessive warnings
|
|
|
|
with Python 3.12
|
|
|
|
|
2023-08-21 05:07:22 +00:00
|
|
|
* Mon Aug 21 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 2.0.7-5
|
|
|
|
- Migrate to SPDX license expression
|
|
|
|
|
2023-07-20 07:41:54 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 13:25:30 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 14:56:07 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2023-08-21 05:07:22 +00:00
|
|
|
* Wed Feb 16 2022 Shaun McCance <shaunm@redhat.com> - 2.0.7-1
|
2022-02-16 19:12:07 +00:00
|
|
|
- Update to 2.0.7
|
|
|
|
|
2022-01-20 13:31:18 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 08:48:19 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 14:33:56 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 02:02:52 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 05:44:56 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 09:48:24 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-07 12:15:55 +00:00
|
|
|
* Sun Apr 07 2019 Kalev Lember <klember@redhat.com> - 2.0.6-1
|
|
|
|
- Update to 2.0.6
|
|
|
|
|
2019-02-01 03:38:58 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-06 19:41:58 +00:00
|
|
|
* Sun Jan 06 2019 Björn Esser <besser82@fedoraproject.org> - 2.0.5-2
|
|
|
|
- Add a patch from Debian to fix wrong encoding of output message
|
|
|
|
|
2018-12-04 09:12:48 +00:00
|
|
|
* Tue Dec 04 2018 Kalev Lember <klember@redhat.com> - 2.0.5-1
|
|
|
|
- Update to 2.0.5
|
2018-12-04 09:13:46 +00:00
|
|
|
- Use make_build and make_install macros
|
2018-12-04 09:12:48 +00:00
|
|
|
|
2018-07-16 15:58:08 +00:00
|
|
|
* Mon Jul 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.0.4-4
|
|
|
|
- Fix libxml2 related segfaults
|
|
|
|
|
2018-07-16 18:12:36 +00:00
|
|
|
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.4-3
|
|
|
|
- Switch to Python 3
|
|
|
|
|
2018-07-13 05:54:36 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-10 10:52:15 +00:00
|
|
|
* Tue Jul 10 2018 Kalev Lember <klember@redhat.com> - 2.0.4-1
|
|
|
|
- Update to 2.0.4
|
2018-07-10 10:53:18 +00:00
|
|
|
- Use license macro for COPYING
|
2018-07-10 10:52:15 +00:00
|
|
|
|
2018-02-07 03:04:24 +00:00
|
|
|
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.2-9
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-02-05 14:06:57 +00:00
|
|
|
* Mon Feb 05 2018 Petr Viktorin <pviktori@redhat.com> - 2.0.2-8
|
|
|
|
- Be more explicit about Python build dependencies
|
|
|
|
(Require python2-devel, tell autotools that PYTHON is python2)
|
|
|
|
|
2017-07-26 13:47:23 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 16:37:41 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-18 19:56:51 +00:00
|
|
|
* Wed Jan 18 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.0.2-5
|
|
|
|
- Add BuildRequires: python to fix FTBFS (BZ#1414545).
|
|
|
|
|
2016-02-04 00:43:12 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 11:39:25 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 22:55:21 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-17 22:04:55 +00:00
|
|
|
* Sat May 17 2014 Kalev Lember <kalevlember@gmail.com> - 2.0.2-1
|
|
|
|
- Update to 2.0.2
|
|
|
|
|
2013-08-03 20:05:55 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 02:20:06 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 15:16:12 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-02 09:25:17 +00:00
|
|
|
* Mon Jul 02 2012 Kalev Lember <kalevlember@gmail.com> 1.2.0-1
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
2012-03-21 13:38:34 +00:00
|
|
|
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> 1.1.2-1
|
|
|
|
- Update to itstool 1.1.2
|
|
|
|
|
2012-01-13 06:04:39 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-19 13:42:43 +00:00
|
|
|
* Mon Sep 19 2011 Shaun McCance <shaunm@gnome.org> 1.1.1-1
|
|
|
|
- Update to itstool 1.1.1
|
|
|
|
|
2011-08-07 14:41:28 +00:00
|
|
|
* Sun Aug 07 2011 Rahul Sundaram <sundaram@fedoraproject.org> 1.1.0-2
|
|
|
|
- Add requires on libxml2-python since itstool uses it
|
|
|
|
- Drop redundant defattr
|
|
|
|
- Add NEWS to doc
|
|
|
|
|
2011-07-06 13:37:59 +00:00
|
|
|
* Mon Jun 27 2011 Shaun McCance <shaunm@gnome.org> 1.1.0-1
|
|
|
|
- Update to itstool 1.1.0
|
|
|
|
|
|
|
|
* Sun May 8 2011 Shaun McCance <shaunm@gnome.org> 1.0.1-1
|
|
|
|
- Initial packaging
|