stax-ex package init

This commit is contained in:
jeff200902 2020-06-19 18:17:40 +08:00
parent 60e8e41b06
commit c0f6f10726
3 changed files with 57 additions and 0 deletions

BIN
stax-ex-1.7.7.tar.gz Normal file

Binary file not shown.

53
stax-ex.spec Normal file
View File

@ -0,0 +1,53 @@
Name: stax-ex
Version: 1.7.7
Release: 10
Summary: StAX API extensions
License: CDDL or GPLv2
Url: https://stax-ex.dev.java.net
Source0: https://github.com/javaee/metro-stax-ex/archive/stax-ex-%{version}.tar.gz
BuildRequires: dos2unix maven-local mvn(javax.xml.stream:stax-api) mvn(junit:junit)
BuildRequires: mvn(net.java:jvnet-parent:pom:) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildArch: noarch
%description
The package provides a few extensions API for cpmplement JSR-173,as following area
In het high-performance enviroment like JAX-WS and JAXB, enbale parse instance reuse.
Improve the behavier of reading form not-text infoset, such as FastInfoset.
Improve for namespace support.
%package help
Summary: Javadoc for stax-ex
Provides: stax-ex-javadoc = %{version}-%{release}
Obsoletes: stax-ex-javadoc < %{version}-%{release}
%description help
The package provides javadoc for stax-ex.
%prep
%autosetup -n metro-stax-ex-stax-ex-%{version} -p1 -S git
%pom_remove_dep javax.activation:activation
%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-deploy-plugin
mv LICENSE.txt LICENSE.txt.tmp
iconv -f ISO-8859-1 -t UTF-8 LICENSE.txt.tmp > LICENSE.txt
dos2unix LICENSE.txt
%mvn_file :stax-ex stax-ex
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%files help -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Thu Apr 30 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.7.7-10
- Package init

4
stax-ex.yaml Normal file
View File

@ -0,0 +1,4 @@
version-control: github
src_repo: javaee/metro-stax-ex
tag_prefix: stax-ex-
seperator: .