Name: html2text Epoch: 1 Version: 2.0.0 Release: 1mamba Summary: Converts a page of HTML into clean, easy-to-read plain ASCII text Group: Graphical Desktop/Applications/Office Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco 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 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END %description 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). %debug_package %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d -m0755 %{buildroot}%{_mandir}/{man1,man5} %makeinstall PREFIX=%{_prefix} MANDIR=%{_mandir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/html2text %dir %{_datadir}/doc/html2text %{_datadir}/doc/html2text/* %{_mandir}/man1/html2text.1* %{_mandir}/man5/html2textrc.5* %doc COPYING %changelog * Sun Feb 20 2022 Silvan Calarco 2.0.0-1mamba - update to 2.0.0 * Tue Mar 03 2020 Silvan Calarco 2020.1.16-1mamba - update to 2020.1.16 - switch to python html2text package * Wed Jul 18 2012 Silvan Calarco 1.3.2a-3mamba - added utf8 patch * Fri Oct 03 2008 Tiziana Ferro 1.3.2a-2mamba - update vendor, distribuition, mantainer, URL - update buildrequirements list * Wed Dec 28 2005 Alessandro Ramazzina 1.3.2a-1qilnx - package created by autospec