summaryrefslogtreecommitdiff
path: root/python-roman-numerals-py.spec
blob: 197d9ab2dd5e0385d641d93cd965c6f221cd323e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 <dongxing.wang_a@thundersoft.com> - 3.1.0-1
- Init package