--- /dev/null
+-- BEGIN OASIS TR 9401:1997 catalog for docbook-slides V3.4.0 --
+OVERRIDE YES
+PUBLIC "-//Norman Walsh//DTD Slides XML V3.4.0//EN" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides.dtd"
+PUBLIC "-//Norman Walsh//DTD Slides Custom XML V3.4.0//EN" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides-custom.dtd"
+PUBLIC "-//Norman Walsh//DTD Slides Full XML V3.4.0//EN" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides-full.dtd"
+
+SYSTEM "http://docbook.sourceforge.net/release/slides/3.4.0/schema/dtd/slides.dtd" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides.dtd"
+SYSTEM "http://docbook.sourceforge.net/release/slides/3.4.0/schema/dtd/slides-custom.dtd" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides-custom.dtd"
+SYSTEM "http://docbook.sourceforge.net/release/slides/3.4.0/schema/dtd/slides-full.dtd" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides-full.dtd"
+
+SYSTEM "http://docbook.sourceforge.net/release/slides/current/schema/dtd/slides.dtd" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides.dtd"
+SYSTEM "http://docbook.sourceforge.net/release/slides/current/schema/dtd/slides-custom.dtd" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides-custom.dtd"
+SYSTEM "http://docbook.sourceforge.net/release/slides/current/schema/dtd/slides-full.dtd" "/usr/share/xml/docbook/slides/3.4.0/schema/dtd/slides-full.dtd"
+-- END OASIS TR 9401:1997 catalog for docbook-slides V3.4.0 --
--- /dev/null
+Summary: DocBook Slides document type and stylesheets
+Name: docbook-slides
+Version: 3.4.0
+Release: 1
+License: MIT
+Group: Applications/Publishing/XML
+Source0: http://downloads.sourceforge.net/docbook/%{name}-%{version}.tar.gz
+# Source0-md5: 26e2083077454d7140f2b82ae3d66123
+Source1: %{name}.xml
+Source2: %{name}.cat
+URL: http://sourceforge.net/projects/docbook
+Requires(post,preun): /usr/bin/install-catalog
+Requires(post,preun): /usr/bin/xmlcatalog
+Requires: libxml2-progs >= 2.4.17-6
+Requires: sgml-common
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define dtd_path %{_datadir}/xml/docbook/slides/%{version}
+%define xmlcat_file %{dtd_path}/catalog.xml
+%define sgmlcat_file %{dtd_path}/catalog
+
+%description
+DocBook Slides provides customization layers of the both the
+Simplified and the full DocBook XML DTD, as well as the DocBook XSL
+Stylesheets. This package contains the XML document type definition
+and stylesheets for processing DocBook Slides XML. The slides doctype
+and stylesheets are for generating presentations, primarily in HTML.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{dtd_path}
+
+cp -a browser graphics schema xsl VERSION $RPM_BUILD_ROOT%{dtd_path}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{xmlcat_file}
+install %{SOURCE2} $RPM_BUILD_ROOT%{sgmlcat_file}
+
+%docbook_sgmlcat_fix $RPM_BUILD_ROOT%{sgmlcat_file} %{version}
+
+%xmlcat_add_rewrite \
+ http://www.oasis-open.org/docbook/xml/%{version} \
+ file://%{dtd_path} \
+ $RPM_BUILD_ROOT%{xmlcat_file}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if ! grep -q /etc/sgml/slides.cat /etc/sgml/catalog ; then
+ %sgmlcat_add /etc/sgml/slides.cat %{sgmlcat_file}
+
+fi
+if ! grep -q %{xmlcat_file} /etc/xml/catalog ; then
+ %xmlcat_add %{xmlcat_file}
+
+fi
+
+%preun
+if [ "$1" = "0" ] ; then
+ %sgmlcat_del /etc/sgml/slides.cat %{sgmlcat_file}
+ %xmlcat_del %{xmlcat_file}
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc BUGS NEWS README RELEASE-NOTES.txt TODO doc
+%{dtd_path}
--- /dev/null
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN"
+"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+
+<!-- XML package catalog for docbook-slides -->
+
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
+
+ <delegatePublic publicIdStartString="-//Norman Walsh//DTD Slides"
+ catalog="file:///usr/share/xml/docbook/slides/3.4.0/catalog.xml"/>
+
+ <delegateSystem systemIdStartString="http://docbook.sourceforge.net/release/slides/3.4.0/"
+ catalog="file:///usr/share/xml/docbook/slides/3.4.0/catalog.xml"/>
+
+ <delegateURI uriStartString="http://docbook.sourceforge.net/release/slides/3.4.0/"
+ catalog="file:///usr/share/xml/docbook/slides/3.4.0/catalog.xml"/>
+
+ <delegateSystem systemIdStartString="http://docbook.sourceforge.net/release/slides/current/"
+ catalog="file:///usr/share/xml/docbook/slides/3.4.0/catalog.xml"/>
+
+ <delegateURI uriStartString="http://docbook.sourceforge.net/release/slides/current/"
+ catalog="file:///usr/share/xml/docbook/slides/3.4.0/catalog.xml"/>
+
+</catalog>