%{?python_enable_dependency_generator} %global pypi_name gTTS-token # Needs access to Google Services so doesn't run in koji %global with_tests 0 Name: gtts-token Version: 1.1.4 Release: 14%{?dist} Summary: Calculates a token to run the Google Translate text to speech License: MIT URL: https://github.com/boudewijn26/gTTS-token Source0: https://github.com/Boudewijn26/gTTS-token/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3dist(requests) %if 0%{?with_tests} BuildRequires: python3-pytest %endif %description gTTS-token (Google Text to Speech token): A python implementation of the token validation of Google Translate %package -n python3-gtts-token Summary: Python 3 lib to Calculates a token to run the Google Translate text to speech %{?python_provide:%python_provide python3-gtts-token} %description -n python3-gtts-token gTTS-token (Google Text to Speech token): A python implementation of the token validation of Google Translate %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %if %{with_tests} %{__python3} setup.py test %endif %files -n python3-gtts-token %license LICENSE %{python3_sitelib}/gTTS_token-* %{python3_sitelib}/gtts_token/ %changelog * Thu Jul 18 2024 Fedora Release Engineering - 1.1.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.1.4-13 - Rebuilt for Python 3.13 * Wed Jan 24 2024 Fedora Release Engineering - 1.1.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.1.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.1.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.1.4-9 - Rebuilt for Python 3.12 * Thu Jan 19 2023 Fedora Release Engineering - 1.1.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.1.4-6 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 1.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.4-3 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 1.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 11 20:28:18 GMT 2020 Peter Robinson - 1.1.4-1 - Update to 1.1.4 * Tue Jul 28 2020 Fedora Release Engineering - 1.1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.3-8 - Rebuilt for Python 3.9 * Wed Jan 29 2020 Fedora Release Engineering - 1.1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.3-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.3-5 - Rebuilt for Python 3.8 * Thu Jul 25 2019 Fedora Release Engineering - 1.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Dec 27 2018 Igor Gnatenko - 1.1.3-2 - Enable python dependency generator * Mon Dec 24 2018 Peter Robinson 1.1.3-1 - Update to 1.1.3 * Sat Oct 6 2018 Peter Robinson 1.1.2-1 - Update to 1.1.2 - Drop python2 support * Sat Jul 21 2018 Peter Robinson 1.1.1-9 - Fix FTBFS, update spec to python2_sitelib * Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.1-7 - Rebuilt for Python 3.7 * Fri Feb 16 2018 2018 Lumír Balhar - 1.1.1-6 - Fix directory ownership * Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 05 2018 Iryna Shcherbina - 1.1.1-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Mar 19 2017 Peter Robinson 1.1.1-2 - Package review updates * Tue Feb 7 2017 Peter Robinson 1.1.1-1 - initial packaging