diff options
Diffstat (limited to 'python-roman-numerals-py.spec')
-rw-r--r-- | python-roman-numerals-py.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/python-roman-numerals-py.spec b/python-roman-numerals-py.spec new file mode 100644 index 0000000..7cb993b --- /dev/null +++ b/python-roman-numerals-py.spec @@ -0,0 +1,53 @@ +# Created by pyp2rpm-3.3.5 +%global pypi_name roman-numerals-py +%global source_name roman_numerals_py + +Name: python-%{pypi_name} +Version: 3.1.0 +Release: 1 +Summary: Manipulate well-formed Roman numerals + +License: 0BSD +URL: https://github.com/AA-Turner/roman-numerals +Source0: %{pypi_source %{source_name}} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + + +%global _description %{expand: +This project provides utilities manipulating well-formed Roman numerals, +in various programming languages.} + +%description %_description + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -n %{source_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%pytest + +%files -n python3-%{pypi_name} +%license LICENCE.rst +%doc README.rst +%{python3_sitelib}/roman_numerals +%{python3_sitelib}/roman_numerals_py-*.dist-info/ + +%changelog +* Fri May 23 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 3.1.0-1 +- Init package |