diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..9405fbdaa836ca30970daabaa76ba432403ef7cd --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +python-roman-numerals-py.spec +roman_numerals_py-3.1.0.tar.gz diff --git a/python-roman-numerals-py.spec b/python-roman-numerals-py.spec new file mode 100644 index 0000000000000000000000000000000000000000..197d9ab2dd5e0385d641d93cd965c6f221cd323e --- /dev/null +++ b/python-roman-numerals-py.spec @@ -0,0 +1,56 @@ +# 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 +BuildRequires: python3-flit-core +# for test +BuildRequires: python3-pytest + + +%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 - 3.1.0-1 +- Init package diff --git a/python-roman-numerals-py.src.rpm b/python-roman-numerals-py.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..f4b86343ac38b1c597ea165f3266705557e4783b Binary files /dev/null and b/python-roman-numerals-py.src.rpm differ diff --git a/roman_numerals_py-3.1.0.tar.gz b/roman_numerals_py-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..df5c7953325c8fd9ec0eb7ec35d165269956751f Binary files /dev/null and b/roman_numerals_py-3.1.0.tar.gz differ