From: Stefan Schantl Date: Sun, 26 Feb 2023 12:19:58 +0000 (+0100) Subject: asciidoc: Update to 10.20.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ddf6762b8deee17f23f5b718f7bbf42147c74e;p=ipfire-3.x.git asciidoc: Update to 10.20.0 Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/asciidoc/asciidoc.nm b/asciidoc/asciidoc.nm index a8220579d..e2691b956 100644 --- a/asciidoc/asciidoc.nm +++ b/asciidoc/asciidoc.nm @@ -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