From 328984573b66989ccd38ffe733cc997ab14d4a36 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jun 24 2019 21:20:31 +0000 Subject: import for c8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..281d350 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +SOURCES/xpp3-1.1.4c_src.tgz +SOURCES/xpp3-1.1.4c.pom +SOURCES/xpp3_min-1.1.4c.pom +SOURCES/xpp3_xpath-1.1.4c.pom diff --git a/.xpp3.metadata b/.xpp3.metadata new file mode 100644 index 0000000..fa58989 --- /dev/null +++ b/.xpp3.metadata @@ -0,0 +1,4 @@ +ab2e7aa30b06dc1a01218d17650e9966f65557da SOURCES/xpp3-1.1.4c.pom +4d2f2cf4e7b090e4c0c3010c6cd27cdb45ca593e SOURCES/xpp3_min-1.1.4c.pom +c7992f1d849c5e1a4ff7fa62f8e9462ef650d523 SOURCES/xpp3_xpath-1.1.4c.pom +ee7e759d079f9fa035555d4976f0fc9c58a6a19f SOURCES/xpp3-1.1.4c_src.tgz diff --git a/SOURCES/xpp3-1.1.4c-OSGI-MANIFEST.MF b/SOURCES/xpp3-1.1.4c-OSGI-MANIFEST.MF new file mode 100644 index 0000000..0a2d251 --- /dev/null +++ b/SOURCES/xpp3-1.1.4c-OSGI-MANIFEST.MF @@ -0,0 +1,19 @@ +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.xmlpull +Bundle-Version: 1.1.4 +Export-Package: org.xmlpull.mxp1, + org.xmlpull.mxp1_serializer, + org.xmlpull.v1, + org.xmlpull.v1.builder, + org.xmlpull.v1.builder.adapter, + org.xmlpull.v1.builder.impl, + org.xmlpull.v1.dom2_builder, + org.xmlpull.v1.parser_pool, + org.xmlpull.v1.sax2, + org.xmlpull.v1.util, + org.xmlpull.v1.wrapper, + org.xmlpull.v1.wrapper.classic +Import-Package: javax.xml.parsers;resolution:=optional, + org.w3c.dom;resolution:=optional, + org.xml.sax;resolution:=optional, + org.xml.sax.helpers;resolution:=optional diff --git a/SOURCES/xpp3-link-docs-locally.patch b/SOURCES/xpp3-link-docs-locally.patch new file mode 100644 index 0000000..81a9650 --- /dev/null +++ b/SOURCES/xpp3-link-docs-locally.patch @@ -0,0 +1,11 @@ +--- ./build.xml.sav 2007-02-14 20:50:19.000000000 -0500 ++++ ./build.xml 2007-02-14 20:50:41.000000000 -0500 +@@ -479,7 +479,7 @@ + windowtitle="${name} ${version} API" + doctitle="${name}" + bottom="${copyright}" +- link="http://java.sun.com/j2se/1.4/docs/api/" ++ link="file:///usr/share/javadoc/java" + /> + + diff --git a/SPECS/xpp3.spec b/SPECS/xpp3.spec new file mode 100644 index 0000000..c906566 --- /dev/null +++ b/SPECS/xpp3.spec @@ -0,0 +1,211 @@ +%global oversion 1.1.4c + +Summary: XML Pull Parser +Name: xpp3 +Version: 1.1.4 +Release: 18.c%{?dist} +License: ASL 1.1 +URL: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html +Source0: http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-%{oversion}_src.tgz +Source1: http://repo1.maven.org/maven2/xpp3/xpp3/%{oversion}/xpp3-%{oversion}.pom +Source2: http://repo1.maven.org/maven2/xpp3/xpp3_xpath/%{oversion}/xpp3_xpath-%{oversion}.pom +Source3: http://repo1.maven.org/maven2/xpp3/xpp3_min/%{oversion}/xpp3_min-%{oversion}.pom +Source4: %{name}-%{oversion}-OSGI-MANIFEST.MF +Patch0: %{name}-link-docs-locally.patch + +BuildRequires: javapackages-local +BuildRequires: java-javadoc +BuildRequires: ant +BuildRequires: junit + +BuildArch: noarch + +%description +XML Pull Parser 3rd Edition (XPP3) MXP1 is an XmlPull +parsing engine that is based on ideas from XPP and in +particular XPP2 but completely revised and rewritten to +take best advantage of latest JIT JVMs such as Hotspot in JDK 1.4. + +%package minimal +Summary: Minimal XML Pull Parser + +%description minimal +Minimal XML pull parser implementation. + +%package javadoc +Summary: Javadoc for %{name} +Requires: java-javadoc + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -n %{name}-%{oversion} +# remove all binary libs +find -name \*.jar -delete +# Remove class bundled from Axis (now it's bundled in JRE) +rm -rf src/java/builder/javax + +%patch0 + +# "src/java/addons_tests" does not exist +sed -i 's|depends="junit_main,junit_addons"|depends="junit_main"|' build.xml + +# relax javadoc linting +sed -i '/ - 1.1.4-18.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Sep 25 2017 Mikolaj Izdebski - 1.1.4-17.c +- Elimitate race condition when injecting JAR manifest +- Resolves: rhbz#1495247 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.1.4-16.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue May 16 2017 Mat Booth - 1.1.4-15.c +- Remove unnecessary dep on xml-commons-apis +- Fix errors in javadoc generation + +* Wed Mar 22 2017 Michael Simacek - 1.1.4-14.c +- Install jars directly into javadir + +* Wed Mar 22 2017 Michael Simacek - 1.1.4-13.c +- Install with XMvn + +* Sat Feb 11 2017 Fedora Release Engineering - 1.1.4-12.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Mar 23 2016 Severin Gehwolf - 1.1.4-11.c +- Add OSGi metadata. + +* Fri Feb 05 2016 Fedora Release Engineering - 1.1.4-10.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 19 2016 Mikolaj Izdebski - 1.1.4-9.c +- Remove bundled javax.xml.namespace.QName class +- Resolves: rhbz#1299679 + +* Thu Dec 24 2015 gil cattaneo 1.1.4-8.c +- convert %%defines to %%global + +* Tue Jul 14 2015 Mikolaj Izdebski - 1.1.4-7.c +- Add build-requires on javapackages-local + +* Fri Jun 19 2015 Fedora Release Engineering - 1.1.4-6.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Feb 13 2015 gil cattaneo 1.1.4-5.c +- introduce license macro + +* Tue Dec 9 2014 Alexander Kurtakov 1.1.4-4.c +- Drop useless Requires. + +* Sun Jun 08 2014 Fedora Release Engineering - 1.1.4-3.c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 1.1.4-2.c +- Use Requires: java-headless rebuild (#1067528) + +* Wed Feb 19 2014 Michal Srb - 1.1.4-1.c +- Update to upstream version 1.1.4c + +* Sun Aug 04 2013 Fedora Release Engineering - 0:1.1.3.8-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jun 21 2013 Mikolaj Izdebski - 0:1.1.3.8-9 +- General specfile cleanup +- Update to current packaging guidelines + +* Fri Feb 15 2013 Fedora Release Engineering - 0:1.1.3.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 0:1.1.3.8-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0:1.1.3.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0:1.1.3.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 2 2010 Stanislav Ochotnicky - 0:1.1.3.8-4 +- Fix pom filenames (Resolves rhbz#655829) +- Changes according to new guidelines (versionless jars) +- Fix few packaging problems (post/postun deps) + +* Mon Jun 14 2010 Alexander Kurtakov 0:1.1.3.8-3.4 +- Add maven poms and depmaps. + +* Wed Mar 10 2010 Peter Lemenkov - 0:1.1.3.8-3.3 +- *-javadoc must also require jpackage-utils (for %%{_javadocdir}) + +* Mon Jul 27 2009 Fedora Release Engineering - 0:1.1.3.8-3.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0:1.1.3.8-2.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Sep 6 2008 Tom "spot" Callaway - 0:1.1.3.8-1.2 +- fix license tag +- drop jpp tag + +* Mon Feb 12 2007 Fernando Nasser - 0:1.1.3.8-1jpp.1 +- Import +- Fix per Fedora spec + +* Mon Feb 12 2007 Fernando Nasser - 0:1.1.3.8-1jpp +- Upgrade to 1.1.3.8 +- Remove vendor and distribution tags + +* Mon Feb 27 2006 Fernando Nasser - 0:1.1.3.4-1.o.2jpp +- First JPP 1.7 build + +* Tue Dec 20 2005 Ralph Apel - 0:1.1.3.4-1.o.1jpp +- Upgrade to 1.1.3.4-O +- Now includes xpath support + +* Thu Aug 26 2004 Ralph Apel - 0:1.1.3.4-1.d.2jpp +- Build with ant-1.6.2 + +* Tue Jun 01 2004 Ralph Apel - 0:1.1.3.4-1.d.1jpp +- Update to 1.1.3.4 + +* Mon May 5 2003 Ville Skyttä - 0:1.1.2-1.a.3jpp +- Fix non-versioned javadoc symlinking. + +* Mon Apr 21 2003 Ville Skyttä - 0:1.1.2-1.a.2jpp +- Include non-versioned javadoc symlink. + +* Tue Apr 1 2003 Ville Skyttä - 0:1.1.2-1.a.1jpp +- First JPackage release.