49 lines
1.4 KiB
RPMSpec
49 lines
1.4 KiB
RPMSpec
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
|
|
|