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 http://bugs.opensuse.org/
#



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
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

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

%build
autoreconf -i -f
%configure
make %{?_smp_mflags}

%install
make DESTDIR=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT/usr/doc/html/docbook* html

%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