package init

This commit is contained in:
yaokai13 2020-08-25 11:53:49 +08:00
parent f57c366ac9
commit 7753330038
3 changed files with 44 additions and 0 deletions

BIN
1.1.1.Final.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,40 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-websocket-1.1-api
Version: 1.1.1
Release: 1
Summary: JSR-356: Java WebSocket 1.1 API
License: CDDL or GPLv2 with exceptions
Url: https://github.com/jboss/jboss-websocket-api_spec
Source0: https://github.com/jboss/jboss-websocket-api_spec/archive/%{namedversion}.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
%description
The JSR-356: Java WebSocket 1.1 API classes.
%package javadoc
Summary: Javadoc for jboss-websocket-1.1-api
%description javadoc
This package contains the API documentation for jboss-websocket-1.1-api.
%prep
%setup -q -n jboss-websocket-api_spec-%{namedversion}
%pom_remove_plugin :maven-source-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE README
%files javadoc -f .mfiles-javadoc
%license LICENSE README
%changelog
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 1.1.1-1
- package init

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jboss/jboss-websocket-api_spec
tag_pattern: "(.*?).Final"
seperator: "."