2007-01-15 22:51:37 +00:00
|
|
|
#
|
2008-01-12 00:19:43 +00:00
|
|
|
# spec file for package asciidoc (Version 8.2.5)
|
2007-01-15 22:51:37 +00:00
|
|
|
#
|
2008-01-12 00:19:43 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 22:51:37 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: asciidoc
|
|
|
|
Summary: Text-Based Document Generation
|
2008-01-12 00:19:43 +00:00
|
|
|
Version: 8.2.5
|
2008-01-24 19:16:27 +00:00
|
|
|
Release: 7
|
2007-11-16 00:12:21 +00:00
|
|
|
License: GPL v2 or later
|
|
|
|
Group: Development/Tools/Doc Generators
|
2008-01-14 20:31:53 +00:00
|
|
|
Requires: python >= 2.3, fop
|
2007-11-16 00:12:21 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
Url: http://www.methods.co.nz/asciidoc/
|
2007-01-15 22:51:37 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2008-01-14 20:31:53 +00:00
|
|
|
Patch: asciidoc-a2x-fop-fix.diff
|
2008-01-24 19:16:27 +00:00
|
|
|
Patch1: asciidoc-vim-fix.diff
|
2007-01-15 22:51:37 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-11-16 00:12:21 +00:00
|
|
|
BuildArch: noarch
|
2007-01-15 22:51:37 +00:00
|
|
|
|
|
|
|
%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 command.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-16 00:12:21 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Stuart Rackham <srackham@methods.co.nz>
|
|
|
|
|
|
|
|
%package examples
|
|
|
|
Summary: Examples and Documents for asciidoc
|
|
|
|
Group: Development/Tools/Doc Generators
|
|
|
|
License: GPL v2 or later
|
|
|
|
|
|
|
|
%description examples
|
|
|
|
This package contains examples and documetns of asciidoc.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 22:51:37 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Stuart Rackham <srackham@methods.co.nz>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-01-14 20:31:53 +00:00
|
|
|
%patch
|
2008-01-24 19:16:27 +00:00
|
|
|
%patch1
|
2007-01-15 22:51:37 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/asciidoc/filters
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/asciidoc
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -m 0644 *.conf $RPM_BUILD_ROOT/etc/asciidoc
|
2007-11-16 00:12:21 +00:00
|
|
|
install -m 0644 filters/*.conf $RPM_BUILD_ROOT/etc/asciidoc/filters/
|
|
|
|
install -m 0755 filters/*.py $RPM_BUILD_ROOT/etc/asciidoc/filters/
|
2007-01-15 22:51:37 +00:00
|
|
|
install -m 0755 -D asciidoc.py $RPM_BUILD_ROOT%{_bindir}/asciidoc
|
|
|
|
install -m 0755 -D a2x $RPM_BUILD_ROOT%{_bindir}/a2x
|
|
|
|
install -m 0644 doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
|
for i in images stylesheets javascripts docbook-xsl; do
|
|
|
|
cp -av $i $RPM_BUILD_ROOT%{_datadir}/asciidoc/
|
|
|
|
ln -s ../../%{_datadir}/asciidoc/$i $RPM_BUILD_ROOT/etc/asciidoc
|
|
|
|
done
|
2008-01-24 19:16:27 +00:00
|
|
|
# install vim files
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/site/{syntax,ftdetect}
|
|
|
|
install -m 0644 vim/syntax/* $RPM_BUILD_ROOT%{_datadir}/vim/site/syntax
|
|
|
|
install -m 0644 vim/ftdetect/* $RPM_BUILD_ROOT%{_datadir}/vim/site/ftdetect
|
2007-01-15 22:51:37 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/etc/asciidoc
|
|
|
|
%{_datadir}/asciidoc
|
|
|
|
%{_bindir}/*
|
2008-01-24 19:16:27 +00:00
|
|
|
%{_datadir}/vim/site
|
2007-01-15 22:51:37 +00:00
|
|
|
%doc %{_mandir}/man1/*
|
2007-11-16 00:12:21 +00:00
|
|
|
%doc README BUGS CHANGELOG COPYRIGHT
|
2007-01-15 22:51:37 +00:00
|
|
|
|
2007-11-16 00:12:21 +00:00
|
|
|
%files examples
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc examples
|
2008-01-12 00:19:43 +00:00
|
|
|
|
2007-04-03 17:46:38 +00:00
|
|
|
%changelog
|
2008-01-24 19:16:27 +00:00
|
|
|
* Thu Jan 24 2008 tiwai@suse.de
|
|
|
|
- install vim files (#353528)
|
|
|
|
* Mon Jan 14 2008 tiwai@suse.de
|
2008-01-14 20:31:53 +00:00
|
|
|
- add requirement to fop, fix the fop command name in a2x
|
|
|
|
(#353527)
|
2008-01-24 19:16:27 +00:00
|
|
|
* Tue Jan 08 2008 tiwai@suse.de
|
2008-01-12 00:19:43 +00:00
|
|
|
- updated to version 8.2.5:
|
|
|
|
* fixes couple of bugs in 8.2.4, no new features
|
2008-01-24 19:16:27 +00:00
|
|
|
* Thu Nov 15 2007 tiwai@suse.de
|
2007-11-16 00:12:21 +00:00
|
|
|
- updated to version 8.2.2-8.2.4:
|
|
|
|
* improvements on lang attribute handling
|
|
|
|
* fixed spurious warning in Python 2.6
|
|
|
|
* auto-generated section IDs
|
|
|
|
* changed format of {localdate} attribute to ISO 8601 (%%Y-%%m-%%d).
|
|
|
|
* added abc2ly —beams=None option
|
|
|
|
* XHTML level 2 section headings are now styled with an
|
|
|
|
underlining border
|
|
|
|
* XHTML links to AsciiDoc title elements are now implemented
|
|
|
|
with title ID attributes
|
|
|
|
* multi-word first, middle and last names can be entered in
|
|
|
|
the header author line
|
|
|
|
* the nested inline macros restriction has now been lifted
|
|
|
|
* help topic names can be shortened
|
|
|
|
* added {two_colons} and {two_semicolons} attributes
|
|
|
|
* LaTeXMathML capability has been added
|
|
|
|
* added an —attribute=ATTRIBUTE option to a2x(1)
|
|
|
|
* image block and inline macros prepend optional
|
|
|
|
{imagesdir} attribute to image link targets
|
|
|
|
- split doc and examples to separate sub-package to make rpmlint
|
|
|
|
happy
|
2008-01-24 19:16:27 +00:00
|
|
|
* Tue May 22 2007 tiwai@suse.de
|
2007-05-22 16:33:25 +00:00
|
|
|
- updated to version 8.2.1:
|
|
|
|
* VIM syntax highlighter
|
|
|
|
* Labeled list definitions have been tightened
|
|
|
|
* Added toclevel attribute (1..4)
|
|
|
|
* Added a listindex attribute
|
|
|
|
* The single line titles syntax now accepts trailing suffixes
|
|
|
|
* An end of line backslash performs line continuation for
|
|
|
|
horizontal labeled list items.
|
|
|
|
* The Revision line now accommodates Subversion $Id markers
|
|
|
|
* a2x(1) option —skip-asciidoc
|
|
|
|
* Defaults to appropriate format if -format isn't given.
|
2008-01-24 19:16:27 +00:00
|
|
|
* Mon Apr 02 2007 tiwai@suse.de
|
2007-04-03 17:46:38 +00:00
|
|
|
- updated to version 8.1.0:
|
|
|
|
* AsciiDoc generated XHTML documents now display as table of
|
|
|
|
contents if the toc attribute is defined.
|
|
|
|
* A music filter is included.
|
|
|
|
* Conditionally redefined subscript and superscripting so they
|
|
|
|
use the old replacements mechanism when asciidoc7compatible
|
|
|
|
is defined rather than the asciidoc 8 default unconstrained
|
|
|
|
quoting.
|
|
|
|
* Added {verbose} intrinsic attribute.
|
|
|
|
* Added {outdir} intrinsic attribute.
|
|
|
|
* Renamed {docdir} intrinsic attribute to unambiguous`{indir}
|
|
|
|
* If asciidoc(1) outputs to stdout then instrinsic attribute
|
|
|
|
{docname} is extracted from the input file name.
|
2008-01-24 19:16:27 +00:00
|
|
|
* Thu Nov 23 2006 tiwai@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- Add missing a2x and other config files (#223299).
|
2008-01-24 19:16:27 +00:00
|
|
|
* Thu Oct 12 2006 tiwai@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- updated to version 8.0.0:
|
|
|
|
* An experimental LaTeX backend
|
|
|
|
* Unconstrained quoting allows quoting to appear anywhere in inline text
|
|
|
|
* a2x toolchain wrapper script can generate Open Document text files
|
|
|
|
* More on CHANGELOG
|
2008-01-24 19:16:27 +00:00
|
|
|
* Mon May 15 2006 tiwai@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- updated to version 7.1.2.
|
|
|
|
* a2x toolchain wrapper
|
|
|
|
* ASCIIMathML support
|
2008-01-24 19:16:27 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-01-24 19:16:27 +00:00
|
|
|
* Wed Jan 11 2006 tiwai@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- updated to version 7.0.4.
|
2008-01-24 19:16:27 +00:00
|
|
|
* Fri Jul 01 2005 tiwai@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- fixed norootforbuild.
|
2008-01-24 19:16:27 +00:00
|
|
|
* Fri Jun 24 2005 tiwai@suse.de
|
2007-01-15 22:51:37 +00:00
|
|
|
- initial version: 7.0.1.
|