File livedtd.spec of Package livedtd

#
# spec file for package livedtd (Version 2003.2.22)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#

# norootforbuild

Name:         livedtd
URL:          http://www.sagehill.net/livedtd/
Group:        Productivity/Publishing/XML
License:      BSD
Summary:      DTD Visualizing Tool
Version:      2003.2.22
Release:      5
Source0:      http://www.sagehill.net/livedtd/downloads/%{name}.tar.gz
Patch:        livedtd-catalog.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch

%description
The package comes with a Perl script (livedtd.pl) that converts an SGML
or XML DTD (Document Type Definition) into an HTML document.  The HTML
document is exactly the same text as the DTD but with "live" links that
let you navigate through the DTD.



Authors:
--------
    Robert Stayton <bobs@sagehill.net>

%prep
%setup0 -q -c -n %{name}
%patch0 -p 1 -b .catalog

%install
if [ -n $RPM_BUILD_ROOT ]; then
  rm -fr $RPM_BUILD_ROOT
  install -d $RPM_BUILD_ROOT
fi
install -d $RPM_BUILD_ROOT%{_datadir}/%{name} \
  $RPM_BUILD_ROOT%{_bindir}
cp -a OASIS $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 755 *.pl $RPM_BUILD_ROOT%{_bindir}

%files
%defattr(-, root, root)
%doc README
%{_bindir}/*
%{_datadir}/%{name}

%changelog -n livedtd
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 - dmueller@suse.de
- add norootforbuild
* Tue Dec 07 2004 - ke@suse.de
- New package.
openSUSE Build Service is sponsored by