Name: asciidoc
Summary: Tool to convert AsciiDoc text files to DocBook, HTML or Unix man pages
Version: 8.6.8
Release: 1
License: GPL
Group: Applications/Text
URL: http://www.methods.co.nz/asciidoc/
Description: AsciiDoc is a text document format for writing short documents, articles,
books and UNIX man pages. AsciiDoc files can be translated to HTML and
DocBook markups using the asciidoc(1) command.
The build could not start because the following file is missing: asciidoc-8.6.8.tar.gz
The build could not start because the following file is missing: asciidoc-8.6.8.tar.gz
The spec file used by the build system currently has the following contents:
# $id$ # Authority: dag ### EL6 ships with asciidoc-8.4.5-4.1.el6 %{?el6:# Tag: rfx} %{?el5:%define dockbook_version 4.4} %define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()') %define vimdir %(ls -d %{_datadir}/vim/{vimfiles,vim[0-9]*} 2>/dev/null | tail -1) Summary: Tool to convert AsciiDoc text files to DocBook, HTML or Unix man pages Name: asciidoc Version: 8.6.8 Release: 1%{?dist} License: GPL Group: Applications/Text URL: http://www.methods.co.nz/asciidoc/ Source: http://dl.sf.net/asciidoc/asciidoc-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: python-devel >= 2.4 Requires: docbook-style-xsl Requires: libxslt Requires: python >= 2.4 %description AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. AsciiDoc files can be translated to HTML and DocBook markups using the asciidoc(1) command. %prep %setup ### Fix dependency on Docbook v4.5 for other distributions %{?docbook_version:%{__perl} -pi.orig -e 's|4\.5\b|%{docbook_version}|g' docbook.conf} %build %configure %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" ### rest to datadir; symlinks so asciidoc works %{__mkdir} -p %{buildroot}%{_datadir}/asciidoc/ for dir in docbook-xsl/ images/ javascripts/ stylesheets/; do %{__mv} -v %{buildroot}%{_sysconfdir}/asciidoc/$dir %{buildroot}%{_datadir}/asciidoc/ %{__ln_s} -vf %{_datadir}/asciidoc/$dir %{buildroot}%{_sysconfdir}/asciidoc/ done ### Python API %{__install} -Dp -m0644 asciidocapi.py %{buildroot}%{python_sitelib}/asciidocapi.py ### Make it easier to %exclude these with both rpm < and >= 4.7 for file in %{buildroot}{%{_bindir},%{_sysconfdir}/asciidoc/filters/*}/*.py ; do touch ${file}{c,o} done for file in $(cd vim; find * -type f); do %{__install} -Dp -m0644 vim/$file %{buildroot}%{vimdir}/$file done #%{__install} -Dp -m0755 asciidoc.py %{buildroot}%{_bindir}/asciidoc #%{__install} -Dp -m0755 a2x %{buildroot}%{_bindir}/a2x #%{__install} -Dp -m0644 doc/asciidoc.1 %{buildroot}%{_mandir}/man1/asciidoc.1 #%{__install} -Dp -m0644 doc/a2x.1 %{buildroot}%{_mandir}/man1/a2x.1 #%{__install} -d -m0755 %{buildroot}%{_datadir}/asciidoc/ #%{__cp} -pR docbook-xsl/ images/ javascripts/ stylesheets/ %{buildroot}%{_datadir}/asciidoc/ #%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/asciidoc/ #%{__install} -p -m0644 *.conf %{buildroot}%{_sysconfdir}/asciidoc/ #%{__cp} -pR filters/ %{buildroot}%{_sysconfdir}/asciidoc/ #%{__ln_s} -f %{_datadir}/asciidoc/docbook-xsl/ %{buildroot}%{_sysconfdir}/asciidoc/ #%{__ln_s} -f %{_datadir}/asciidoc/images/ %{buildroot}%{_sysconfdir}/asciidoc/ #%{__ln_s} -f %{_datadir}/asciidoc/javascripts/ %{buildroot}%{_sysconfdir}/asciidoc/ #%{__ln_s} -f %{_datadir}/asciidoc/stylesheets/ %{buildroot}%{_sysconfdir}/asciidoc/ ### Fix symlinks in examples/ #%{__install} -d -m0755 symlinks/ #%{__ln_s} -f %{_sysconfdir}/asciidoc/filters/ symlinks/filters #%{__ln_s} -f %{_sysconfdir}/asciidoc/images/ symlinks/images #%{__ln_s} -f %{_sysconfdir}/asciidoc/javascripts/ symlinks/javascripts #%{__ln_s} -f %{_sysconfdir}/asciidoc/stylesheets/ symlinks/stylesheets %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc BUGS* CHANGELOG* COPYING COPYRIGHT INSTALL* README* %doc doc/ examples/ vim/ %doc %{_mandir}/man1/a2x.1* %doc %{_mandir}/man1/asciidoc.1* %config(noreplace) %{_sysconfdir}/asciidoc/ %{_bindir}/a2x %{_bindir}/a2x.py %{_bindir}/asciidoc %{_bindir}/asciidoc.py %{_datadir}/asciidoc/ %{python_sitelib}/asciidocapi.py* %dir %{vimdir} %dir %{vimdir}/ftdetect/ %{vimdir}/ftdetect/asciidoc_filetype.vim %dir %{vimdir}/syntax/ %{vimdir}/syntax/asciidoc.vim %exclude %{_bindir}/*.py[co] %exclude %{_sysconfdir}/asciidoc/filters/*/*.py[co] %changelog * Fri Nov 02 2012 Dag Wieers <dag@wieers.com> - 8.6.8-1 - Updated to release 8.6.8. * Tue Apr 03 2012 Dag Wieers <dag@wieers.com> - 8.6.7-1 - Updated to release 8.6.7. * Mon Sep 12 2011 Dag Wieers <dag@wieers.com> - 8.6.6-1 - Updated to release 8.6.6. * Mon May 23 2011 Dag Wieers <dag@wieers.com> - 8.6.5-1 - Updated to release 8.6.5. * Mon Feb 21 2011 Dag Wieers <dag@wieers.com> - 8.6.4-1 - Updated to release 8.6.4. * Thu Nov 18 2010 Dag Wieers <dag@wieers.com> - 8.6.3-1 - Updated to release 8.6.3. * Sat Oct 09 2010 Dag Wieers <dag@wieers.com> - 8.6.2-1 - Updated to release 8.6.2. * Mon Aug 23 2010 Dag Wieers <dag@wieers.com> - 8.6.1-1 - Updated to release 8.6.1. * Thu Jun 24 2010 Dag Wieers <dag@wieers.com> - 8.5.4-3 - Fix dependency on docbook v4.5. * Thu Jun 10 2010 Dag Wieers <dag@wieers.com> - 8.5.3-2 - Added VIM integration. * Tue Jan 26 2010 Dag Wieers <dag@wieers.com> - 8.5.3-1 - Updated to release 8.5.3. * Tue Nov 03 2009 Dag Wieers <dag@wieers.com> - 8.5.1-1 - Updated to release 8.5.1. * Sun Oct 11 2009 Dag Wieers <dag@wieers.com> - 8.5.0-1 - Updated to release 8.5.0. * Sun Mar 15 2009 Dag Wieers <dag@wieers.com> - 8.4.1-1 - Updated to release 8.4.1. * Mon Mar 02 2009 Dag Wieers <dag@wieers.com> - 8.3.5-1 - Updated to release 8.3.5. * Fri Jan 02 2009 Dag Wieers <dag@wieers.com> - 8.3.3-1 - Updated to release 8.3.3. * Sun Dec 21 2008 Dag Wieers <dag@wieers.com> - 8.3.1-1 - Updated to release 8.3.1. * Sun May 04 2008 Dag Wieers <dag@wieers.com> - 8.2.6-1 - Updated to release 8.2.6. * Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 8.2.5-1 - Updated to release 8.2.5. * Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 8.2.4-2 - Fixed SyntaxError: future feature with_statement is not defined. * Sun Nov 11 2007 Dag Wieers <dag@wieers.com> - 8.2.4-1 - Updated to release 8.2.4 * Sun Nov 11 2007 Dag Wieers <dag@wieers.com> - 8.2.3-1 - Updated to release 8.2.3. * Wed Jul 25 2007 Dag Wieers <dag@wieers.com> - 8.2.2-1 - Updated to release 8.2.2. * Sat May 12 2007 Dag Wieers <dag@wieers.com> - 8.2.1-1 - Updated to release 8.2.1. * Sat Nov 11 2006 Dag Wieers <dag@wieers.com> - 8.1.0-1 - Updated to release 8.1.0. * Thu Oct 19 2006 Dag Wieers <dag@wieers.com> - 8.0.0-1 - Updated to release 8.0.0. * Wed Jun 14 2006 Dag Wieers <dag@wieers.com> - 7.1.2-2 - Installation fixes. * Thu Mar 09 2006 Dag Wieers <dag@wieers.com> - 7.1.2-1 - Updated to release 7.1.2. * Fri Aug 12 2005 Dag Wieers <dag@wieers.com> - 7.0.1-3 - Add missing deffatr(). (Alain Rykaert) - Put asciidoc in %%{_bindir}, instead of a symlink. * Wed Aug 10 2005 Dag Wieers <dag@wieers.com> - 7.0.1-1 - Initial package. (using DAR)