%global pkg_description %{expand: Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words.} Name: python-inflect Version: 5.6.2 Release: 1 Summary: Correctly generate plurals, ordinals, indefinite articles; convert numbers to words License: MIT Group: Development/Languages/Python URL: https://pypi.org/project/inflect/ Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-setuptools_scm BuildRequires: python3-toml BuildRequires: python3-pip python3-wheel Requires: python-toml BuildArch: noarch %description %{pkg_description} %package -n python3-inflect Summary: %{Summary} %description -n python3-inflect %{pkg_description} %prep %autosetup -n inflect-%{version} -p1 %build %pyproject_build %install %pyproject_install inflect==%{version} %check pytest %files -n python3-inflect %license LICENSE %doc CHANGES.rst README.rst %{python3_sitelib}/inflect* %changelog * Fri Apr 28 2023 yaoxin - 5.6.2-1 - Package init