commit
558caec986
60
bea-stax.spec
Normal file
60
bea-stax.spec
Normal file
@ -0,0 +1,60 @@
|
||||
Name: bea-stax
|
||||
Version: 1.2.0
|
||||
Release: 18
|
||||
Summary: Streaming API of XML
|
||||
License: ASL 1.1 and ASL 2.0
|
||||
URL: https://repo1.maven.org/
|
||||
Source0: https://repo1.maven.org/maven2/stax/stax-src/1.2.0/stax-src-%{version}.distribution-zip
|
||||
Source1: https://repo1.maven.org/maven2/stax/stax/1.2.0/stax-%{version}.pom
|
||||
Source2: https://repo1.maven.org/maven2/stax/stax-api/1.0.1/stax-api-1.0.1.pom
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: javapackages-local ant xerces-j2 xalan-j2
|
||||
|
||||
%description
|
||||
The Streaming API of XML (StAX) is a groundbreaking new Java API
|
||||
for parsing and writing XML easily and efficiently.
|
||||
|
||||
%package api
|
||||
Summary: API of the bea-stax
|
||||
|
||||
%description api
|
||||
API of the bea-stax.
|
||||
|
||||
%package help
|
||||
Summary: Help document of bea-stax
|
||||
Provides: bea-stax-javadoc = %{version}-%{release}
|
||||
Obsoletes: bea-stax-javadoc < %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help document of bea-stax.
|
||||
|
||||
%prep
|
||||
%autosetup -c -n %{name}-%{version} -p1
|
||||
%{__sed} -i 's/\r//' ASF2.0.txt
|
||||
install -p %{SOURCE1} pom.xml
|
||||
%pom_remove_dep :junit
|
||||
|
||||
%build
|
||||
ant all javadoc
|
||||
|
||||
%install
|
||||
%mvn_file ':{*}' bea-@1
|
||||
%mvn_package :stax-api api
|
||||
%mvn_alias :stax-api javax.xml.stream:stax-api
|
||||
%mvn_artifact pom.xml build/stax-%{version}-dev.jar
|
||||
%mvn_artifact %{SOURCE2} build/stax-api-1.0.1.jar
|
||||
%mvn_install -J build/javadoc
|
||||
|
||||
%files -f .mfiles
|
||||
%doc ASF2.0.txt
|
||||
|
||||
%files api -f .mfiles-api
|
||||
%doc ASF2.0.txt
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
%doc ASF2.0.txt
|
||||
|
||||
%changelog
|
||||
* Fri Apr 24 2020 leiju <leiju4@huawei.com> - 1.2.0-18
|
||||
- Package init
|
||||
4
bea-stax.yaml
Normal file
4
bea-stax.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: NA
|
||||
src_repo: NA
|
||||
tag_prefix: NA
|
||||
seperator: NA
|
||||
99
stax-1.2.0.pom
Normal file
99
stax-1.2.0.pom
Normal file
@ -0,0 +1,99 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax</artifactId>
|
||||
<name>StAX reference implementation</name>
|
||||
<version>1.2.0</version>
|
||||
<description>This is the reference implementation of the StAX API</description>
|
||||
<url>http://stax.codehaus.org/</url>
|
||||
<issueManagement>
|
||||
<url>http://jira.codehaus.org/browse/STAX</url>
|
||||
</issueManagement>
|
||||
<ciManagement>
|
||||
<notifiers>
|
||||
<notifier>
|
||||
<configuration>
|
||||
<address>dev@stax.codehaus.org</address>
|
||||
</configuration>
|
||||
</notifier>
|
||||
</notifiers>
|
||||
</ciManagement>
|
||||
<inceptionYear>2002</inceptionYear>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>StAX Builders List</name>
|
||||
<subscribe>stax_builders-subscribe@yahoogroups.com</subscribe>
|
||||
<unsubscribe>stax_builders-unsubscribe@yahoogroups.com</unsubscribe>
|
||||
<archive>http://groups.yahoo.com/group/stax_builders/</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>aslom</id>
|
||||
<name>Aleksander Slominski</name>
|
||||
<email></email>
|
||||
<organization>Indiana University</organization>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>chris</id>
|
||||
<name>Chris Fry</name>
|
||||
<email></email>
|
||||
<organization></organization>
|
||||
</developer>
|
||||
</developers>
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/conf</directory>
|
||||
<includes>
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>test</directory>
|
||||
<includes>
|
||||
<include>**/*.properties</include>
|
||||
<include>**/*.xml</include>
|
||||
</includes>
|
||||
</testResource>
|
||||
</testResources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>surefire</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Test.*</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
<version>1.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>default</id>
|
||||
<name>Default Repository</name>
|
||||
<url>file:///home/projects/stax/dist</url>
|
||||
</repository>
|
||||
<site>
|
||||
<id>default</id>
|
||||
<name>Default Site</name>
|
||||
<url>scp://stax.codehaus.org//home/projects/stax/public_html/maven</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
44
stax-api-1.0.1.pom
Normal file
44
stax-api-1.0.1.pom
Normal file
@ -0,0 +1,44 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>stax</groupId>
|
||||
<artifactId>stax-api</artifactId>
|
||||
<name>StAX API</name>
|
||||
<version>1.0.1</version>
|
||||
<description>StAX API is the standard java XML processing API defined by JSR-173</description>
|
||||
<url>http://stax.codehaus.org/</url>
|
||||
<issueManagement>
|
||||
<url>http://jira.codehaus.org/browse/STAX</url>
|
||||
</issueManagement>
|
||||
<ciManagement>
|
||||
<notifiers>
|
||||
<notifier>
|
||||
<configuration>
|
||||
<address>dev@stax.codehaus.org</address>
|
||||
</configuration>
|
||||
</notifier>
|
||||
</notifiers>
|
||||
</ciManagement>
|
||||
<inceptionYear>2005</inceptionYear>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>StAX Builders List</name>
|
||||
<subscribe>stax_builders-subscribe@yahoogroups.com</subscribe>
|
||||
<unsubscribe>stax_builders-unsubscribe@yahoogroups.com</unsubscribe>
|
||||
<archive>http://groups.yahoo.com/group/stax_builders/</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>aslom</id>
|
||||
<name>Aleksander Slominski</name>
|
||||
<email></email>
|
||||
<organization>Indiana University</organization>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>chris</id>
|
||||
<name>Chris Fry</name>
|
||||
<email></email>
|
||||
<organization></organization>
|
||||
</developer>
|
||||
</developers>
|
||||
</project>
|
||||
BIN
stax-src-1.2.0.distribution-zip
Normal file
BIN
stax-src-1.2.0.distribution-zip
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user