commit
26cd7686a6
BIN
stax-ex-1.7.7.tar.gz
Normal file
BIN
stax-ex-1.7.7.tar.gz
Normal file
Binary file not shown.
53
stax-ex.spec
Normal file
53
stax-ex.spec
Normal 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
4
stax-ex.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version-control: github
|
||||
src_repo: javaee/metro-stax-ex
|
||||
tag_prefix: stax-ex-
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user