Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
nv-websocket-client
nv-websocket-client.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nv-websocket-client.spec of Package nv-websocket-client
# # spec file for package nv-websocket-client # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: nv-websocket-client Version: 2.14 Release: 0 Summary: High-quality WebSocket client implementation in Java License: Apache-2.0 Group: Development/Libraries/Java URL: https://github.com/TakahikoKawasaki/%{name} Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildArch: noarch %description High-quality WebSocket client implementation in Java which • complies with RFC 6455 (The WebSocket Protocol), • works on Java SE 1.5+ and Android, • supports all the frame types (continuation, binary, text, close, ping and pong), • provides a method to send a fragmented frame in addition to methods for unfragmented frames, • provides a method to get the underlying raw socket of a WebSocket to configure it, • provides a method for Basic Authentication, • provides a factory class which utilizes javax.net.SocketFactory interface, • provides a rich listener interface to hook WebSocket events, • has fine-grained error codes for fine-grained controllability on errors, • allows to disable validity checks on RSV1/RSV2/RSV3 bits and opcode of frames, • supports HTTP proxy, especially “Secure WebSocket” (wss) through “Secure Proxy” (https), • and supports RFC 7692 (Compression Extensions for WebSocket), also known as permessage-deflate (not enabled by default). %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} %pom_xpath_set "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:source" "1.8" %pom_xpath_set "pom:plugin[pom:artifactId[text()='maven-compiler-plugin']]/pom:configuration/pom:target" "1.8" %pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin %{mvn_file} : %{name} %build %{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -Dmaven.compiler.release=8 \ %endif -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ -Dsource=8 %install %mvn_install %fdupes %{buildroot}%{_javadocdir}/%{name} %files -f .mfiles %license LICENSE %doc {CHANGES,README}.md %files javadoc -f .mfiles-javadoc %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor