From: Michael Tremer Date: Fri, 16 Dec 2022 17:23:38 +0000 (+0000) Subject: asciidoc: Fix build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eed0041ab7fcfa5880ab65dab14e689dfa44a45;p=ipfire-3.x.git asciidoc: Fix build Signed-off-by: Michael Tremer --- diff --git a/asciidoc/asciidoc.nm b/asciidoc/asciidoc.nm index 35c8fc434..a8220579d 100644 --- a/asciidoc/asciidoc.nm +++ b/asciidoc/asciidoc.nm @@ -5,11 +5,12 @@ name = asciidoc version = 8.6.9 -release = 1 +release = 2 +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,19 +20,27 @@ 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 + end + + prepare_cmds + autoreconf -vfi 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 + # Broken symlink to an example that is not being installed + rm -vf %{BUILDROOT}%{datadir}/doc/asciidoc/examples/website/asciidoc-graphviz-sample.txt end end