[4/4] asciidoc: Update to 10.2.0

Message ID 78f57a42-afc6-54c5-d0ab-415ea195d2e7@ipfire.org
State Dropped
Headers
Series [1/4] python3-wheel: New package |

Commit Message

Peter Müller Dec. 1, 2022, 6:54 p.m. UTC
  Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 asciidoc/asciidoc.nm | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)
  

Patch

diff --git a/asciidoc/asciidoc.nm b/asciidoc/asciidoc.nm
index 35c8fc434..df3f1c44d 100644
--- a/asciidoc/asciidoc.nm
+++ b/asciidoc/asciidoc.nm
@@ -4,12 +4,13 @@ 
 ###############################################################################
 
 name       = asciidoc
-version    = 8.6.9
+version    = 10.2.0
 release    = 1
+thisapp    = %{name}-py-%{version}
 arch       = noarch
 
 groups     = Application/System
-url        = http://www.methods.co.nz/asciidoc/
+url        = https://asciidoc.org/
 license    = GPL+ and GPLv2+
 summary    = Text based document generation.
 
@@ -19,20 +20,24 @@  description
 	to HTML and DocBook markups using the asciidoc(1) command.
 end
 
-source_dl  = http://sourceforge.net/projects/asciidoc/files/%{name}/%{version}/
+source_dl  = https://github.com/%{name}-py/asciidoc-py/archive/%{version}/
 
 build
 	requires
-		python
+		autoconf
+		automake
+		docbook-dsssl
+		docbook-xsl
+		libxslt
+		python3-devel
+		python3-pip
 	end
 
-	make_install_targets += docs
-
-	install_cmds
-		# Install python API.
-		install -Dpm 644 asciidocapi.py \
-			%{BUILDROOT}/usr/lib/python${PYTHON_VERSION}/site-packages/asciidocapi.py
+	prepare_cmds
+		autoreconf -vfi
 	end
+
+	make_install_targets += docs
 end
 
 packages