diff --git a/bea-stax.spec b/bea-stax.spec new file mode 100644 index 0000000..75ee045 --- /dev/null +++ b/bea-stax.spec @@ -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 - 1.2.0-18 +- Package init diff --git a/bea-stax.yaml b/bea-stax.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/bea-stax.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/stax-1.2.0.pom b/stax-1.2.0.pom new file mode 100644 index 0000000..486ba39 --- /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..d81321f --- /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.distribution-zip b/stax-src-1.2.0.distribution-zip new file mode 100644 index 0000000..1a88911 Binary files /dev/null and b/stax-src-1.2.0.distribution-zip differ