2020-08-25 18:31:31 +08:00
|
|
|
%global addver v20160715
|
|
|
|
|
Name: jetty-alpn-api
|
|
|
|
|
Version: 1.1.3
|
2022-05-11 16:43:59 +08:00
|
|
|
Release: 2
|
2020-08-25 18:31:31 +08:00
|
|
|
Summary: Jetty ALPN API
|
2022-05-11 16:43:59 +08:00
|
|
|
License: ASL 2.0 and EPL-1.0
|
2020-08-25 18:31:31 +08:00
|
|
|
URL: http://www.eclipse.org/jetty
|
|
|
|
|
Source0: http://git.eclipse.org/c/jetty/org.eclipse.jetty.alpn.git/snapshot/org.eclipse.jetty.alpn-alpn-api-%{version}.%{addver}.tar.gz
|
|
|
|
|
Source1: http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
|
Source2: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.eclipse.jetty:jetty-parent:pom:)
|
|
|
|
|
BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-build-support)
|
|
|
|
|
%description
|
|
|
|
|
Jetty API for Application-Layer Protocol Negotiation.
|
|
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
|
%description javadoc
|
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n org.eclipse.jetty.alpn-alpn-api-%{version}.%{addver}
|
|
|
|
|
%pom_remove_plugin :maven-jar-plugin
|
|
|
|
|
%pom_xpath_inject pom:project '<packaging>bundle</packaging>'
|
|
|
|
|
cp %{SOURCE1} %{SOURCE2} .
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
|
%license epl-v10.html LICENSE-2.0.txt
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
|
%license epl-v10.html LICENSE-2.0.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-05-11 16:43:59 +08:00
|
|
|
* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 1.1.3-2
|
|
|
|
|
- modify license identifier
|
|
|
|
|
|
2020-08-25 18:31:31 +08:00
|
|
|
* Wed Aug 5 2020 huanghaitao <huanghaitao8@huawei.com> - 1.1.3-1
|
|
|
|
|
- package init
|