Sync from SUSE:SLFO:Main xml-commons-apis revision 61d1f3e02bfb434c7e15cd73dde22992
This commit is contained in:
commit
d7f6fa0d5b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
13
xml-apis-2.0.2.pom
Normal file
13
xml-apis-2.0.2.pom
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<project>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>xml-apis</groupId>
|
||||||
|
<artifactId>xml-apis</artifactId>
|
||||||
|
<version>2.0.2</version>
|
||||||
|
<distributionManagement>
|
||||||
|
<relocation>
|
||||||
|
<groupId>xml-apis</groupId>
|
||||||
|
<artifactId>xml-apis</artifactId>
|
||||||
|
<version>1.0.b2</version>
|
||||||
|
</relocation>
|
||||||
|
</distributionManagement>
|
||||||
|
</project>
|
41
xml-apis-ext-1.3.04.pom
Normal file
41
xml-apis-ext-1.3.04.pom
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||||
|
<parent>
|
||||||
|
<artifactId>apache</artifactId>
|
||||||
|
<groupId>org.apache</groupId>
|
||||||
|
<version>3</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>xml-apis</groupId>
|
||||||
|
<artifactId>xml-apis-ext</artifactId>
|
||||||
|
<name>XML Commons External Components XML APIs Extensions</name>
|
||||||
|
<version>1.3.04</version>
|
||||||
|
<description>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.</description>
|
||||||
|
<url>http://xml.apache.org/commons/components/external/</url>
|
||||||
|
<issueManagement>
|
||||||
|
<system>bugzilla</system>
|
||||||
|
<url>http://issues.apache.org/bugzilla/</url>
|
||||||
|
</issueManagement>
|
||||||
|
<mailingLists>
|
||||||
|
<mailingList>
|
||||||
|
<name>XML Commons Developer's List</name>
|
||||||
|
<subscribe>commons-dev-subscribe@xml.apache.org</subscribe>
|
||||||
|
<unsubscribe>commons-dev-unsubscribe@xml.apache.org</unsubscribe>
|
||||||
|
<post>commons-dev@xml.apache.org</post>
|
||||||
|
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
|
||||||
|
</mailingList>
|
||||||
|
</mailingLists>
|
||||||
|
<scm>
|
||||||
|
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/</connection>
|
||||||
|
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/</url>
|
||||||
|
</scm>
|
||||||
|
<distributionManagement>
|
||||||
|
<status>deployed</status>
|
||||||
|
</distributionManagement>
|
||||||
|
</project>
|
24
xml-commons-apis-MANIFEST.MF
Normal file
24
xml-commons-apis-MANIFEST.MF
Normal file
@ -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"
|
11
xml-commons-apis-ext-MANIFEST.MF
Normal file
11
xml-commons-apis-ext-MANIFEST.MF
Normal file
@ -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"
|
37
xml-commons-apis.changes
Normal file
37
xml-commons-apis.changes
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 16:27:31 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with source/target levels 8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 8 11:37:06 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Do not depend on the apache-parent, since we are not building
|
||||||
|
using Maven.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 1 16:34:45 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- BuildIgnore xml-apis and xml-resolver, since this does not
|
||||||
|
strictly require them for build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 1 12:54:51 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- BuildIgnore xerces-j2 to break cycle of OSGi requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 13 10:47:17 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Obsolete the different other xml-apis providers
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 11 01:18:50 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Fix RPM groups. Use improved file deletion.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 6 10:43:20 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial package of xml-commons-apis
|
||||||
|
- Provide different api versions to simplify upgrades
|
144
xml-commons-apis.spec
Normal file
144
xml-commons-apis.spec
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
#
|
||||||
|
# spec file for package xml-commons-apis
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: xml-commons-apis
|
||||||
|
Version: 1.4.01
|
||||||
|
Release: 0
|
||||||
|
Summary: APIs for DOM, SAX, and JAXP
|
||||||
|
License: Apache-2.0 AND W3C AND SUSE-Public-Domain
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: http://xml.apache.org/commons/
|
||||||
|
# From source control because the published tarball doesn't include some docs:
|
||||||
|
# svn export http://svn.apache.org/repos/asf/xerces/xml-commons/tags/xml-commons-external-1_4_01/java/external
|
||||||
|
# tar cJf xml-commons-external-1.4.01-src.tar.xz external
|
||||||
|
Source0: xml-commons-external-1.4.01-src.tar.xz
|
||||||
|
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: ant
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: xz
|
||||||
|
#!BuildIgnore: xerces-j2 xml-apis xml-resolver
|
||||||
|
Conflicts: xml-commons-apis-bootstrap
|
||||||
|
Provides: xerces-j2-xml-apis
|
||||||
|
Provides: xml-apis = %{version}-%{release}
|
||||||
|
Provides: xml-commons-jaxp-1.1-apis
|
||||||
|
Provides: xml-commons-jaxp-1.2-apis
|
||||||
|
Provides: xml-commons-jaxp-1.3-apis
|
||||||
|
Provides: xml-commons-jaxp-1.4-apis
|
||||||
|
Obsoletes: xerces-j2-xml-apis
|
||||||
|
Obsoletes: xml-commons-jaxp-1.1-apis
|
||||||
|
Obsoletes: xml-commons-jaxp-1.2-apis
|
||||||
|
Obsoletes: xml-commons-jaxp-1.3-apis
|
||||||
|
Obsoletes: xml-commons-jaxp-1.4-apis
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%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}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%description manual
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%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" -o -name "*.jar" ")" -delete
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# remove bogus section from poms
|
||||||
|
cp %{SOURCE3} %{SOURCE4} .
|
||||||
|
sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
|
||||||
|
|
||||||
|
%pom_remove_parent xml-apis-ext*.pom
|
||||||
|
|
||||||
|
%build
|
||||||
|
ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 jar javadoc
|
||||||
|
|
||||||
|
# inject OSGi manifests
|
||||||
|
jar ufm build/xml-apis.jar %{SOURCE1}
|
||||||
|
jar ufm build/xml-apis-ext.jar %{SOURCE2}
|
||||||
|
|
||||||
|
%install
|
||||||
|
# jar
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
|
install -pm 644 build/xml-apis.jar %{buildroot}%{_javadir}/xml-commons-apis.jar
|
||||||
|
pushd %{buildroot}%{_javadir}
|
||||||
|
for i in \
|
||||||
|
jaxp jaxp11 jaxp12 jaxp13 jaxp14 dom3 xerces-j2-xml-apis \
|
||||||
|
xml-commons-jaxp-1.4-apis xml-commons-jaxp-1.3-apis \
|
||||||
|
xml-commons-jaxp-1.2-apis xml-commons-jaxp-1.1-apis \
|
||||||
|
xml-apis; do
|
||||||
|
ln -s xml-commons-apis.jar ${i}.jar
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
install -pm 644 build/xml-apis-ext.jar %{buildroot}%{_javadir}/xml-commons-apis-ext.jar
|
||||||
|
pushd %{buildroot}%{_javadir}
|
||||||
|
for i in xml-commons-jaxp-1.3-apis-ext xml-commons-jaxp-1.4-apis-ext; do
|
||||||
|
ln -s xml-commons-apis-ext.jar ${i}.jar
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
# pom
|
||||||
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
||||||
|
install -pm 644 xml-apis-[0-9]*.pom %{buildroot}%{_mavenpomdir}/xml-commons-apis.pom
|
||||||
|
%add_maven_depmap xml-commons-apis.pom xml-commons-apis.jar
|
||||||
|
install -pm 644 xml-apis-ext*.pom %{buildroot}%{_mavenpomdir}/xml-commons-apis-ext.pom
|
||||||
|
%add_maven_depmap xml-commons-apis-ext.pom xml-commons-apis-ext.jar -a xerces:dom3-xml-apis
|
||||||
|
|
||||||
|
# javadoc
|
||||||
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -a build/docs/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
# prevent apis javadoc from being included in doc
|
||||||
|
rm -rf build/docs/javadoc
|
||||||
|
%fdupes -s build/docs/
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE LICENSE.dom-documentation.txt LICENSE.dom-software.txt LICENSE.sac.html LICENSE.sax.txt
|
||||||
|
%doc NOTICE README.dom.txt README-sax README.sax.txt
|
||||||
|
%{_javadir}/*
|
||||||
|
|
||||||
|
%files manual
|
||||||
|
%doc build/docs/*
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
BIN
xml-commons-external-1.4.01-src.tar.xz
(Stored with Git LFS)
Normal file
BIN
xml-commons-external-1.4.01-src.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user