]> git.pld-linux.org Git - SPECS.git/blob - python3-html2text.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / python3-html2text.spec
1 %define         module  html2text
2 Summary:        A HTML to markdown-structured text converter
3 Name:           python3-%{module}
4 Version:        2024.2.26
5 Release:        1
6 License:        GPL v3
7 Group:          Libraries/Python
8 Source0:        https://pypi.python.org/packages/source/h/html2text/%{module}-%{version}.tar.gz
9 # Source0-md5:  b67974402e2e3ea0e7d611ce3096388c
10 URL:            https://github.com/Alir3z4/html2text/
11 BuildRequires:  python3 >= 1:3.6
12 BuildRequires:  python3-modules >= 1:3.6
13 BuildRequires:  python3-setuptools
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.714
16 Requires:       python3-modules >= 1:3.6
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A HTML to markdown-structured text converter.
22
23 %prep
24 %setup -q -n %{module}-%{version}
25
26 %build
27 %py3_build
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %py3_install
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files -n python3-%{module}
38 %defattr(644,root,root,755)
39 %dir %{py3_sitescriptdir}/html2text
40 %{py3_sitescriptdir}/html2text/*.py
41 %{py3_sitescriptdir}/html2text/__pycache__
42 %{py3_sitescriptdir}/html2text/py.typed
43 %{py3_sitescriptdir}/html2text-*.egg-info
This page took 0.092205 seconds and 3 git commands to generate.