88 lines
2.6 KiB
RPMSpec
88 lines
2.6 KiB
RPMSpec
|
#
|
||
|
# spec file for package asciidoc (Version 8.0.0)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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
|
||
|
License: GNU General Public License (GPL)
|
||
|
Group: Development/Tools/Doc Generators
|
||
|
Requires: python >= 2.3
|
||
|
Autoreqprov: on
|
||
|
Summary: Text-Based Document Generation
|
||
|
Version: 8.0.0
|
||
|
Release: 13
|
||
|
URL: http://www.methods.co.nz/asciidoc/
|
||
|
Source0: %{name}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildArchitectures: noarch
|
||
|
|
||
|
%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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Stuart Rackham <srackham@methods.co.nz>
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%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
|
||
|
install -m 0644 filters/{code-filter.conf,code-filter.py} $RPM_BUILD_ROOT/etc/asciidoc/filters/
|
||
|
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
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
/etc/asciidoc
|
||
|
%{_datadir}/asciidoc
|
||
|
%{_bindir}/*
|
||
|
%doc %{_mandir}/man1/*
|
||
|
%doc README BUGS CHANGELOG COPYRIGHT doc examples
|
||
|
|
||
|
%changelog -n asciidoc
|
||
|
* Thu Nov 23 2006 - tiwai@suse.de
|
||
|
- Add missing a2x and other config files (#223299).
|
||
|
* Thu Oct 12 2006 - tiwai@suse.de
|
||
|
- 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
|
||
|
* Mon May 15 2006 - tiwai@suse.de
|
||
|
- updated to version 7.1.2.
|
||
|
* a2x toolchain wrapper
|
||
|
* ASCIIMathML support
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Wed Jan 11 2006 - tiwai@suse.de
|
||
|
- updated to version 7.0.4.
|
||
|
* Fri Jul 01 2005 - tiwai@suse.de
|
||
|
- fixed norootforbuild.
|
||
|
* Fri Jun 24 2005 - tiwai@suse.de
|
||
|
- initial version: 7.0.1.
|