stax2-api: package init

This commit is contained in:
daidai_is_here 2019-12-23 11:29:33 +08:00
parent e7169edfb2
commit 702738d009
2 changed files with 48 additions and 0 deletions

BIN
stax2-api-4.0.0.tar.gz Normal file

Binary file not shown.

48
stax2-api.spec Normal file
View File

@ -0,0 +1,48 @@
Name: stax2-api
Version: 4.0.0
Release: 6
Summary: An experimental API extending basic StAX implementation
License: BSD
URL: http://wiki.fasterxml.com/WoodstoxStax2
Source0: https://github.com/FasterXML/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: mvn(com.fasterxml:oss-parent:pom:) maven-local mvn(javax.xml.stream:stax-api)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
%description
StAX2 is an experimental API extending basic StAX specifications in a way that allows implementations
to experiment with features before they end up in the actual StAX specification. As such, it is intended
to be freely implementable by all StAX implementations same way as StAX, but without going through a
formal JCP process.
%package help
Summary: Help documentation for stax2-api
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
Help documentation for stax2-api.
%prep
%autosetup -n stax2-api-stax2-api-%{version} -p1
%pom_xpath_remove pom:Import-Package
%pom_remove_plugin :maven-javadoc-plugin
%build
%mvn_file :stax2-api stax2-api
%mvn_build
%install
%mvn_install
%files -f .mfiles
%files help -f .mfiles-javadoc
%changelog
* Fri Dec 20 2019 daiqianwen <daiqianwen@huawei.com> - 4.0.0-6
- Package init