63 lines
1.8 KiB
RPMSpec
63 lines
1.8 KiB
RPMSpec
Name: itstool
|
|
Version: 2.0.4
|
|
Release: 1mamba
|
|
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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
Requires: python-libxml2
|
|
Requires: python27
|
|
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
|
|
sed -i "s|%{_bindir}/python|%{_bindir}/python2.7|" itstool.in
|
|
|
|
%build
|
|
%configure
|
|
%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
|
|
%{_mandir}/man1/itstool.1.gz
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|