[packages/html2text] Up to 2.4.0

arekm arekm at pld-linux.org
Sat Mar 14 04:01:53 CET 2026


commit 21b63f3b746aaf4b9a211ff81efd25a28c508ba4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 14 04:01:46 2026 +0100

    Up to 2.4.0

 html2text.spec | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/html2text.spec b/html2text.spec
index e14a3dc..c975c62 100644
--- a/html2text.spec
+++ b/html2text.spec
@@ -1,13 +1,14 @@
 Summary:	A command line utility to convert HTML document to plain text
 Summary(pl.UTF-8):	Narzędzie działające z linii poleceń do konwersji dokumentów HTML do czystego tekstu
 Name:		html2text
-Version:	1.3.2a
-Release:	3
-License:	GPL
+Version:	2.4.0
+Release:	1
+License:	GPL v2+
 Group:		Applications/Networking
-Source0:	http://www.mbayer.de/html2text/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	6097fe07b948e142315749e6620c9cfc
-URL:		http://www.mbayer.de/html2text/
+Source0:	https://gitlab.com/grobian/html2text/-/archive/v%{version}/%{name}-v%{version}.tar.gz
+# Source0-md5:	59a759539d0fa103ecb35b590ef7b737
+URL:		https://gitlab.com/grobian/html2text
+BuildRequires:	curl-devel
 BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,26 +21,24 @@ html2text jest programem działającym z linii poleceń do konwersji
 dokumentów HTML do czystego tekstu.
 
 %prep
-%setup -q
+%setup -q -n %{name}-v%{version}
 
 %build
 %configure
-%{__make} \
-	CXX="%{__cxx}" \
-	DEBUG="%{rpmcflags}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-gzip -d *.gz
-install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
-install -D %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
-install -D %{name}rc.5 $RPM_BUILD_ROOT%{_mandir}/man5/%{name}rc.5
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CREDITS KNOWN_BUGS RELEASE_NOTES README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
+%doc ChangeLog.md CREDITS HISTORY KNOWN_BUGS README.md
+%attr(755,root,root) %{_bindir}/html2text
+%{_mandir}/man1/html2text.1*
+%{_mandir}/man5/html2textrc.5*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/html2text.git/commitdiff/21b63f3b746aaf4b9a211ff81efd25a28c508ba4



More information about the pld-cvs-commit mailing list