diff --git a/.gl-manpages.metadata b/.gl-manpages.metadata
new file mode 100644
index 0000000..a69eae7
--- /dev/null
+++ b/.gl-manpages.metadata
@@ -0,0 +1,3 @@
+570b92daef50ce6d425f32d59a3be2de7c07da9e SOURCES/gl-manpages-1.1-20130122.tar.xz
+dc94176431df6ba06e94bca12b4c7b4a833b853c SOURCES/gl-manpages-1.0.1.tar.bz2
+3cd9b1db626259756215e8aa92f70feff4c77116 SOURCES/mathml2.tgz
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/dbmathml.dtd b/SOURCES/dbmathml.dtd
new file mode 100644
index 0000000..6c4dbd7
--- /dev/null
+++ b/SOURCES/dbmathml.dtd
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+%docbook;
+
+
+
+
+
+
+
+
+%mathml;
+
+
+
diff --git a/SOURCES/make-gl-man-snapshot.sh b/SOURCES/make-gl-man-snapshot.sh
new file mode 100644
index 0000000..9bb13f5
--- /dev/null
+++ b/SOURCES/make-gl-man-snapshot.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+TODAY=`date +%Y%m%d`
+DIR=gl-manpages-1.1-$TODAY
+mkdir -p $DIR
+for MAN in man4 man3 man2 manglsl ; do
+ svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/$MAN/ $DIR/$MAN
+done
+find $DIR -name .svn | xargs rm -rf
+tar cJf $DIR.tar.xz $DIR
diff --git a/SOURCES/metainfo.xsl b/SOURCES/metainfo.xsl
new file mode 100644
index 0000000..eb38dfa
--- /dev/null
+++ b/SOURCES/metainfo.xsl
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ consortium
+ opengl.org
+
+
+
+
+
+ manual
+ OpenGL Manual
+
+
+
+
+
diff --git a/SPECS/gl-manpages.spec b/SPECS/gl-manpages.spec
new file mode 100644
index 0000000..777de52
--- /dev/null
+++ b/SPECS/gl-manpages.spec
@@ -0,0 +1,96 @@
+%global codate 20130122
+
+Name: gl-manpages
+Version: 1.1
+Release: 6.%{codate}%{?dist}
+Summary: OpenGL manpages
+
+License: MIT and Open Publication
+URL: http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages
+# see Source1
+Source0: gl-manpages-%{version}-%{codate}.tar.xz
+Source1: make-gl-man-snapshot.sh
+# FIXME: Bundle mathml and the Oasis dbmathl until they are packaged
+Source2: http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd
+Source3: http://www.w3.org/Math/DTD/mathml2.tgz
+# FIXME These are the old gl-manpages source which
+# still have some manpages that khronos doesn't.
+# Ship until somebody in the know helps figuring whats what.
+# When matching install the kronos version.
+Source4: gl-manpages-1.0.1.tar.bz2
+#Silence author/version/manual etc. warnings
+Source5: metainfo.xsl
+
+BuildArch: noarch
+
+BuildRequires: libxslt docbook-style-xsl
+
+%description
+OpenGL manpages
+
+%prep
+%setup -q -n %{name}-%{version}-%{codate}
+tar xzf %{SOURCE3}
+cp -av %{SOURCE2} mathml2/
+tar xjf %{SOURCE4}
+
+
+%build
+# FIXME Figure out how to build the GLSL manpages
+export BD=`pwd`
+xmlcatalog --create --noout \
+ --add public "-//W3C//DTD MathML 2.0//EN" "file://$BD/mathml2/mathml2.dtd" \
+ --add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" "file://$BD/mathml2/mathml2.dtd" \
+ --add public "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" "file://$BD/mathml2/dbmathml.dtd" \
+ --add system "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" "file://$BD/mathml2/dbmathml.dtd" \
+ mathml2.cat
+export XML_CATALOG_FILES="$BD/mathml2.cat /etc/xml/catalog"
+for MAN in man4 man3 man2 ; do
+ pushd $MAN
+ for MANP in gl*.xml ; do
+ xsltproc --nonet %{SOURCE5} $MANP | xsltproc --nonet /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl -
+ done
+ popd
+done
+
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
+cp -n {man4,man3,man2}/*.3G $RPM_BUILD_ROOT%{_mandir}/man3/
+# install the old manpages source with 3gl -> 3G
+# when matchin don't clobber the khronos version
+for MANP in `find gl-manpages-1.0.1 -name *.3gl` ; do
+ FN=${MANP//*\//}
+ cp -a -n $MANP $RPM_BUILD_ROOT%{_mandir}/man3/${FN/.3gl/.3G}
+done
+find $RPM_BUILD_ROOT%{_mandir}/man3/ -type f -size -100b | xargs sed -i -e 's/\.3gl/\.3G/' -e 's,^\.so man3G/,.so man3/,'
+
+
+%files
+%{_mandir}/man3/*
+
+
+%changelog
+* Wed Feb 13 2013 Fedora Release Engineering - 1.1-6.20130122
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Tue Jan 22 2013 Yanko Kaneti - 1.1-5.%{codate}
+- Newer upstream snapshot. Minor upstream rearrangement.
+- Remove checkout script from sources and add to git.
+- Try to actually use the bundled mathml2. Fix warnings.
+
+* Wed Jan 16 2013 Yanko Kaneti - 1.1-4.%{codate}
+- Fix symlinked man references some more (#895986)
+
+* Mon Oct 15 2012 Yanko Kaneti - 1.1-3.%{codate}
+- Fix symlinked man variants.
+- Preserve timestamps on the older gl-manpages.
+
+* Tue Oct 9 2012 Yanko Kaneti - 1.1-2.%{codate}
+- Re-add the older gl-manpages for those not present in khronos
+
+* Tue Oct 9 2012 Yanko Kaneti - 1.1-1.%{codate}
+- Try building from source
+
+* Wed Sep 5 2012 Yanko Kaneti - 1.0.1-1
+- Initial split from mesa