From a5f59053be140f5eba9e272f3b381ecdda59161b Mon Sep 17 00:00:00 2001 From: purofle Date: Wed, 19 Aug 2026 12:02:29 +0800 Subject: [PATCH] SPECS: Add go-k8s-streaming. Signed-off-by: purofle --- SPECS/go-k8s-streaming/go-k8s-streaming.spec | 42 ++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 SPECS/go-k8s-streaming/go-k8s-streaming.spec diff --git a/SPECS/go-k8s-streaming/go-k8s-streaming.spec b/SPECS/go-k8s-streaming/go-k8s-streaming.spec new file mode 100644 index 000000000..16fa082a4 --- /dev/null +++ b/SPECS/go-k8s-streaming/go-k8s-streaming.spec @@ -0,0 +1,42 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name streaming +%define go_import_path k8s.io/streaming + +Name: go-k8s-streaming +Version: 0.36.2 +Release: %autorelease +Summary: Contains the staged module root for Kubernetes transport streaming primitives +License: Apache-2.0 +URL: https://github.com/kubernetes/streaming +#!RemoteAsset: sha256:cdcb85a1668aae13e2a373ff5cdc9cbae16e46fca84ccf320e027ff585bfdf76 +Source0: https://github.com/kubernetes/streaming/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/armon/go-socks5) +BuildRequires: go(github.com/moby/spdystream) +BuildRequires: go(golang.org/x/net) +BuildRequires: go(k8s.io/klog/v2) +BuildRequires: go(k8s.io/utils/net) + +Provides: go(k8s.io/streaming) = %{version} + +Requires: go(github.com/moby/spdystream) +Requires: go(golang.org/x/net) +Requires: go(k8s.io/klog/v2) +Requires: go(k8s.io/utils/net) + +%description +Kubernetes transport streaming primitives for Go. + +%files +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog