2024-01-05 23:43:46 +01:00
|
|
|
Name: html2text
|
2024-01-05 23:43:46 +01:00
|
|
|
Epoch: 1
|
|
|
|
Version: 2.0.0
|
2024-01-05 23:43:46 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Converts a page of HTML into clean, easy-to-read plain ASCII text
|
2024-01-05 23:43:46 +01:00
|
|
|
Group: Graphical Desktop/Applications/Office
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:43:46 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:43:46 +01:00
|
|
|
URL: https://github.com/grobian/html2text
|
|
|
|
Source: https://github.com/grobian/html2text.git/v%{version}/html2text-%{version}.tar.bz2
|
|
|
|
#Source: https://pypi.debian.net/html2text/html2text-%{version}.tar.gz
|
2024-01-05 23:43:46 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 23:43:46 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 23:43:46 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
2024-01-05 23:43:46 +01:00
|
|
|
html2text is a Python script that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format).
|
2024-01-05 23:43:46 +01:00
|
|
|
|
2024-01-05 23:43:46 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:43:46 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 23:43:46 +01:00
|
|
|
%configure
|
|
|
|
|
|
|
|
%make
|
2024-01-05 23:43:46 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 23:43:46 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_mandir}/{man1,man5}
|
|
|
|
%makeinstall PREFIX=%{_prefix} MANDIR=%{_mandir}
|
2024-01-05 23:43:46 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 23:43:46 +01:00
|
|
|
%files
|
2024-01-05 23:43:46 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:43:46 +01:00
|
|
|
%{_bindir}/html2text
|
|
|
|
%dir %{_datadir}/doc/html2text
|
|
|
|
%{_datadir}/doc/html2text/*
|
|
|
|
%{_mandir}/man1/html2text.1*
|
|
|
|
%{_mandir}/man5/html2textrc.5*
|
2024-01-05 23:43:46 +01:00
|
|
|
%doc COPYING
|
2024-01-05 23:43:46 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:43:46 +01:00
|
|
|
* Sun Feb 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- update to 2.0.0
|
|
|
|
|
2024-01-05 23:43:46 +01:00
|
|
|
* Tue Mar 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.1.16-1mamba
|
|
|
|
- update to 2020.1.16
|
|
|
|
- switch to python html2text package
|
|
|
|
|
2024-01-05 23:43:46 +01:00
|
|
|
* Wed Jul 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2a-3mamba
|
|
|
|
- added utf8 patch
|
|
|
|
|
|
|
|
* Fri Oct 03 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.3.2a-2mamba
|
|
|
|
- update vendor, distribuition, mantainer, URL
|
|
|
|
- update buildrequirements list
|
|
|
|
|
|
|
|
* Wed Dec 28 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.3.2a-1qilnx
|
|
|
|
- package created by autospec
|