From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] asciidoc: Update to 10.20.0 Date: Sun, 26 Feb 2023 13:19:58 +0100 Message-ID: <20230226121958.273446-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1739943399827861338==" List-Id: --===============1739943399827861338== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- asciidoc/asciidoc.nm | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) 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 @@ ############################################################################= ### =20 name =3D asciidoc -version =3D 8.6.9 -release =3D 2 +version =3D 10.2.0 +release =3D 1 thisapp =3D %{name}-py-%{version} arch =3D noarch =20 @@ -25,22 +25,32 @@ source_dl =3D https://github.com/%{name}-py/asciidoc-py/= archive/%{version}/ build requires autoconf - automake docbook-dsssl docbook-xsl libxslt python3-devel + python3-setuptools end =20 prepare_cmds - autoreconf -vfi + autoconf + end + + build_cmds + # Build asciidoc + %{python3} setup.py build end =20 - make_install_targets +=3D docs + install + # Install asciidoc + %{python3} setup.py install \ + --root=3D%{BUILDROOT} + + # Create directory layout for manpages + mkdir -pv %{BUILDROOT}%{mandir}/man1 =20 - install_cmds - # Broken symlink to an example that is not being installed - rm -vf %{BUILDROOT}%{datadir}/doc/asciidoc/examples/website/asciidoc-graph= viz-sample.txt + # Install manpages + install -Dm0644 -t "%{BUILDROOT}%{mandir}/man1/" doc/*.1 end end =20 --=20 2.30.2 --===============1739943399827861338==--