]> git.ipfire.org Git - ipfire-3.x.git/blob - asciidoc/asciidoc.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / asciidoc / asciidoc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = asciidoc
7 version = 10.2.0
8 release = 1
9 thisapp = %{name}-py-%{version}
10
11 groups = Application/System
12 url = https://asciidoc.org/
13 license = GPL+ and GPLv2+
14 summary = Text based document generation.
15
16 description
17 AsciiDoc is a text document format for writing short documents,
18 articles, books and UNIX man pages. AsciiDoc files can be translated
19 to HTML and DocBook markups using the asciidoc(1) command.
20 end
21
22 source_dl = https://github.com/%{name}-py/asciidoc-py/archive/%{version}/
23
24 build
25 arches = noarch
26
27 requires
28 autoconf
29 docbook-dsssl
30 docbook-xsl
31 libxslt
32 python3-devel
33 python3-setuptools
34 end
35
36 prepare_cmds
37 autoconf
38 end
39
40 build_cmds
41 # Build asciidoc
42 %{python3} setup.py build
43 end
44
45 install
46 # Install asciidoc
47 %{python3} setup.py install \
48 --root=%{BUILDROOT}
49
50 # Create directory layout for manpages
51 mkdir -pv %{BUILDROOT}%{mandir}/man1
52
53 # Install manpages
54 install -Dm0644 -t "%{BUILDROOT}%{mandir}/man1/" doc/*.1
55 end
56 end
57
58 packages
59 package %{name}
60 requires
61 docbook-xsl
62 libxslt
63 end
64 end
65 end