!1 package init

Merge pull request !1 from small_leek/master
This commit is contained in:
openeuler-ci-bot 2020-09-02 19:47:06 +08:00 committed by Gitee
commit f877ff13e0
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,39 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-websocket-1.0-api
Version: 1.0.0
Release: 1
Summary: JSR-356: Java WebSocket 1.0 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/jboss-websocket-api_1.0_spec-%{namedversion}.tar.gz
BuildRequires: jboss-parent maven-local maven-plugin-bundle felix-osgi-foundation felix-parent
BuildArch: noarch
%description
The JSR-356: Java WebSocket 1.0 API classes.
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-websocket-api_spec-jboss-websocket-api_1.0_spec-%{namedversion}
%build
%mvn_alias "org.jboss.spec.javax.websocket:jboss-websocket-api_1.0_spec" "javax.websocket:javax.websocket-api" "javax.websocket:javax.websocket-client-api"
%mvn_build
%install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%doc LICENSE README
%files javadoc -f .mfiles-javadoc
%doc LICENSE README
%changelog
* Sat Jul 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.0.0-1
- Package init

View File

@ -0,0 +1,5 @@
git_url: https://github.com/jboss/jboss-websocket-api_spec
version_control: github
src_repo: jboss/jboss-websocket-api_spec
tag_prefix: "jboss-websocket-api_1.0_spec-(*).Final"
seperator: "."

Binary file not shown.