From patchwork Sun Feb 26 12:19:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6622 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PPjPf6Qt9z3wjy for ; Sun, 26 Feb 2023 12:20:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PPjPf1Mnvzc4; Sun, 26 Feb 2023 12:20:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PPjPf0Vs1z2xc5; Sun, 26 Feb 2023 12:20:06 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PPjPc2dZzz2xGX for ; Sun, 26 Feb 2023 12:20:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PPjPb5cyrz91; Sun, 26 Feb 2023 12:20:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1677414004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bM5wnY0zqXEMW6Bm9Df9ejvwgy/hyyUYgeUzwT0PrXA=; b=LvSU9I05cL+sNOzXNNCRyJp88KgXDnp5mQcyGhbLmlJGRCzKK+DgWsNl2aurtEVCVytv09 hvPhZ6F+yL9o5wBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1677414004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bM5wnY0zqXEMW6Bm9Df9ejvwgy/hyyUYgeUzwT0PrXA=; b=RF/UMgRQRm+J2dIWlUaf5PACIiQNMv9Y9eCcg3FBAHRu2aoVylKk6JZH2fUruqVaWLgFjY cxskmDqLPizwKxTQC/74lGKfliISL6hdCWltdVKy2gKkiNsab8TM+Q1XCAQLQoQZN67PCd AJ/ejW30bGi29+4VYn1+VPyTiHd1FX3Z2RGnIsk+YFswlzYLgsS54QlXAqla0zlEnG1gK6 hMr0r270TvGlfm2EHYygpM4yTtSQoKxfLJP046rCkJH/V9GSHFWCPvFVJeGPBY2zZXFtM3 K+P2vGmszYAZu5VBsZCVb8leXta5Ovy/P733ZjHeJt1+bqOReXZSMbpRBmCJcA== 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 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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 @@ ############################################################################### 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