Package init
This commit is contained in:
parent
1bebf1dd68
commit
ec0beffd1c
20
jdom-1.1-OSGiManifest.patch
Normal file
20
jdom-1.1-OSGiManifest.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -up a/package/META-INF/MANIFEST.MF.osgimanifest b/package/META-INF/MANIFEST.MF
|
||||
--- a/package/META-INF/MANIFEST.MF.osgimanifest 2008-07-21 16:00:59.000000000 -0400
|
||||
+++ b/package/META-INF/MANIFEST.MF 2008-07-21 16:02:20.000000000 -0400
|
||||
@@ -1,4 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||
+Bundle-SymbolicName: org.jdom
|
||||
+Bundle-ManifestVersion: 2
|
||||
+Bundle-Name: %Bundle-Name.0
|
||||
+Bundle-Localization: plugin
|
||||
+Bundle-Version: 1.1.2
|
||||
+Bundle-Vendor: %Bundle-Vendor.0
|
||||
+Export-Package: org.jdom;version="1.1.2",org.jdom.adapters;version="1.
|
||||
+ 1.2",org.jdom.filter;version="1.1.2",org.jdom.input;version="1.1.2",o
|
||||
+ rg.jdom.output;version="1.1.2",org.jdom.transform;version="1.1.2",org
|
||||
+ .jdom.xpath;version="1.1.2"
|
||||
+Require-Bundle: org.apache.xerces;resolution:=optional
|
||||
|
||||
Name: org/jdom/
|
||||
Specification-Title: JDOM Classes
|
||||
75
jdom-1.1.3.pom
Normal file
75
jdom-1.1.3.pom
Normal file
@ -0,0 +1,75 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>JDOM</name>
|
||||
<version>1.1.3</version>
|
||||
|
||||
<description>
|
||||
A complete, Java-based solution for accessing, manipulating,
|
||||
and outputting XML data
|
||||
</description>
|
||||
<url>http://www.jdom.org</url>
|
||||
|
||||
<organization>
|
||||
<name>JDOM</name>
|
||||
<url>http://www.jdom.org</url>
|
||||
</organization>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>JDOM-interest Mailing List</name>
|
||||
<post>jdom-interest@jdom.org</post>
|
||||
<archive>http://jdom.markmail.org/</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Similar to Apache License but with the acknowledgment clause removed</name>
|
||||
<url>https://raw.github.com/hunterhacker/jdom/master/LICENSE.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<url>git@github.com:/hunterhacker/jdom</url>
|
||||
<connection>scm:git:git@github.com:hunterhacker/jdom</connection>
|
||||
<developerConnection>scm:git:git@github.com:hunterhacker/jdom</developerConnection>
|
||||
</scm>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>hunterhacker</id>
|
||||
<name>Jason Hunter</name>
|
||||
<email>jhunter@servlets.com</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>rolfl</id>
|
||||
<name>Rolf Lear</name>
|
||||
<email>jdom@tuis.net</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>jaxen</groupId>
|
||||
<artifactId>jaxen</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
<version>2.10.0</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<jdk.version>1.2</jdk.version>
|
||||
</properties>
|
||||
</project>
|
||||
BIN
jdom-1.1.3.tar.gz
Normal file
BIN
jdom-1.1.3.tar.gz
Normal file
Binary file not shown.
11
jdom-crosslink.patch
Normal file
11
jdom-crosslink.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/build.xml.orig 2010-02-05 12:37:26.594658382 +0000
|
||||
+++ b/build.xml 2010-02-05 12:38:09.201658171 +0000
|
||||
@@ -277,7 +277,7 @@
|
||||
bottom="Copyright © ${year} Jason Hunter, Brett McLaughlin. All Rights Reserved.">
|
||||
<classpath refid="run.class.path"/>
|
||||
|
||||
- <link href="http://java.sun.com/j2se/1.4/docs/api"/>
|
||||
+ <link href="${j2se.apidoc}"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
65
jdom.spec
Normal file
65
jdom.spec
Normal file
@ -0,0 +1,65 @@
|
||||
Name: jdom
|
||||
Version: 1.1.3
|
||||
Release: 18
|
||||
Epoch: 0
|
||||
Summary: Java alternative for DOM and SAX
|
||||
License: Saxpath
|
||||
URL: http://www.jdom.org/
|
||||
Source0: http://jdom.org/dist/binary/archive/jdom-%{version}.tar.gz
|
||||
Source1: https://repo1.maven.org/maven2/org/jdom/jdom/%{version}/jdom-%{version}.pom
|
||||
Patch0000: jdom-crosslink.patch
|
||||
Patch0001: jdom-1.1-OSGiManifest.patch
|
||||
|
||||
BuildRequires: ant javapackages-local mvn(jaxen:jaxen) mvn(xerces:xercesImpl)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
JDOM is a Java representation of an XML document and it provides a way to represent
|
||||
that document for easy and efficient reading, manipulation, and writing.
|
||||
It's an alternative to DOM and SAX, although it integrates well with both DOM and SAX.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for jdom
|
||||
Provides: jdom-javadoc = %{version}-%{release}
|
||||
Obsoletes: jdom-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
The package contains man pages and other related documents for jdom.
|
||||
|
||||
%package demo
|
||||
Summary: Demos for jdom
|
||||
Requires: jdom = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description demo
|
||||
The package contains demonstrations and samples for jdom.
|
||||
|
||||
%prep
|
||||
%autosetup -n jdom -p1
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
find . -name "*.class" -exec rm -f {} \;
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath xerces-j2 jaxen)
|
||||
ant -Dj2se.apidoc=%{_javadocdir}/java package javadoc-link
|
||||
|
||||
%install
|
||||
%mvn_file : jdom
|
||||
%mvn_alias : jdom:jdom
|
||||
%mvn_artifact %{SOURCE1} build/jdom-*-snap.jar
|
||||
%mvn_install -J build/apidocs
|
||||
install -d %{buildroot}%{_datadir}/jdom
|
||||
cp -pr samples %{buildroot}%{_datadir}/jdom
|
||||
|
||||
%files -f .mfiles
|
||||
%doc CHANGES.txt COMMITTERS.txt README.txt TODO.txt LICENSE.txt
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc LICENSE.txt
|
||||
|
||||
%files demo
|
||||
%{_datadir}/jdom
|
||||
%doc LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Mon Jun 8 2020 leiju <leiju4@huawei.com> - 1.1.3-18
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user