forked from pool/bea-stax
This commit is contained in:
parent
c0cdd8594f
commit
47e823c037
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 17 11:46:47 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to released bea-stax 1.2.0 and bea-stax-api 1.0.1
|
||||
- Add maven pom files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 15 17:34:21 UTC 2018 - fstrba@suse.com
|
||||
|
||||
|
@ -12,32 +12,35 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define section free
|
||||
%global apiver 1.0.1
|
||||
Name: bea-stax
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Streaming API for XML
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://dev2dev.bea.com/technologies/stax/index.jsp
|
||||
Source0: stax-src-1.2.0_rc1-dev.zip
|
||||
URL: http://stax.codehaus.org/Home
|
||||
# http://dist.codehaus.org/stax/distributions/stax-src-%{version}.zip
|
||||
Source0: stax-src-%{version}.zip
|
||||
# http://dist.codehaus.org/stax/jars/stax-%{version}.pom
|
||||
Source1: stax-%{version}.pom
|
||||
# http://dist.codehaus.org/stax/jars/stax-api-%{apiver}.pom
|
||||
Source2: stax-api-%{apiver}.pom
|
||||
Patch0: bea-stax-target8.patch
|
||||
Patch2: bea-stax-gcj-build.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: unzip
|
||||
#!BuildIgnore: xerces-j2-bootstrap
|
||||
#!BuildIgnore: antlr antlr-java
|
||||
#!BuildIgnore: xerces-j2 xml-commons xml-commons-apis xml-commons-resolver xml-commons-which
|
||||
#!BuildIgnore: xml-commons-jaxp-1.3-apis
|
||||
BuildRequires: xml-commons-apis-bootstrap
|
||||
BuildRequires: xml-commons-resolver-bootstrap
|
||||
BuildRequires: xml-commons-which-bootstrap
|
||||
BuildRequires: xml-apis
|
||||
BuildRequires: xml-resolver
|
||||
#!BuildIgnore: antlr
|
||||
#!BuildIgnore: antlr-java
|
||||
Requires: %{name}-api = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
@ -65,19 +68,35 @@ ant all
|
||||
%install
|
||||
# jar
|
||||
install -d -m 0755 %{buildroot}%{_javadir}
|
||||
install -p -m 0644 build/stax-api-1.0.jar %{buildroot}%{_javadir}/%{name}-api-%{version}.jar
|
||||
install -p -m 0644 build/stax-1.2.0_rc1-dev.jar %{buildroot}%{_javadir}/%{name}-ri-%{version}.jar
|
||||
install -p -m 0644 build/stax-api-%{apiver}.jar %{buildroot}%{_javadir}/%{name}-api-%{version}.jar
|
||||
install -p -m 0644 build/stax-%{version}-dev.jar %{buildroot}%{_javadir}/%{name}-ri-%{version}.jar
|
||||
ln -s %{name}-api-%{version}.jar %{buildroot}%{_javadir}/%{name}-api.jar
|
||||
ln -s %{name}-ri-%{version}.jar %{buildroot}%{_javadir}/%{name}-ri.jar
|
||||
# pom
|
||||
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
||||
install -p -m 0644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}-ri-%{version}.pom
|
||||
%add_maven_depmap %{name}-ri-%{version}.pom %{name}-ri-%{version}.jar
|
||||
install -p -m 0644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}-api-%{version}.pom
|
||||
%add_maven_depmap %{name}-api-%{version}.pom %{name}-api-%{version}.jar -f api
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_javadir}/%{name}-ri-%{version}.jar
|
||||
%{_javadir}/%{name}-ri.jar
|
||||
%{_mavenpomdir}/%{name}-ri-%{version}.pom
|
||||
%if %{defined _maven_repository}
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
%else
|
||||
%{_datadir}/maven-metadata/%{name}.xml*
|
||||
%endif
|
||||
|
||||
%files api
|
||||
%defattr(-,root,root,-)
|
||||
%{_javadir}/%{name}-api-%{version}.jar
|
||||
%{_javadir}/%{name}-api.jar
|
||||
%{_mavenpomdir}/%{name}-api-%{version}.pom
|
||||
%if %{defined _maven_repository}
|
||||
%{_mavendepmapfragdir}/%{name}-api
|
||||
%else
|
||||
%{_datadir}/maven-metadata/%{name}-api.xml*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
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>
|
3
stax-src-1.2.0.zip
Normal file
3
stax-src-1.2.0.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4dc2ef0be6a21dcdb5643ab89e9cb3b62f18ad213967a9ba3901b71cd97843a
|
||||
size 310738
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2613c767e88314a647dc0735b3a3deab7a2032f47b5584d613420f9c64a5d3ab
|
||||
size 202488
|
Loading…
Reference in New Issue
Block a user