# # spec file for package netty-reactive-streams # # 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: netty-reactive-streams Version: 3.0.2 Release: 0 Summary: A reactive streams implementation for Netty License: Apache-2.0 Group: Development/Libraries/Java URL: https://github.com/playframework/%{name} Source0: %{url}/archive/refs/tags/%{name}-parent-%{version}.tar.gz BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildRequires: mvn(io.netty:netty-handler) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.reactivestreams:reactive-streams) BuildArch: noarch %description This provides a reactive streams implementation for Netty. Essentially it comes in the form of two channel handlers, one that publishes inbound messages received on a channel to a Publisher, and another that writes messages received by a Subscriber outbound. Features include: • Full backpressure support, as long as the AUTO_READ channel option is disabled. • Publishers/subscribers can be dynamically added and removed from the pipeline. • Multiple publishers/subscribers can be inserted into the pipeline. • Customisable cancel/complete/failure handling. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-parent-%{version} %pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin %pom_xpath_set -r 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration/pom:source' 8 %pom_xpath_set -r 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration/pom:target' 8 %build %{mvn_build} -f -- \ -Dsource=8 %install %mvn_install %files -f .mfiles %license LICENSE %doc README.md %files javadoc -f .mfiles-javadoc %license LICENSE %changelog