2023-04-11 12:19:10 +00:00
|
|
|
#
|
|
|
|
# spec file for package netty-reactive-streams
|
|
|
|
#
|
2024-01-15 12:19:22 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2023-04-11 12:19:10 +00:00
|
|
|
#
|
|
|
|
# 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
|
2024-01-15 12:19:22 +00:00
|
|
|
Version: 3.0.2
|
2023-04-11 12:19:10 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A reactive streams implementation for Netty
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
URL: https://github.com/playframework/%{name}
|
2024-01-15 12:19:22 +00:00
|
|
|
Source0: %{url}/archive/refs/tags/%{name}-parent-%{version}.tar.gz
|
2023-10-26 10:01:15 +00:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2023-04-11 12:19:10 +00:00
|
|
|
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
|
2024-01-15 12:19:22 +00:00
|
|
|
%setup -q -n %{name}-%{name}-parent-%{version}
|
2023-04-11 12:19:10 +00:00
|
|
|
|
|
|
|
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
|
|
|
|
|
2024-01-15 12:19:22 +00:00
|
|
|
%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
|
2023-10-26 10:01:15 +00:00
|
|
|
|
2023-04-11 12:19:10 +00:00
|
|
|
%build
|
2023-09-13 04:55:00 +00:00
|
|
|
%{mvn_build} -f -- \
|
2025-03-27 21:57:49 +00:00
|
|
|
-Dsource=8
|
2023-04-11 12:19:10 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%changelog
|