%global pkgname babelfish Name: python-%{pkgname} Version: 0.6.0 Release: 1%{?dist} Summary: Python library to work with countries and languages License: BSD URL: https://babelfish.readthedocs.org/ Source: https://github.com/Diaoul/%{pkgname}/archive/%{version}.tar.gz Source1: babelfish-setup.py BuildArch: noarch BuildRequires: make BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description Babelfish makes it easy to work with countries, languages, scripts, ISO codes and IETF codes from Python. It has converters between all different data can be extended to use custom converters and data. %package -n python3-%{pkgname} Summary: Python library to work with countries and languages %{?python_provide:%python_provide python3-%{pkgname}} Suggests: %{name}-doc = %{version}-%{release} %description -n python3-%{pkgname} Babelfish makes it easy to work with countries, languages, scripts, ISO codes and IETF codes from Python. It has converters between all different data can be extended to use custom converters and data. %prep %setup -n %{pkgname}-%{version} install %{SOURCE1} -m 775 setup.py %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pkgname} %license LICENSE %{python3_sitelib}/%{pkgname} %{python3_sitelib}/%{pkgname}-%{version}-py*.egg-info %doc CHANGELOG.md README.md %license LICENSE %changelog * Wed Aug 31 2022 Chris Caron - 0.6.0-1 - Upgraded to version 0.6.0 - Rebuilt for RHEL9 & Fedora 38 * Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.5-23 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.5.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 08 2020 Juan Orti Alcaine - 0.5.5-21 - BR: python3-setuptools * Tue Jul 28 2020 Fedora Release Engineering - 0.5.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.5.5-19 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 23 2020 Juan Orti Alcaine - 0.5.5-17 - Add patch for Python 3.9 support * Thu Oct 03 2019 Miro Hrončok - 0.5.5-16 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.5.5-15 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.5.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 22 2019 Miro Hrončok - 0.5.5-12 - Subpackage python2-babelfish has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Jul 13 2018 Fedora Release Engineering - 0.5.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.5.5-10 - Rebuilt for Python 3.7 * Tue Jun 19 2018 Miro Hrončok - 0.5.5-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.5.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jul 01 2017 Juan Orti Alcaine - 0.5.5-6 - Python3 changes * Sat Feb 11 2017 Fedora Release Engineering - 0.5.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.5.5-4 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.5.5-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Mar 11 2016 Juan Orti Alcaine - 0.5.5-2 - LICENSE in doc subpackage - Make test.py executable * Wed Jan 13 2016 Juan Orti Alcaine - 0.5.5-1 - Initial package