00251cf
%{?python_enable_dependency_generator}
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
a96a68a
Version:        1.1.4
fbabf8e
Release:        12%{?dist}
0b4eeaa
Summary:        Calculates a token to run the Google Translate text to speech
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
00251cf
BuildRequires:  python3dist(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
%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
fbabf8e
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-12
fbabf8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
fbabf8e
94c4d20
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-11
94c4d20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
94c4d20
449d549
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-10
449d549
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
449d549
b236a4c
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1.4-9
b236a4c
- Rebuilt for Python 3.12
b236a4c
1d1417b
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-8
1d1417b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
1d1417b
4d3c630
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-7
4d3c630
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4d3c630
f6cac14
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.4-6
f6cac14
- Rebuilt for Python 3.11
f6cac14
7c74e76
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5
7c74e76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7c74e76
42e12ea
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-4
42e12ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
42e12ea
b01c31b
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.4-3
b01c31b
- Rebuilt for Python 3.10
b01c31b
d15d133
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
d15d133
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d15d133
a96a68a
* Wed Nov 11 20:28:18 GMT 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.4-1
a96a68a
- Update to 1.1.4
a96a68a
372bc37
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-9
372bc37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
372bc37
50953d5
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.3-8
50953d5
- Rebuilt for Python 3.9
50953d5
d2bc416
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-7
d2bc416
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d2bc416
74d0006
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.3-6
74d0006
- Rebuilt for Python 3.8.0rc1 (#1748018)
74d0006
76c29e1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.3-5
76c29e1
- Rebuilt for Python 3.8
76c29e1
c9a2383
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
c9a2383
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c9a2383
586f55b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
586f55b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
586f55b
00251cf
* Thu Dec 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.3-2
00251cf
- Enable python dependency generator
00251cf
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