2024-01-05 18:41:07 +01:00
|
|
|
Name: translate-toolkit
|
2024-01-05 18:41:07 +01:00
|
|
|
Version: 3.2.0
|
2024-01-05 18:41:07 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Tools for localization
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://sourceforge.net/projects/translate/
|
2024-01-05 18:41:07 +01:00
|
|
|
Source: https://github.com/translate/translate.git/%{version}/translate-%{version}.tar.bz2
|
2024-01-05 18:41:07 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 18:41:07 +01:00
|
|
|
BuildRequires: libpython-devel
|
2024-01-05 18:41:07 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tools for localization: Pootle: web based translation management system. Virtaal: Computer Aided Translation (CAT) tool, Translate Toolkit: QA, format conversion and support (PO, Java .properties, OpenOffice, Mozilla, XLIFF, TMX, TBX, CSV, Qt .ts).
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 18:41:07 +01:00
|
|
|
%setup -q -n translate-%{version}
|
2024-01-05 18:41:07 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch}
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
# FIXME: strange files installed with ugly workaround
|
|
|
|
rm -rf %{buildroot}$HOME
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{python_sitearch}/translate
|
|
|
|
%{python_sitearch}/translate/*
|
|
|
|
%{python_sitearch}/translate_toolkit-*-py*.egg-info
|
2024-01-05 18:41:07 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
%dir %{python_sitelib}/translate
|
|
|
|
%{python_sitelib}/translate/*
|
|
|
|
%endif
|
2024-01-05 18:41:07 +01:00
|
|
|
#%{python_sitearch}/docs/*
|
|
|
|
#%{python_sitearch}/share/*
|
2024-01-05 18:41:07 +01:00
|
|
|
%doc COPYING
|
|
|
|
#README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:41:07 +01:00
|
|
|
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Sun Sep 27 2020 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Wed Jul 01 2020 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Sun Jan 19 2020 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Wed Jul 03 2019 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Mon Feb 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- update to 2.3.1
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Fri Mar 31 2017 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Sun Feb 12 2017 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.0-1mamba
|
|
|
|
- update to 1.13.0
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Mon Dec 22 2014 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Thu Oct 09 2014 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:41:07 +01:00
|
|
|
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
|
|
|
|
- update to 1.9.0
|
|
|
|
|
|
|
|
* Wed Oct 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- package created by autospec
|