File docbook-utils.spec of Package docbook-utils
#
# spec file for package docbook-utils (Version 0.6.14)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: docbook-utils
BuildRequires: docbook-dsssl-stylesheets openjade sgml-skel
Summary: Small Wrapper Scripts for Processing DocBook Files
Version: 0.6.14
Release: 213
Group: Productivity/Publishing/DocBook
License: LGPL v2.1 or later
Requires: texlive-jadetex docbook_4 docbook_3 openjade opensp sgml-skel iso_ent docbook-dsssl-stylesheets
Requires: perl-SGMLS
Source: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-%{version}.tar.gz
Patch0: docbook-utils-catalog-jw.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The docbook-utils package is a set of a few small programs intended to
ease everyday use of technical documentation software based on the
DocBook DTD, either written in SGML or XML.
Tasks they currently accomplish are: * jw: convert SGML files to
other formats (HTML, RTF, PostScript, PDF)
* sgmldiff: detect the differences in markup between two SGML files
Authors:
--------
Eric Bischoff <e.bischoff@noos.fr>
Mark Galassi <rosalia@galassi.org>
Jochem Huhmann <joh@revier.com>
Steve Cheng <steve@ggi-project.org>
Frederik Fouvry <fouvry@sfs.nphil.uni-tuebingen.de>
Tim Waugh <twaugh@redhat.com>
%prep
%setup -q
%patch0 -p1 -b .catalog
%build
autoreconf -i -f
./configure --prefix=%{_prefix} --mandir=%{_mandir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT/usr/doc/html/docbook* html
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr (-,root,root)
%doc README COPYING TODO html
%{_prefix}/bin/jw
%{_prefix}/bin/docbook2*
%{_prefix}/bin/sgmldiff
%{_prefix}/share/sgml/docbook/utils-%{version}
%{_mandir}/man?/*
%changelog
* Mon Mar 17 2008 werner@suse.de
- Use texlive-jadetex instead of jadetex
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Nov 26 2004 ke@suse.de
- Require 'jadetex'; reported by Philipp Thomas [#48577].
* Mon Nov 08 2004 ke@suse.de
- Prepend ':' to the list of SGML_EXTRA_CATALOGS to make sure
SGML_CATALOG_FILES are always properly separated; reported by Ruediger
Oertel.
* Mon Nov 08 2004 ke@suse.de
- Fix problem with finding XML related catalogs; reported by Kerry Cox
[# 48020].
* Thu Feb 12 2004 ke@suse.de
- Update to version 0.6.14: bugfixes, use w3m als fallback for text
generation.
* Thu Jan 15 2004 ke@suse.de
- Update to version 0.6.13.
* Thu Jun 12 2003 coolo@suse.de
- package dirs too
* Mon May 19 2003 coolo@suse.de
- package docs too
* Mon Apr 16 2001 adrian@suse.de
- created package