]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
asciidoc: Update to 10.20.0
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 26 Feb 2023 12:19:58 +0000 (13:19 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 Feb 2023 12:36:54 +0000 (12:36 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
asciidoc/asciidoc.nm

index a8220579d74b0eac1c1d6e028dc32d2be2d2301c..e2691b956d582b5c4cb578316575b8ce359b0c12 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = asciidoc
-version    = 8.6.9
-release    = 2
+version    = 10.2.0
+release    = 1
 thisapp    = %{name}-py-%{version}
 arch       = noarch
 
@@ -25,22 +25,32 @@ source_dl  = https://github.com/%{name}-py/asciidoc-py/archive/%{version}/
 build
        requires
                autoconf
-               automake
                docbook-dsssl
                docbook-xsl
                libxslt
                python3-devel
+               python3-setuptools
        end
 
        prepare_cmds
-               autoreconf -vfi
+               autoconf
+       end
+
+       build_cmds
+               # Build asciidoc
+               %{python3} setup.py build
        end
 
-       make_install_targets += docs
+       install
+               # Install asciidoc
+               %{python3} setup.py install \
+                       --root=%{BUILDROOT}
+
+               # Create directory layout for manpages
+               mkdir -pv %{BUILDROOT}%{mandir}/man1
 
-       install_cmds
-               # Broken symlink to an example that is not being installed
-               rm -vf %{BUILDROOT}%{datadir}/doc/asciidoc/examples/website/asciidoc-graphviz-sample.txt
+               # Install manpages
+               install -Dm0644 -t "%{BUILDROOT}%{mandir}/man1/" doc/*.1
        end
 end