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.
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