update to 3.3.6 [release 3.3.6-1mamba;Sun Jun 13 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:41:07 +01:00
parent 49da16ac7b
commit 61a069fc39

View File

@ -1,5 +1,5 @@
Name: translate-toolkit Name: translate-toolkit
Version: 3.2.0 Version: 3.3.6
Release: 1mamba Release: 1mamba
Summary: Tools for localization Summary: Tools for localization
Group: Applications/Development Group: Applications/Development
@ -10,9 +10,10 @@ URL: http://sourceforge.net/projects/translate/
Source: https://github.com/translate/translate.git/%{version}/translate-%{version}.tar.bz2 Source: https://github.com/translate/translate.git/%{version}/translate-%{version}.tar.bz2
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(lxml)
BuildRequires: python3.7dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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). 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).
@ -21,14 +22,14 @@ Tools for localization: Pootle: web based translation management system. Virtaal
%setup -q -n translate-%{version} %setup -q -n translate-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python3} setup.py install \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python3_inc} \
--install-lib=%{python_sitearch} --install-lib=%{python3_sitearch}
# FIXME: strange files installed with ugly workaround # FIXME: strange files installed with ugly workaround
rm -rf %{buildroot}$HOME rm -rf %{buildroot}$HOME
@ -39,12 +40,12 @@ rm -rf %{buildroot}$HOME
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%dir %{python_sitearch}/translate %dir %{python3_sitearch}/translate
%{python_sitearch}/translate/* %{python3_sitearch}/translate/*
%{python_sitearch}/translate_toolkit-*-py*.egg-info %{python3_sitearch}/translate_toolkit-*-py*.egg-info
%ifarch x86_64 %ifarch x86_64 aarch64
%dir %{python_sitelib}/translate %dir %{python3_sitelib}/translate
%{python_sitelib}/translate/* %{python3_sitelib}/translate/*
%endif %endif
#%{python_sitearch}/docs/* #%{python_sitearch}/docs/*
#%{python_sitearch}/share/* #%{python_sitearch}/share/*
@ -52,6 +53,9 @@ rm -rf %{buildroot}$HOME
#README #README
%changelog %changelog
* Sun Jun 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.6-1mamba
- update to 3.3.6
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba * Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist - automatic version update by autodist