package init
This commit is contained in:
parent
1bcef97aaa
commit
b493589253
39
jboss-websocket-1.0-api.spec
Normal file
39
jboss-websocket-1.0-api.spec
Normal 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
|
||||
5
jboss-websocket-1.0-api.yaml
Normal file
5
jboss-websocket-1.0-api.yaml
Normal 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: "."
|
||||
BIN
jboss-websocket-api_1.0_spec-1.0.0.Final.tar.gz
Normal file
BIN
jboss-websocket-api_1.0_spec-1.0.0.Final.tar.gz
Normal file
Binary file not shown.
BIN
jboss-websocket-api_1.0_spec-1.0.0.Final.tar.gz.cp
Normal file
BIN
jboss-websocket-api_1.0_spec-1.0.0.Final.tar.gz.cp
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user