File docbook-utils.spec of Package docbook-utils

# spec file for package docbook-utils
# Copyright (c) 2011 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

Name:           docbook-utils
BuildRequires:  docbook-dsssl-stylesheets openjade sgml-skel
Summary:        Small Wrapper Scripts for Processing DocBook Files
Version:        0.6.14
Release:        214
Group:          Productivity/Publishing/DocBook
License:        LGPLv2.1+
Requires:       texlive-jadetex docbook_4 docbook_3 openjade opensp sgml-skel iso_ent docbook-dsssl-stylesheets
Requires:       perl-SGMLS
Patch0:         docbook-utils-catalog-jw.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

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

%setup -q
%patch0 -p1 -b .catalog

autoreconf -i -f
make %{?_smp_mflags}

mv $RPM_BUILD_ROOT/usr/doc/html/docbook* html

%defattr (-,root,root)