]> git.pld-linux.org Git - packages/python3-sgmllib.git/blob - python3-sgmllib.spec
new
[packages/python3-sgmllib.git] / python3-sgmllib.spec
1 %define         module          sgmllib
2 %define         pypi_name       sgmllib3k
3
4 Summary:        Py3k port of sgmllib
5 Name:           python3-%{module}
6 Version:        1.0.0
7 Release:        1
8 License:        BSD
9 Group:          Libraries/Python
10 Source0:        https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
11 # Source0-md5:  d70efde06e40797f37e867123aa080ec
12 URL:            https://pypi.org/project/sgmllib3k/
13 BuildRequires:  python3-modules
14 BuildRequires:  python3-setuptools
15 BuildRequires:  rpm-pythonprov
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Py3k port of sgmllib.
21
22 %prep
23 %setup -q -n %{pypi_name}-%{version}
24
25 %build
26 %py3_build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %py3_install
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files -n python3-%{module}
37 %defattr(644,root,root,755)
38 %{py3_sitescriptdir}/%{module}.py
39 %{py3_sitescriptdir}/__pycache__/%{module}.cpython-*.pyc
40 %{py3_sitescriptdir}/%{pypi_name}-*.egg-info
This page took 0.06467 seconds and 3 git commands to generate.