update to 3.3.6 [release 3.3.6-1mamba;Sun Jun 13 2021]
This commit is contained in:
parent
49da16ac7b
commit
61a069fc39
@ -1,5 +1,5 @@
|
||||
Name: translate-toolkit
|
||||
Version: 3.2.0
|
||||
Version: 3.3.6
|
||||
Release: 1mamba
|
||||
Summary: Tools for localization
|
||||
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
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(lxml)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
## 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).
|
||||
@ -21,14 +22,14 @@ Tools for localization: Pootle: web based translation management system. Virtaal
|
||||
%setup -q -n translate-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
%{__python3} setup.py install \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch}
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch}
|
||||
|
||||
# FIXME: strange files installed with ugly workaround
|
||||
rm -rf %{buildroot}$HOME
|
||||
@ -39,12 +40,12 @@ rm -rf %{buildroot}$HOME
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%dir %{python_sitearch}/translate
|
||||
%{python_sitearch}/translate/*
|
||||
%{python_sitearch}/translate_toolkit-*-py*.egg-info
|
||||
%ifarch x86_64
|
||||
%dir %{python_sitelib}/translate
|
||||
%{python_sitelib}/translate/*
|
||||
%dir %{python3_sitearch}/translate
|
||||
%{python3_sitearch}/translate/*
|
||||
%{python3_sitearch}/translate_toolkit-*-py*.egg-info
|
||||
%ifarch x86_64 aarch64
|
||||
%dir %{python3_sitelib}/translate
|
||||
%{python3_sitelib}/translate/*
|
||||
%endif
|
||||
#%{python_sitearch}/docs/*
|
||||
#%{python_sitearch}/share/*
|
||||
@ -52,6 +53,9 @@ rm -rf %{buildroot}$HOME
|
||||
#README
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user