]>
Commit | Line | Data |
---|---|---|
9dc967cd JP |
1 | %define module sgmllib |
2 | %define pypi_name sgmllib3k | |
3 | ||
4 | Summary: Py3k port of sgmllib | |
102ec484 | 5 | Summary(pl.UTF-8): Port py3k biblioteki sgmllib |
9dc967cd JP |
6 | Name: python3-%{module} |
7 | Version: 1.0.0 | |
847e1625 | 8 | Release: 4 |
9dc967cd JP |
9 | License: BSD |
10 | Group: Libraries/Python | |
102ec484 JB |
11 | #Source0Download: https://pypi.org/simple/sgmllib3k/ |
12 | Source0: https://files.pythonhosted/packages/source/s/sgmllib3k/%{pypi_name}-%{version}.tar.gz | |
9dc967cd JP |
13 | # Source0-md5: d70efde06e40797f37e867123aa080ec |
14 | URL: https://pypi.org/project/sgmllib3k/ | |
15 | BuildRequires: python3-modules | |
16 | BuildRequires: python3-setuptools | |
17 | BuildRequires: rpm-pythonprov | |
102ec484 | 18 | BuildRequires: rpmbuild(macros) >= 1.714 |
9dc967cd JP |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Py3k port of sgmllib. | |
24 | ||
102ec484 JB |
25 | %description -l pl.UTF-8 |
26 | Port py3k biblioteki sgmllib. | |
27 | ||
9dc967cd JP |
28 | %prep |
29 | %setup -q -n %{pypi_name}-%{version} | |
30 | ||
31 | %build | |
32 | %py3_build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %py3_install | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files -n python3-%{module} | |
43 | %defattr(644,root,root,755) | |
102ec484 JB |
44 | %{py3_sitescriptdir}/sgmllib.py |
45 | %{py3_sitescriptdir}/__pycache__/sgmllib.cpython-*.pyc | |
46 | %{py3_sitescriptdir}/sgmllib3k-%{version}-py*.egg-info |