diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a4d0ffc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/rngom-201103.tar.gz
diff --git a/.rngom.metadata b/.rngom.metadata
new file mode 100644
index 0000000..24040af
--- /dev/null
+++ b/.rngom.metadata
@@ -0,0 +1 @@
+c7932e7ddad671f1a99d5bdba0ad69bd68876036 SOURCES/rngom-201103.tar.gz
diff --git a/SOURCES/rngom-201103-pom.patch b/SOURCES/rngom-201103-pom.patch
new file mode 100644
index 0000000..7c87afe
--- /dev/null
+++ b/SOURCES/rngom-201103-pom.patch
@@ -0,0 +1,37 @@
+diff -Naur rngom-201103-SNAPSHOT/pom.xml rngom-201103-SNAPSHOT-work/pom.xml
+--- rngom-201103-SNAPSHOT/pom.xml 2011-04-06 11:33:13.000000000 -0400
++++ rngom-201103-SNAPSHOT-work/pom.xml 2012-01-19 11:28:03.124001130 -0500
+@@ -156,33 +156,6 @@
+
+
+
+- maven-antrun-plugin
+- 1.6
+-
+-
+- generate-sources
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+- run
+-
+-
+-
+-
+-
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
diff --git a/SPECS/rngom.spec b/SPECS/rngom.spec
new file mode 100644
index 0000000..defe0c6
--- /dev/null
+++ b/SPECS/rngom.spec
@@ -0,0 +1,131 @@
+Name: rngom
+Version: 201103
+Release: 0.8.20120119svn%{?dist}
+Summary: Java library for parsing RELAX NG grammars
+Group: Development/Libraries
+License: MIT
+URL: https://rngom.dev.java.net
+
+# svn export -r 70 https://svn.java.net/svn/rngom~svn/trunk/rngom rngom-201103
+# find rngom-201103/ -name '*.class' -delete
+# find rngom-201103/ -name '*.jar' -delete
+# tar czf rngom-201103.tar.gz rngom-201103
+Source0: %{name}-%{version}.tar.gz
+Patch0: %{name}-%{version}-pom.patch
+
+BuildRequires: bsf
+BuildRequires: bsh
+BuildRequires: stax2-api
+BuildRequires: javacc
+BuildRequires: javacc-maven-plugin
+BuildRequires: jpackage-utils
+BuildRequires: junit4
+BuildRequires: maven-local
+BuildRequires: maven-clean-plugin
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-enforcer
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-install-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-surefire-plugin
+BuildRequires: msv-xsdlib
+BuildRequires: relaxngDatatype
+BuildRequires: sonatype-oss-parent
+BuildRequires: xmlunit
+
+Requires: stax2-api
+Requires: jpackage-utils
+Requires: msv-xsdlib
+Requires: relaxngDatatype
+
+BuildArch: noarch
+
+
+%description
+RNGOM is an open-source Java library for parsing RELAX NG grammars.
+
+In particular, RNGOM can:
+* parse the XML syntax
+* parse the compact syntax
+* check all the semantic restrictions as specified in the specification
+* parse RELAX NG into application-defined data structures
+* build a default data structure based around the binarized simple syntax or
+ another data structure that preserves more of the parsed information
+* parse foreign elements/attributes in a schema
+* parse comments in a schema
+
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+
+%install
+
+# Jar files:
+install -d -m 755 %{buildroot}%{_javadir}
+cp -p target/rngom-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# POM files:
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+cp -p pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+# Javadoc files:
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/.
+
+# Dependencies map:
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+
+%files
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+
+
+%files javadoc
+%{_javadocdir}/*
+
+
+%changelog
+* Fri Dec 27 2013 Daniel Mach - 201103-0.8.20120119svn
+- Mass rebuild 2013-12-27
+
+* Thu Feb 14 2013 Fedora Release Engineering - 201103-0.7.20120119svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Wed Feb 06 2013 Java SIG - 201103-0.6.20120119svn
+- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
+- Replace maven BuildRequires with maven-local
+
+* Sat Jul 21 2012 Fedora Release Engineering - 201103-0.5.20120119svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Feb 23 2012 Juan Hernandez 201103-0.4.20120119svn
+- Make explicit the checked out revision number in the comments
+
+* Sat Feb 18 2012 Juan Hernandez 201103-0.3.20120119svn
+- Remove the binary file lic.jar from the source tarball
+
+* Fri Feb 17 2012 Juan Hernandez 201103-0.2.20120119svn
+- Cleanup of the spec file
+
+* Sat Jan 21 2012 Marek Goldmann 201103-0.1.20120119svn
+- Initial packaging
+