diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..061e089
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+SOURCES/xml-commons-external-1.4.01-src.tar.gz
diff --git a/.xml-commons-apis.metadata b/.xml-commons-apis.metadata
new file mode 100644
index 0000000..7ac018d
--- /dev/null
+++ b/.xml-commons-apis.metadata
@@ -0,0 +1 @@
+2e769f68fd3d3ab8be1539fafc8e0bf704098b3d SOURCES/xml-commons-external-1.4.01-src.tar.gz
diff --git a/SOURCES/xml-apis-2.0.2.pom b/SOURCES/xml-apis-2.0.2.pom
new file mode 100644
index 0000000..664f0df
--- /dev/null
+++ b/SOURCES/xml-apis-2.0.2.pom
@@ -0,0 +1,13 @@
+
+ 4.0.0
+ xml-apis
+ xml-apis
+ 2.0.2
+
+
+ xml-apis
+ xml-apis
+ 1.0.b2
+
+
+
\ No newline at end of file
diff --git a/SOURCES/xml-apis-ext-1.3.04.pom b/SOURCES/xml-apis-ext-1.3.04.pom
new file mode 100644
index 0000000..2e558ff
--- /dev/null
+++ b/SOURCES/xml-apis-ext-1.3.04.pom
@@ -0,0 +1,42 @@
+
+
+
+ apache
+ org.apache
+ 3
+
+ 4.0.0
+ xml-apis
+ xml-apis-ext
+ XML Commons External Components XML APIs Extensions
+ 1.3.04
+ xml-commons provides an Apache-hosted set of DOM, SAX, and
+ JAXP interfaces for use in other xml-based projects. Our hope is that we
+ can standardize on both a common version and packaging scheme for these
+ critical XML standards interfaces to make the lives of both our developers
+ and users easier. The External Components portion of xml-commons contains
+ interfaces that are defined by external standards organizations. For DOM,
+ that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for
+ JAXP it's Sun.
+ http://xml.apache.org/commons/components/external/
+
+ bugzilla
+ http://issues.apache.org/bugzilla/
+
+
+
+ XML Commons Developer's List
+ commons-dev-subscribe@xml.apache.org
+ commons-dev-unsubscribe@xml.apache.org
+ commons-dev@xml.apache.org
+ http://mail-archives.apache.org/mod_mbox/xml-commons-dev/
+
+
+
+ scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/
+ http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/
+
+
+ deployed
+
+
\ No newline at end of file
diff --git a/SOURCES/xml-commons-apis-MANIFEST.MF b/SOURCES/xml-commons-apis-MANIFEST.MF
new file mode 100644
index 0000000..2e224d8
--- /dev/null
+++ b/SOURCES/xml-commons-apis-MANIFEST.MF
@@ -0,0 +1,24 @@
+Manifest-Version: 1.0
+Bundle-RequiredExecutionEnvironment: J2SE-1.2
+Bundle-SymbolicName: javax.xml
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name.0
+Bundle-Localization: plugin
+Bundle-Version: 1.3.4.v201005080400
+Bundle-Vendor: %Bundle-Vendor.0
+Require-Bundle: system.bundle
+Export-Package: javax.xml;version="1.3",javax.xml.datatype;version="1.
+ 3",javax.xml.namespace;version="1.3",javax.xml.parsers;version="1.3",
+ javax.xml.stream;version="1.3",javax.xml.stream.events;version="1.3",
+ javax.xml.stream.util;version="1.3",javax.xml.transform;version="1.3"
+ ,javax.xml.transform.dom;version="1.3",javax.xml.transform.sax;versio
+ n="1.3",javax.xml.transform.stax;version="1.3",javax.xml.transform.st
+ ream;version="1.3",javax.xml.validation;version="1.3",javax.xml.xpath
+ ;version="1.3",org.apache.xmlcommons;version="1.3.4",org.w3c.dom;vers
+ ion="3.0",org.w3c.dom.bootstrap;version="3.0",org.w3c.dom.css;version
+ ="3.0",org.w3c.dom.events;version="3.0",org.w3c.dom.html;version="3.0
+ ",org.w3c.dom.ls;version="3.0",org.w3c.dom.ranges;version="3.0",org.w
+ 3c.dom.stylesheets;version="3.0",org.w3c.dom.traversal;version="3.0",
+ org.w3c.dom.views;version="3.0",org.w3c.dom.xpath;version="3.0",org.x
+ ml.sax;version="2.0.2",org.xml.sax.ext;version="2.0.2",org.xml.sax.he
+ lpers;version="2.0.2"
diff --git a/SOURCES/xml-commons-apis-ext-MANIFEST.MF b/SOURCES/xml-commons-apis-ext-MANIFEST.MF
new file mode 100644
index 0000000..b2e6fe1
--- /dev/null
+++ b/SOURCES/xml-commons-apis-ext-MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-RequiredExecutionEnvironment: J2SE-1.4,J2SE-1.3,CDC-1.0/Foundat
+ ion-1.0
+Bundle-SymbolicName: org.w3c.dom.svg
+Import-Package: org.w3c.dom
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-Localization: plugin
+Bundle-Version: 1.1.0.v200806040011
+Bundle-Vendor: %providerName
+Export-Package: org.w3c.dom.svg;version="1.1.0"
diff --git a/SPECS/xml-commons-apis.spec b/SPECS/xml-commons-apis.spec
new file mode 100644
index 0000000..1dbdfec
--- /dev/null
+++ b/SPECS/xml-commons-apis.spec
@@ -0,0 +1,310 @@
+Name: xml-commons-apis
+Version: 1.4.01
+Release: 31%{?dist}
+Summary: APIs for DOM, SAX, and JAXP
+License: ASL 2.0 and W3C and Public Domain
+URL: http://xml.apache.org/commons/
+BuildArch: noarch
+
+# From source control because the published tarball doesn't include some docs:
+# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_4_01/java/external/
+# tar czf xml-commons-external-1.4.01-src.tar.gz external
+Source0: xml-commons-external-%{version}-src.tar.gz
+Source1: %{name}-MANIFEST.MF
+Source2: %{name}-ext-MANIFEST.MF
+Source3: http://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom
+Source4: http://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.pom
+
+BuildRequires: javapackages-local
+BuildRequires: ant
+BuildRequires: apache-parent
+
+Provides: xml-commons = %{version}-%{release}
+
+# TODO: Ugh, this next line should be dropped since it actually provides JAXP 1.4 now...
+Provides: xml-commons-jaxp-1.3-apis = %{version}-%{release}
+
+%description
+xml-commons-apis is designed to organize and have common packaging for
+the various externally-defined standard interfaces for XML. This
+includes the DOM, SAX, and JAXP.
+
+%package manual
+Summary: Manual for %{name}
+
+%description manual
+%{summary}.
+
+%package javadoc
+Summary: Javadoc for %{name}
+
+%description javadoc
+%{summary}.
+
+%prep
+%setup -q -n external
+# Make sure upstream hasn't sneaked in any jars we don't know about
+find -name '*.class' -exec rm -f '{}' \;
+find -name '*.jar' -exec rm -f '{}' \;
+
+# Fix file encodings
+iconv -f iso8859-1 -t utf-8 LICENSE.dom-documentation.txt > \
+ LICENSE.dom-doc.temp && mv -f LICENSE.dom-doc.temp LICENSE.dom-documentation.txt
+iconv -f iso8859-1 -t utf-8 LICENSE.dom-software.txt > \
+ LICENSE.dom-sof.temp && mv -f LICENSE.dom-sof.temp LICENSE.dom-software.txt
+
+# disable javadoc linting
+sed -i -e '/javadoc packagenames/aadditionalparam="-Xdoclint:none"' build.xml
+
+# in Java 9+ a single underscore is no longer a valid identifier
+sed -i -e 's/\(Throwable\|Exception\) _/\1 ex/' \
+ src/javax/xml/validation/SchemaFactoryFinder.java \
+ src/javax/xml/xpath/XPathFactoryFinder.java
+
+# remove bogus section from poms
+cp %{SOURCE3} %{SOURCE4} .
+sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
+
+%mvn_file :xml-apis xml-commons-apis jaxp13 jaxp xml-commons-jaxp-1.3-apis
+%mvn_file :xml-apis-ext xml-commons-apis-ext
+%mvn_alias :xml-apis-ext xerces:dom3-xml-apis
+
+%build
+ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
+
+# inject OSGi manifests
+jar ufm build/xml-apis.jar %{SOURCE1}
+jar ufm build/xml-apis-ext.jar %{SOURCE2}
+
+%mvn_artifact xml-apis-[0-9]*.pom build/xml-apis.jar
+%mvn_artifact xml-apis-ext*.pom build/xml-apis-ext.jar
+
+%install
+%mvn_install -J build/docs/javadoc
+
+# prevent apis javadoc from being included in doc
+rm -rf build/docs/javadoc
+
+%files -f .mfiles
+%doc LICENSE NOTICE
+%doc LICENSE.dom-documentation.txt README.dom.txt
+%doc LICENSE.dom-software.txt LICENSE.sac.html
+%doc LICENSE.sax.txt README-sax README.sax.txt
+%{_javadir}/*
+
+%files manual
+%doc build/docs/*
+
+%files javadoc
+%{_javadocdir}/*
+
+%changelog
+* Sat Jul 11 2020 Jiri Vanek - 1.4.01-31
+- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
+
+* Fri Jun 19 2020 Mat Booth - 1.4.01-30
+- Allow building against Java 11
+
+* Fri Jan 31 2020 Fedora Release Engineering - 1.4.01-29
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sat Jul 27 2019 Fedora Release Engineering - 1.4.01-28
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sun Feb 03 2019 Fedora Release Engineering - 1.4.01-27
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sat Jul 14 2018 Fedora Release Engineering - 1.4.01-26
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering - 1.4.01-25
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Mon Sep 25 2017 Mikolaj Izdebski - 1.4.01-24
+- Elimitate race condition when injecting JAR manifest
+- Resolves: rhbz#1495249
+
+* Thu Jul 27 2017 Fedora Release Engineering - 1.4.01-23
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Thu Feb 23 2017 Mikolaj Izdebski - 1.4.01-22
+- Update to current packaging guidelines
+
+* Sat Feb 11 2017 Fedora Release Engineering - 1.4.01-21
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Feb 05 2016 Fedora Release Engineering - 1.4.01-20
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jun 19 2015 Fedora Release Engineering - 1.4.01-19
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sun Jun 08 2014 Fedora Release Engineering - 1.4.01-18
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu May 29 2014 Mikolaj Izdebski - 1.4.01-17
+- Don't generate duplicate Maven metadata
+
+* Wed May 21 2014 Mikolaj Izdebski - 1.4.01-16
+- Use .mfiles generated during build
+
+* Tue Mar 04 2014 Stanislav Ochotnicky - 1.4.01-15
+- Use Requires: java-headless rebuild (#1067528)
+
+* Tue Aug 6 2013 Krzysztof Daniel 1.4.01-14
+- Fix FTBFS.
+
+* Sun Aug 04 2013 Fedora Release Engineering - 1.4.01-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Mon May 20 2013 Krzysztof Daniel 1.4.01-12
+- Update manifest to match Eclipse version (Resolved: rhbz#964039).
+
+* Mon Mar 4 2013 Mikolaj Izdebski - 1.4.01-11
+- Add Require-Bundle: system.bundle to manifest
+- Resolves: rhbz#917659
+
+* Fri Feb 15 2013 Fedora Release Engineering - 1.4.01-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Nov 2 2012 Mikolaj Izdebski - 1.4.01-9
+- Add additional maven depmap
+
+* Fri Aug 17 2012 Andy Grimm - 1.4.01-8
+- Remove osgi(system.bundle) requirement from manifest
+
+* Sun Jul 22 2012 Fedora Release Engineering - 1.4.01-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering - 1.4.01-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Fri Oct 21 2011 Orion Poplawski - 1.4.01-5
+- Add missing packages to manifest - javax.xml.stream, javax.xml.stream.events,
+ javax.xml.stream.util, javax.xml.transform.stax (bug #743360)
+
+* Fri May 6 2011 Stanislav Ochotnicky - 1.4.01-4
+- Add maven metadata
+- Few guidelines tweaks (buildroot, clean, defattr)
+- Versionless jars & javadocs
+
+* Mon Feb 07 2011 Fedora Release Engineering - 1.4.01-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Dec 12 2010 Mat Booth 1.4.01-2
+- Fix FTBFS and rpmlint warnings.
+- Don't package javadoc in manual package.
+
+* Sat Jan 9 2010 Alexander Kurtakov 0:1.4.01-1
+- Update to 1.4.01.
+
+* Mon Jul 27 2009 Fedora Release Engineering - 0:1.3.04-3.5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering - 0:1.3.04-2.5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Feb 6 2009 Alexander Kurtakov 0:1.3.04-1.5
+- Add osgi metadata to the ext jar too.
+
+* Fri Jan 30 2009 Alexander Kurtakov 0:1.3.04-1.4
+- Add osgi metadata.
+
+* Fri Sep 19 2008 Matt Wringe - 0:1.3.04-1.3
+- Remove natively compiled bits from the javadoc package (462809)
+
+* Thu Jul 10 2008 Tom "spot" Callaway - 0:1.3.04-1.2
+- drop repotag
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering - 0:1.3.04-1jpp.1
+- Autorebuild for GCC 4.3
+
+* Tue Mar 06 2007 Matt Wringe - 0:1.3.04-0jpp.1
+- Update to 1.3.04
+
+* Tue Mar 06 2007 Matt Wringe - 0:1.3.03-0jpp.1
+- Split xml-commons package up into 2 separate package: xml-commons-apis
+ and xml-commons-which.
+
+* Mon Aug 21 2006 Fernando Nasser - 0:1.3.02-0.b2.7jpp.10
+- Add missing Requires for post and postun javadoc sections
+
+* Sat Jul 22 2006 Jakub Jelinek - 0:1.3.02-0.b2.7jpp_9fc
+- Rebuilt
+
+* Wed Jul 12 2006 Jesse Keating - 0:1.3.02-0.b2.7jpp_8fc
+- rebuild
+
+* Mon Mar 6 2006 Jeremy Katz - 0:1.3.02-0.b2.7jpp_7fc
+- stop scriptlet spew
+
+* Wed Feb 22 2006 Rafael Schloming - 0:1.3.02-0.b2.7jpp_6fc
+- Updated to 1.3
+
+* Fri Feb 10 2006 Jesse Keating - 0:1.0-0.b2.7jpp_5fc
+- bump again for double-long bug on ppc(64)
+
+* Wed Dec 21 2005 Jesse Keating 0:1.0-0.b2.7jpp_4fc
+- rebuilt again
+
+* Tue Dec 13 2005 Jesse Keating
+- rebuilt for new gcj
+
+* Fri Dec 09 2005 Jesse Keating
+- rebuilt
+
+* Fri Jul 15 2005 Gary Benson - 0:1.0-0.b2.7jpp_3fc
+- Build on ia64, ppc64, s390 and s390x.
+- Switch to aot-compile-rpm (also BC-compiles the which jar).
+
+* Wed Jun 15 2005 Gary Benson - 0:1.0-0.b2.7jpp_2fc
+- Remove all prebuilt stuff from the tarball.
+
+* Thu May 26 2005 Gary Benson - 0:1.0-0.b2.7jpp_1fc
+- Upgrade to 1.0-0.b2.7jpp.
+- Remove now-unnecessary workaround for #130162.
+- Rearrange how BC-compiled stuff is built and installed.
+
+* Mon May 23 2005 Gary Benson - 0:1.0-0.b2.6jpp_13fc
+- Add alpha to the list of build architectures (#157522).
+- Use absolute paths for rebuild-gcj-db.
+
+* Thu May 5 2005 Gary Benson - 0:1.0-0.b2.6jpp_12fc
+- Add dependencies for %%post and %%postun scriptlets (#156901).
+
+* Tue May 3 2005 Gary Benson - 0:1.0-0.b2.6jpp_11fc
+- BC-compile the API jar.
+
+* Tue Apr 26 2005 Gary Benson - 0:1.0-0.b2.6jpp_10fc
+- Remove gcj endorsed dir support (#155693).
+
+* Mon Apr 25 2005 Gary Benson - 0:1.0-0.b2.6jpp_9fc
+- Provide a default transformer when running under libgcj.
+
+* Mon Apr 25 2005 Gary Benson - 0:1.0-0.b2.6jpp_8fc
+- Provide a default DOM builder when running under libgcj (#155693).
+
+* Fri Apr 22 2005 Gary Benson - 0:1.0-0.b2.6jpp_7fc
+- Provide a default SAX parser when running under libgcj (#155693).
+
+* Thu Apr 21 2005 Gary Benson - 0:1.0-0.b2.6jpp_6fc
+- Add gcj endorsed dir support.
+
+* Tue Jan 11 2005 Gary Benson - 0:1.0-0.b2.6jpp_5fc
+- Sync with RHAPS.
+
+* Thu Nov 4 2004 Gary Benson - 0:1.0-0.b2.6jpp_4fc
+- Build into Fedora.
+
+* Thu Oct 28 2004 Gary Benson - 0:1.0-0.b2.6jpp_3fc
+- Bootstrap into Fedora.
+
+* Fri Oct 1 2004 Andrew Overholt - 0:1.0-0.b2.6jpp_3rh
+- add coreutils BuildRequires
+
+* Thu Mar 4 2004 Frank Ch. Eigler - 0:1.0-0.b2.6jpp_2rh
+- RH vacuuming part II
+
+* Tue Mar 2 2004 Frank Ch. Eigler - 0:1.0-0.b2.6jpp_1rh
+- RH vacuuming
\ No newline at end of file