jetty-alpn-api/jetty-alpn-api.spec
2022-05-11 16:43:59 +08:00

49 lines
1.6 KiB
RPMSpec

%global addver v20160715
Name: jetty-alpn-api
Version: 1.1.3
Release: 2
Summary: Jetty ALPN API
License: ASL 2.0 and EPL-1.0
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
* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 1.1.3-2
- modify license identifier
* Wed Aug 5 2020 huanghaitao <huanghaitao8@huawei.com> - 1.1.3-1
- package init