## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global modname translationstring Name: python-%{modname} Version: 1.4 Release: %autorelease Summary: Library used for internationalization (i18n) duties related to translation # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: http://pypi.python.org/pypi/translationstring Source0: https://github.com/Pylons/translationstring/archive/%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch %global _description \ A library used by various Pylons Project packages for\ internationalization (i18n) duties related to translation.\ \ This package provides a translation string class, a translation string factory\ class, translation and pluralization primitives, and a utility that helps\ Chameleon templates use translation facilities of this package. It does not\ depend on Babel, but its translation and pluralization services are meant to\ work best when provided with an instance of the babel.support.Translations class. %description %{_description} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: python3-devel %description -n python3-%{modname} %{_description} %prep %autosetup -p1 -n %{modname}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l translationstring %check %{py3_test_envvars} %{python3} -m unittest %files -n python3-%{modname} -f %{pyproject_files} %license LICENSE.txt %doc README.rst changes.rst %changelog ## START: Generated by rpmautospec * Sun Nov 24 2024 Kevin Fenzi - 1.4-1 - Upgrade to 1.4 - Fix FTBFS. Fixes rhbz#2319730 * Wed Sep 04 2024 Miroslav Suchý - 1.3-30 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.3-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.3-28 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.3-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.3-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.3-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.3-24 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.3-21 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.3-19 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 1.3-18 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 1.3-15 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.3-13 - Rebuilt for Python 3.8.0rc1 (#1748018) * Fri Aug 30 2019 Miro Hrončok - 1.3-12 - Subpackage python2-translationstring has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Aug 16 2019 Miro Hrončok - 1.3-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Miro Hrončok - 1.3-7 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.3-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.3-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue May 10 2016 Igor Gnatenko - 1.3-1 - Modernize spec - Update to 1.3 * Thu Feb 04 2016 Fedora Release Engineering - 1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 14 2014 Bohuslav Kabrda - 1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Fri Dec 06 2013 Pierre-Yves Chibon fr - 1.1-7 - Change BR from python-setuptools-devel to python-setuptools See https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel * Sun Aug 04 2013 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jan 16 2013 Ralph Bean - 1.1-4 - Looks like python3-babel isn't actually required. Removed req. - Enabled python3-translationstring subpackage. * Fri Dec 07 2012 Ralph Bean - 1.1-3 - Laid groundwork for packaging python3 support. Waiting on python3-babel. - Removed unnecessary defattr. - Removed unnecessary removal of the buildroot. - Removed unnecessary clean section. - Removed bundled egg-info. * Sat Jul 21 2012 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Mar 13 2012 Luke Macken - 1.1-1 - Bump to version 1.1 * Sat Jan 14 2012 Fedora Release Engineering - 0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jan 2 2010 Luke Macken - 0.3-1 - Initial package ## END: Generated by rpmautospec