diff --git a/bea-stax.changes b/bea-stax.changes index 69d0a0f..82f829c 100644 --- a/bea-stax.changes +++ b/bea-stax.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 17 11:46:47 UTC 2018 - Fridrich Strba + +- 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 diff --git a/bea-stax.spec b/bea-stax.spec index 13b9f9f..ba2a81b 100644 --- a/bea-stax.spec +++ b/bea-stax.spec @@ -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 diff --git a/stax-1.2.0.pom b/stax-1.2.0.pom new file mode 100644 index 0000000..dbf646f --- /dev/null +++ b/stax-1.2.0.pom @@ -0,0 +1,99 @@ + + 4.0.0 + stax + stax + StAX reference implementation + 1.2.0 + This is the reference implementation of the StAX API + http://stax.codehaus.org/ + + http://jira.codehaus.org/browse/STAX + + + + + +
dev@stax.codehaus.org
+
+
+
+
+ 2002 + + + StAX Builders List + stax_builders-subscribe@yahoogroups.com + stax_builders-unsubscribe@yahoogroups.com + http://groups.yahoo.com/group/stax_builders/ + + + + + aslom + Aleksander Slominski + + Indiana University + + + chris + Chris Fry + + + + + + src + test + + + src/conf + + **/* + + + + + + test + + **/*.properties + **/*.xml + + + + + + surefire + + + **/*Test.* + + + + + + + + stax + stax-api + 1.0.1 + + + junit + junit + 3.8.1 + + + + + default + Default Repository + file:///home/projects/stax/dist + + + default + Default Site + scp://stax.codehaus.org//home/projects/stax/public_html/maven + + +
diff --git a/stax-api-1.0.1.pom b/stax-api-1.0.1.pom new file mode 100644 index 0000000..3ccfc36 --- /dev/null +++ b/stax-api-1.0.1.pom @@ -0,0 +1,44 @@ + + 4.0.0 + stax + stax-api + StAX API + 1.0.1 + StAX API is the standard java XML processing API defined by JSR-173 + http://stax.codehaus.org/ + + http://jira.codehaus.org/browse/STAX + + + + + +
dev@stax.codehaus.org
+
+
+
+
+ 2005 + + + StAX Builders List + stax_builders-subscribe@yahoogroups.com + stax_builders-unsubscribe@yahoogroups.com + http://groups.yahoo.com/group/stax_builders/ + + + + + aslom + Aleksander Slominski + + Indiana University + + + chris + Chris Fry + + + + +
diff --git a/stax-src-1.2.0.zip b/stax-src-1.2.0.zip new file mode 100644 index 0000000..837b721 --- /dev/null +++ b/stax-src-1.2.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4dc2ef0be6a21dcdb5643ab89e9cb3b62f18ad213967a9ba3901b71cd97843a +size 310738 diff --git a/stax-src-1.2.0_rc1-dev.zip b/stax-src-1.2.0_rc1-dev.zip deleted file mode 100644 index 929a950..0000000 --- a/stax-src-1.2.0_rc1-dev.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2613c767e88314a647dc0735b3a3deab7a2032f47b5584d613420f9c64a5d3ab -size 202488