diff --git a/.docbook-slides.metadata b/.docbook-slides.metadata
new file mode 100644
index 0000000..8c0c9ea
--- /dev/null
+++ b/.docbook-slides.metadata
@@ -0,0 +1,2 @@
+f8ccdda711ec4b65ccdb2f5e31d6ca7649af6b64 SOURCES/docbook-slides-tests.tar.gz
+83aa1be4c4077cbe5193f045bd53f20984c1d122 SOURCES/docbook-slides-3.4.0.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 0e7897f..0000000
--- a/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-The master branch has no content
-
-Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6
-
-If you find this file in a distro specific branch, it means that no content has been checked in yet
diff --git a/SOURCES/docbook-slides.README.redhat b/SOURCES/docbook-slides.README.redhat
new file mode 100644
index 0000000..4b0986c
--- /dev/null
+++ b/SOURCES/docbook-slides.README.redhat
@@ -0,0 +1,129 @@
+docbook-slides - basic distribution howto
+-----------------------------------------
+
+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.
+
+Information on generating HTML slides from the source XML document are
+given below.
+
+0. Using Processing Instructions in Your Source Document:
+=========================================================
+
+In lieu of setting parameters in the xsl stylesheets, you might wish
+to set a few of them in the source document itself. You may do this
+using what are known as XML Processing Instructions, or PIs, for
+short. Parameters that you may set with this method include:
+
+ - graphics-dir
+ - css-stylesheet-dir
+ - script-dir
+
+ The 'graphics-dir' parameter refers to the 'graphics' directory
+ included in the package.
+
+ The 'css-stylesheet-dir' and the 'script-dir' both (by default)
+ correspond to the 'browser' directory included in the package.
+
+To set these parameters using PIs, you might start your document as
+follows:
+
+
+
+
+
+
+The paths to the directories in the PIs should be specified relative
+to the location of the HTML output files.
+
+** Note that you should copy these directories from their installed
+ locations in /usr/share/xml/docbook/slides/3.4.0/ to the location
+ where you build your slide presentation.
+
+
+I. To Compose Slides That Use The (Default) Simplified Docbook DTD:
+===================================================================
+
+Use the following prolog to create a source document based on a
+customization of the Simplified DocBook DTD (~100 elements), rather
+than the full DocBook XML DTD (~380 elements). This version should be
+sufficient for most presentations.
+
+
+
+
+
+ ...
+
+
+
+II. To Compose Slides Using The Full DocBook XML DTD:
+=====================================================
+
+Use the following prolog to create a source document based on the full
+DocBook XML DTD. Using this DTD will give you full access to most of
+the ~380 elements in the DocBook XML V4.2 DTD. This DTD/prolog would
+be useful, e.g., if you plan to use a number of programming constructs
+in your slide presentation.
+
+
+
+
+
+ ...
+
+
+
+III. Generating HTML Slides From Your XML Source Document:
+=========================================================
+
+First, you must choose a style for your presentation, and hence a
+stylesheet for processing your slides:
+
+* slides.xsl produces basic slides in HTML, one page per slide.
+
+* frames.xsl produces slides in HTML using frames.
+
+* tables.xsl produces slides in HTML using tables, one page per slide.
+
+* w3c.xsl produces basic slides in HTML, one page per slide, using a
+ navigation style similar to that of most W3C talks.
+
+You will also wish to further customize your slides by setting some
+parameters for the XSL stylesheets. See the package documentation for
+the list of available parameters, or take a peek at
+/usr/share/xml/docbook/slides/3.4.0/xsl/html/xsl/html/param.xsl.
+
+
+To generate slides from xsltproc, with frames and setting the overlay
+logo for the ToC frame, you would issue a command like:
+
+
+xsltproc --stringparam overlay.logo http://docbook.sourceforge.net/release/buttons/slides-1.png \
+ /usr/share/xml/docbook/slides/3.4.0/xsl/html/frames.xsl sourcefile.xml
+
+
+In addition to the documentation included with this package, you may
+wish to download the slides-demo package, which provides examples of
+each style of slide presentation. The slides-demo package can be
+downloaded from http://sourceforge.net/projects/docbook. I may also
+package the slides-demo as an rpm, if there is sufficient demand.
+
+
+Feel free to offer comments, suggestions, or complaints.
+
+ Mark
+
+
+ -- Mark Johnson , Wed Sep 8 16:15:00 EDT 2004
+ --update: Ondrej Vasik
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SPECS/docbook-slides.spec b/SPECS/docbook-slides.spec
new file mode 100644
index 0000000..8adff77
--- /dev/null
+++ b/SPECS/docbook-slides.spec
@@ -0,0 +1,226 @@
+%define pkg docbook-slides
+Summary: DocBook Slides document type and stylesheets
+Name: docbook-slides
+Version: 3.4.0
+Release: 12%{?dist}
+License: MIT
+Group: Applications/Text
+URL: http://sourceforge.net/projects/docbook
+Source0: http://downloads.sourceforge.net/docbook/%{name}-%{version}.tar.gz
+Source1: %{name}.xml
+Source2: %{name}.cat
+Source3: %{name}.README.redhat
+#tests update and buildtools could be downloaded at upstream svn ... e.g.
+#http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/slides/tests/
+Source4: %{name}-tests.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch: noarch
+Requires: docbook-dtds
+Requires: docbook-xsl
+Requires: docbook-simple
+Requires: sgml-common
+Requires(post): sed
+Requires(post): libxml2 >= 2.4.8
+Requires(postun): libxml2 >= 2.4.8
+
+
+%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 -n %{pkg}-%{version}
+tar xf %{SOURCE4}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+DESTDIR=$RPM_BUILD_ROOT%{_datadir}/xml/docbook/slides/%{version}
+mkdir -p $DESTDIR
+cp -a browser $DESTDIR
+cp -a graphics $DESTDIR
+cp -a schema $DESTDIR
+cp -a xsl $DESTDIR
+cp -a VERSION $DESTDIR
+cp -a catalog.xml $DESTDIR
+
+## Install package catalogs into /etc/*ml/ ##
+
+XML_CAT_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/xml
+mkdir -p $XML_CAT_DIR
+install -p -m 644 %{SOURCE1} $XML_CAT_DIR
+
+SGML_CAT_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/sgml
+mkdir -p $SGML_CAT_DIR
+install -p -m 644 %{SOURCE2} $SGML_CAT_DIR
+
+cp -p %{SOURCE3} ./README2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-,root,root, -)
+%doc doc
+%doc tests
+%doc README
+%doc NEWS
+%doc README2
+%dir %{_datadir}/xml/docbook/slides/
+%{_datadir}/xml/docbook/slides/%{version}
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sgml/docbook-slides.cat
+%config(noreplace) %{_sysconfdir}/xml/docbook-slides.xml
+
+
+%post
+
+################## XML catalog registration #######################
+
+## Define handy variables ##
+
+ROOT_XML_CATALOG=%{_sysconfdir}/xml/catalog
+PKG_XML_CATALOG=%{_sysconfdir}/xml/docbook-slides.xml
+#LOCAL_XML_CATALOG=/usr/share/xml/docbook/slides/3.4.0/catalog.xml
+
+#
+# Register it in the super catalog with the appropriate delegates
+#
+if [ -w $ROOTCATALOG ]
+then
+ %{_bindir}/xmlcatalog --noout --add "delegatePublic" \
+ "-//Norman Walsh//DTD Slides" \
+ "file://$PKG_XML_CATALOG" $ROOT_XML_CATALOG
+
+ %{_bindir}/xmlcatalog --noout --add "delegateSystem" \
+ "http://docbook.sourceforge.net/release/slides" \
+ "file://$PKG_XML_CATALOG" $ROOT_XML_CATALOG
+ %{_bindir}/xmlcatalog --noout --add "delegateURI" \
+ "http://docbook.sourceforge.net/release/slides" \
+ "file://$PKG_XML_CATALOG" $ROOT_XML_CATALOG
+fi
+####################################################################
+
+
+################# SGML catalog registration ######################
+
+ROOT_SGML_CATALOG=%{_sysconfdir}/sgml/catalog
+PKG_SGML_CATALOG=%{_sysconfdir}/sgml/docbook-slides.cat
+
+#### Root SGML Catalog Entries ####
+#### "Delegate" appropriate lookups to package catalog ####
+
+############## use install-catalog ######################
+
+if [ -w $ROOT_SGML_CATALOG ]
+then
+# xmlcatalog deletes OVERRIDE YES directive, use install-catalog instead
+# /usr/bin/xmlcatalog --sgml --noout --add \
+# "/etc/sgml/docbook-slides.cat"
+
+ install-catalog --add \
+ $PKG_SGML_CATALOG \
+ $ROOT_SGML_CATALOG 1>/dev/null
+
+# Hack to workaround bug in install-catalog
+ sed -i '/^CATALOG.*log\"$/d' $PKG_SGML_CATALOG
+ sed -i '/^CATALOG.*log$/d' $PKG_SGML_CATALOG
+fi
+
+####################################################################
+
+# Finally, make sure everything in /etc/*ml is readable!
+/bin/chmod a+r %{_sysconfdir}/sgml/*
+/bin/chmod a+r %{_sysconfdir}/xml/*
+
+%postun
+##
+## SGML and XML catalogs
+##
+## Jobs: remove package catalog entries from both root catalogs &
+## remove package catalogs
+
+# remove catalog entries only on removal of package
+if [ "$1" = 0 ]; then
+ %{_bindir}/xmlcatalog --sgml --noout --del \
+ %{_sysconfdir}/sgml/catalog \
+ "%{_sysconfdir}/sgml/docbook-slides.cat"
+
+ %{_bindir}/xmlcatalog --noout --del \
+ "file://%{_sysconfdir}/xml/docbook-slides.xml" \
+ %{_sysconfdir}/xml/catalog
+fi
+
+%changelog
+* Tue Nov 27 2012 Ondrej Vasik 3.4.0-12
+- avoid using Fedora in the README2 file (portability)
+
+* Wed Jul 18 2012 Fedora Release Engineering - 3.4.0-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering - 3.4.0-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering - 3.4.0-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue May 18 2010 Ondrej Vasik - 3.4.0-8
+- post scriptlet requires sed (#593081)
+
+* Fri Jul 24 2009 Fedora Release Engineering - 3.4.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering - 3.4.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Nov 21 2008 Ondrej Vasik - 3.4.0-5
+- move tests subdir from tarball (sourceaudit check md5sum
+ failure)
+- license should be MIT
+
+* Fri Jul 18 2008 Ondrej Vasik - 3.4.0-4
+- fix loop in post catalog registration(incomplete sed
+ coverage) #455680
+- fix broken catalogs for package updates
+- fix removal of files during updates
+
+* Tue Nov 06 2007 Ondrej Vasik - 3.4.0-3
+- merge review(#225702)
+- spec file changed to follow guidelines
+
+* Wed Oct 24 2007 Ondrej Vasik - 3.4.0-2
+- rpmlint check
+- fixed wrong requirements, some cosmetic changes
+- /etc/ files marked as config
+
+* Fri May 25 2007 Ondrej Vasik - 3.4.0-1
+- Initial public release
+- updated cvs files
+
+* Wed Jul 12 2006 Jesse Keating - 3.3.1-2.1.1
+- rebuild
+
+* Fri Dec 09 2005 Jesse Keating
+- rebuilt
+
+* Wed Sep 8 2004 Mark Johnson 3.3.1-1
+- Initial public release
+- Moved files to /usr/share/xml
+- Added SGML catalog registration
+- Fixed catalog.xml, which gets broken by xmlcatalog
+- Composed README.fedora
+
+* Mon Feb 2 2004 Tim Waugh 3.3.1-0.1
+- 3.3.1.
+
+* Tue Dec 23 2003 Tim Waugh 3.3.0-0.1
+- 3.3.0.
+
+* Wed Oct 22 2003 Tim Waugh 3.2.0-0.1
+- Initial build.
+
+