Sisyphus repository
Last update: 19 october 2019 | SRPMs: 17506 | Visits: 15301723
en ru br
ALT Linux repos
5.0: 0.6.14-alt2
4.1: 0.6.14-alt1
4.0: 0.6.14-alt1
3.0: 0.6.13-alt1

Group :: Publishing
RPM: docbook-utils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: docbook-utils
Version: 0.6.14
Release: alt4

Summary: Shell scripts for managing DocBook documents
Group: Publishing
License: GPLv2+
BuildArch: noarch


Source0: %name-%version.tar
Source1: db2html
Source2: gdp-both.dsl
# Newer version of for better handling of docbook2man
# conversion from

Patch0: docbook-utils-spaces.patch
Patch1: docbook-utils-2ndspaces.patch
Patch2: docbook-utils-w3mtxtconvert.patch
Patch3: docbook-utils-grepnocolors.patch
Patch4: docbook-utils-sgmlinclude.patch
Patch5: docbook-utils-rtfmanpage.patch
Patch6: docbook-utils-papersize.patch
Patch7: docbook-utils-nofinalecho.patch

Patch11: docbook-alt-jw-grep.patch.patch
Patch12: docbook-alt-docbook2man-spec.diff

Requires: docbook-style-dsssl >= 1.72
Requires: docbook-dtds
Requires: openjade >= 1.3.2
Requires: OpenSP
Requires: perl-SGMLSpm >= 1.03ii
Conflicts: sgml-tools < 0:0.6.9-ipl24mdk

BuildPreReq: perl(
# Automatically added by buildreq on Tue Sep 16 2008
BuildRequires: OpenSP docbook-style-dsssl openjade

%define du_dir %_datadir/sgml/docbook/utils-%version
%define _compress_method gzip
%define docdir %_docdir/%name-%version

These little scripts allow to convert DocBook files to other formats
(HTML, RTF, TeX...), and to compare SGML files.

%package print
Summary: Scripts for converting DocBook documents to PDF, PostScript and DVI
Group: Publishing
Provides: %name-pdf
Obsoletes: %name-pdf < %version-%release
Requires: %name = %version-%release
Requires: jadetex >= 2.5
Requires: %_bindir/dvips

%description print
The scripts from %name distribution that allow to convert DocBook files
to formats suitable for printing (PostScript, PDF, DVI).

install -pm755 %_sourcedir/ helpers/
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch11 -p1
%patch12 -p1


%makeinstall htmldir=%buildroot%docdir

for util in dvi html pdf ps rtf; do
ln -s docbook2$util %buildroot%_bindir/db2$util
ln -s jw.1 %buildroot%_man1dir/db2$util.1
ln -s jw.1 %buildroot%_man1dir/docbook2txt.1

# db2html is not just a symlink, as it has to create the output directory

rm %buildroot%_bindir/db2html
install -pm755 %_sourcedir/db2html %buildroot%_bindir/db2html

install -pm644 %_sourcedir/gdp-both.dsl \

install -pm644 AUTHORS NEWS README TODO %buildroot%docdir/

# frontend-spec and backend-spec names are too generic

for f in %buildroot%_man7dir/*-spec.*; do
mv -f "$f" %buildroot%_man7dir/jw-"${f##*/}"

%exclude %_bindir/*dvi
%exclude %_bindir/*pdf
%exclude %_bindir/*ps
%exclude %du_dir/backends/dvi
%exclude %du_dir/backends/pdf
%exclude %du_dir/backends/ps
%exclude %_man1dir/*dvi.1*
%exclude %_man1dir/*pdf.1*
%exclude %_man1dir/*ps.1*

%files print


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin