|
 |
0b4eeaa |
%global pypi_name gTTS-token
|
|
 |
0b4eeaa |
# Needs access to Google Services so doesn't run in koji
|
|
 |
0b4eeaa |
%global with_tests 0
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
Name: gtts-token
|
|
 |
98abe8a |
Version: 1.1.3
|
|
 |
a105824 |
Release: 1%{?dist}
|
|
 |
0b4eeaa |
Summary: Calculates a token to run the Google Translate text to speech
|
|
 |
0b4eeaa |
# LICENSE file is currently missing, already reported upstream
|
|
 |
0b4eeaa |
# https://github.com/Boudewijn26/gTTS-token/issues/5
|
|
 |
0b4eeaa |
License: MIT
|
|
 |
0b4eeaa |
URL: https://github.com/boudewijn26/gTTS-token
|
|
 |
98abe8a |
Source0: https://github.com/Boudewijn26/gTTS-token/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
BuildArch: noarch
|
|
 |
0b4eeaa |
BuildRequires: python3-devel
|
|
 |
0b4eeaa |
BuildRequires: python3-setuptools
|
|
 |
0b4eeaa |
BuildRequires: python3-requests
|
|
 |
0b4eeaa |
%if 0%{?with_tests}
|
|
 |
0b4eeaa |
BuildRequires: python3-pytest
|
|
 |
0b4eeaa |
%endif
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%description
|
|
 |
0b4eeaa |
gTTS-token (Google Text to Speech token): A python implementation of the token
|
|
 |
0b4eeaa |
validation of Google Translate
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%package -n python3-gtts-token
|
|
 |
0b4eeaa |
Summary: Python 3 lib to Calculates a token to run the Google Translate text to speech
|
|
 |
0b4eeaa |
%{?python_provide:%python_provide python3-gtts-token}
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
Requires: python3-requests
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%description -n python3-gtts-token
|
|
 |
0b4eeaa |
gTTS-token (Google Text to Speech token): A python implementation of the token
|
|
 |
0b4eeaa |
validation of Google Translate
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%prep
|
|
 |
0b4eeaa |
%setup -q -n %{pypi_name}-%{version}
|
|
 |
0b4eeaa |
# Remove bundled egg-info
|
|
 |
0b4eeaa |
rm -rf %{pypi_name}.egg-info
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%build
|
|
 |
0b4eeaa |
%py3_build
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%install
|
|
 |
0b4eeaa |
%py3_install
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%check
|
|
 |
0b4eeaa |
%if %{with_tests}
|
|
 |
0b4eeaa |
%{__python3} setup.py test
|
|
 |
0b4eeaa |
%endif
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%files -n python3-gtts-token
|
|
 |
0b4eeaa |
%license LICENSE
|
|
 |
0b4eeaa |
%{python3_sitelib}/gTTS_token-*
|
|
 |
085f69c |
%{python3_sitelib}/gtts_token/
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
%changelog
|
|
 |
98abe8a |
* Mon Dec 24 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.3-1
|
|
 |
98abe8a |
- Update to 1.1.3
|
|
 |
98abe8a |
|
|
 |
a105824 |
* Sat Oct 6 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.2-1
|
|
 |
a105824 |
- Update to 1.1.2
|
|
 |
a105824 |
- Drop python2 support
|
|
 |
a105824 |
|
|
 |
f109828 |
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-9
|
|
 |
f109828 |
- Fix FTBFS, update spec to python2_sitelib
|
|
 |
f109828 |
|
|
 |
1627a20 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
|
|
 |
1627a20 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
1627a20 |
|
|
 |
646e0ba |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-7
|
|
 |
646e0ba |
- Rebuilt for Python 3.7
|
|
 |
646e0ba |
|
|
 |
27568b8 |
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 1.1.1-6
|
|
 |
085f69c |
- Fix directory ownership
|
|
 |
085f69c |
|
|
 |
70894b4 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
|
|
 |
70894b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
70894b4 |
|
|
 |
3b76f43 |
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.1-4
|
|
 |
3b76f43 |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
3b76f43 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
3b76f43 |
|
|
 |
8a3b5cb |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
|
 |
8a3b5cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
8a3b5cb |
|
|
 |
0b4eeaa |
* Sun Mar 19 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-2
|
|
 |
0b4eeaa |
- Package review updates
|
|
 |
0b4eeaa |
|
|
 |
0b4eeaa |
* Tue Feb 7 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-1
|
|
 |
0b4eeaa |
- initial packaging
|