2024-01-05 23:59:45 +01:00
|
|
|
Name: itstool
|
2024-01-05 23:59:45 +01:00
|
|
|
Version: 2.0.6
|
2024-01-05 23:59:46 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 23:59:45 +01:00
|
|
|
Summary: A tool to translate XML documents with PO files
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://itstool.org/
|
|
|
|
Source: http://files.itstool.org/itstool/itstool-%{version}.tar.bz2
|
2024-01-05 23:59:45 +01:00
|
|
|
Patch0: itstool-2.0.4-x86-segfault.patch
|
2024-01-05 23:59:45 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:59:46 +01:00
|
|
|
BuildRequires: python-libxml2-py3
|
|
|
|
Requires: python-libxml2-py3
|
|
|
|
Requires: python3
|
2024-01-05 23:59:45 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 23:59:45 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 23:59:45 +01:00
|
|
|
|
2024-01-05 23:59:46 +01:00
|
|
|
sed -i "s|%{_bindir}/python|%{__python3}|" itstool.in
|
2024-01-05 23:59:45 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:59:46 +01:00
|
|
|
%configure \
|
|
|
|
PYTHON=%{__python3}
|
|
|
|
|
2024-01-05 23:59:45 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/itstool
|
|
|
|
%dir %{_datadir}/itstool
|
|
|
|
%dir %{_datadir}/itstool/its
|
|
|
|
%{_datadir}/itstool/its/*.its
|
2024-01-05 23:59:45 +01:00
|
|
|
%{_mandir}/man1/itstool.1*
|
2024-01-05 23:59:45 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:59:46 +01:00
|
|
|
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-3mamba
|
|
|
|
- fix rebuilt with python3
|
|
|
|
|
|
|
|
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-2mamba
|
|
|
|
- rebuilt with python3
|
|
|
|
|
2024-01-05 23:59:45 +01:00
|
|
|
* Tue Sep 17 2019 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:59:45 +01:00
|
|
|
* Sun Nov 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-2mamba
|
|
|
|
- patch from lfs to fix segmentation fault seen on x86
|
|
|
|
|
2024-01-05 23:59:45 +01:00
|
|
|
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 23:59:45 +01:00
|
|
|
* Thu Mar 13 2014 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 02 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
|
|
- explicitely require python 2.7
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-1mamba
|
|
|
|
- package created by autospec
|