Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name hcloud-go
%define go_import_path github.com/hetznercloud/hcloud-go/v2

Name: go-github-hetznercloud-hcloud-go-v2
Version: 2.42.0
Release: %autorelease
Summary: A Go library for the Hetzner Cloud API
License: MIT
URL: https://github.com/hetznercloud/hcloud-go
#!RemoteAsset: sha256:25cfa0ac028ede3b4e7f5970252feff8c0949fe7cc7e6eacb3fc15550ee3683d
Source0: https://github.com/hetznercloud/hcloud-go/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(github.com/google/go-cmp)
BuildRequires: go(github.com/prometheus/client_golang)
BuildRequires: go(github.com/stretchr/testify)
BuildRequires: go(golang.org/x/crypto)
BuildRequires: go(golang.org/x/net)

Provides: go(github.com/hetznercloud/hcloud-go/v2) = %{version}

Requires: go(github.com/google/go-cmp)
Requires: go(github.com/prometheus/client_golang)
Requires: go(github.com/stretchr/testify)
Requires: go(golang.org/x/crypto)
Requires: go(golang.org/x/net)


%description
This package provides the Go client library for the Hetzner Cloud API.
It is used by Go programs to manage Hetzner Cloud resources.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name influxdb-client-go
%define go_import_path github.com/influxdata/influxdb-client-go/v2

Name: go-github-influxdata-influxdb-client-go-v2
Version: 2.14.0
Release: %autorelease
Summary: InfluxDB 2 Go client library
License: MIT
URL: https://github.com/influxdata/influxdb-client-go
#!RemoteAsset: sha256:fed7f5df0f67e3b4606f2103cb920c2027ee886be2a92a6fc07b4e5d334089e4
Source0: https://github.com/influxdata/influxdb-client-go/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(github.com/influxdata/line-protocol)
BuildRequires: go(github.com/oapi-codegen/runtime)
BuildRequires: go(github.com/stretchr/testify)
BuildRequires: go(golang.org/x/net)

Provides: go(github.com/influxdata/influxdb-client-go/v2) = %{version}

Requires: go(github.com/influxdata/line-protocol)
Requires: go(github.com/oapi-codegen/runtime)
Requires: go(github.com/stretchr/testify)
Requires: go(golang.org/x/net)

%description
This package provides the Go client library for InfluxDB 2.x and Flux.
It includes APIs for querying data, writing data, and using the InfluxDB
2 management API from Go programs.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name line-protocol
%define go_import_path github.com/influxdata/line-protocol
%define commit_id 2487e7298839615811464221244c572dc05b50ad

Name: go-github-influxdata-line-protocol
Version: 0+git20200327.2487e729
Release: %autorelease
Summary: InfluxDB line protocol codec for Go
License: MIT
URL: https://github.com/influxdata/line-protocol
#!RemoteAsset: sha256:377f4303387074ceeb50e60c3a784abb4b07d7db850ac35513d252fbb05e7ef0
Source0: https://github.com/influxdata/line-protocol/archive/%{commit_id}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{commit_id}

BuildRequires: go
BuildRequires: go-rpm-macros

Provides: go(github.com/influxdata/line-protocol) = %{version}


%description
InfluxDB line-protocol codec

This module implements a high performance Go codec for the line-protocol
syntax as accepted by InfluxDB. Currently the API is low level - it's
intended for converting line-protocol to some chosen concrete types that
aren't specified here. (In future work, we'll define a Point type that
implements a convenient but less performant type to encode or decode).

The API documentation is here:
(https://pkg.go.dev/github.com/influxdata/line-protocol/v2/lineprotocol)


%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name sdk-go
%define go_import_path github.com/ionos-cloud/sdk-go/v6
# Upstream ships several independent example main programs in one directory.
%global go_test_exclude_glob %{go_import_path}/examples*

Name: go-github-ionos-cloud-sdk-go-v6
Version: 6.3.7
Release: %autorelease
Summary: Go SDK for the IONOS Cloud API
License: Apache-2.0
URL: https://github.com/ionos-cloud/sdk-go
#!RemoteAsset: sha256:ad914ab244da87d53ac4acbe4100b22e105b29c4317346e2452fbced0760301f
Source0: https://github.com/ionos-cloud/sdk-go/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(golang.org/x/oauth2)

Provides: go(github.com/ionos-cloud/sdk-go/v6) = %{version}

Requires: go(golang.org/x/oauth2)

%description
The IONOS Cloud SDK for Go provides client APIs for managing IONOS Cloud
resources through the Cloud API, including data centers, servers,
volumes, networks and related infrastructure resources.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
42 changes: 42 additions & 0 deletions SPECS/go-github-jarcoal-httpmock/go-github-jarcoal-httpmock.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name httpmock
%define go_import_path github.com/jarcoal/httpmock

Name: go-github-jarcoal-httpmock
Version: 1.4.1
Release: %autorelease
Summary: HTTP mocking for Golang
License: MIT
URL: https://github.com/jarcoal/httpmock
#!RemoteAsset: sha256:e3a047ce5ce64a49b32e5686404ce919b17eb52c4f79f3fe2faddf3701b3fec5
Source0: https://github.com/jarcoal/httpmock/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(github.com/maxatome/go-testdeep)

Provides: go(github.com/jarcoal/httpmock) = %{version}

Requires: go(github.com/maxatome/go-testdeep)


%description
Httpmock provides helpers for mocking HTTP responses in Go tests, allowing
clients to be tested without reaching external services.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
74 changes: 74 additions & 0 deletions SPECS/go-github-linode-linodego/go-github-linode-linodego.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name linodego
%define go_import_path github.com/linode/linodego
# Upstream integration tests require a real LINODE_TOKEN cloud credential.
%global go_test_exclude_glob %{shrink:
%{go_import_path}/test/integration*
%{go_import_path}/test/unit*
}

Name: go-github-linode-linodego
Version: 1.66.0
Release: %autorelease
Summary: Go client for the Linode REST v4 API
License: MIT
URL: https://github.com/linode/linodego
#!RemoteAsset: sha256:5494525d4042a3a1541e133044267e1993242484abefdf22f8d11316a5745c1a
Source0: https://github.com/linode/linodego/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(github.com/dnaeon/go-vcr/cassette)
BuildRequires: go(github.com/dnaeon/go-vcr/recorder)
BuildRequires: go(github.com/go-resty/resty/v2)
BuildRequires: go(github.com/google/go-cmp)
BuildRequires: go(github.com/google/go-querystring)
BuildRequires: go(github.com/jarcoal/httpmock)
BuildRequires: go(github.com/stretchr/testify)
BuildRequires: go(golang.org/x/exp)
BuildRequires: go(golang.org/x/net)
BuildRequires: go(golang.org/x/oauth2)
BuildRequires: go(golang.org/x/text)
BuildRequires: go(gopkg.in/ini.v1)
BuildRequires: go(k8s.io/api)
BuildRequires: go(k8s.io/apimachinery)
BuildRequires: go(k8s.io/client-go)

Provides: go(github.com/linode/linodego) = %{version}

Requires: go(github.com/dnaeon/go-vcr/cassette)
Requires: go(github.com/dnaeon/go-vcr/recorder)
Requires: go(github.com/go-resty/resty/v2)
Requires: go(github.com/google/go-cmp)
Requires: go(github.com/google/go-querystring)
Requires: go(github.com/jarcoal/httpmock)
Requires: go(github.com/stretchr/testify)
Requires: go(golang.org/x/exp)
Requires: go(golang.org/x/net)
Requires: go(golang.org/x/oauth2)
Requires: go(golang.org/x/text)
Requires: go(gopkg.in/ini.v1)
Requires: go(k8s.io/api)
Requires: go(k8s.io/apimachinery)
Requires: go(k8s.io/client-go)

%description
Linodego is the Go client library for the Linode REST v4 API. It provides
typed APIs for working with Linode cloud resources from Go programs.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name go-testdeep
%define go_import_path github.com/maxatome/go-testdeep

Name: go-github-maxatome-go-testdeep
Version: 1.15.0
Release: %autorelease
Summary: Flexible deep comparison helpers for Go tests
License: BSD-2-Clause
URL: https://github.com/maxatome/go-testdeep
#!RemoteAsset: sha256:ddc106b33e174f01e6536ea2a3c949547b95c28837749b5e62b53f7e01026269
Source0: https://github.com/maxatome/go-testdeep/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros

Provides: go(github.com/maxatome/go-testdeep) = %{version}


%description
go-testdeep provides flexible deep comparison operators and helpers for
writing Go tests.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: tangyihong <yihong.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

%define _name docker-image-spec
%define go_import_path github.com/moby/docker-image-spec

Name: go-github-moby-docker-image-spec
Version: 1.3.1
Release: %autorelease
Summary: Docker Image Specification v1
License: Apache-2.0
URL: https://github.com/moby/docker-image-spec
#!RemoteAsset: sha256:64d792e78c099b90194d18281dcbb45d7ef5edde5ebbdf39978436d1e57b829e
Source0: https://github.com/moby/docker-image-spec/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: golangmodules

BuildOption(prep): -n %{_name}-%{version}

BuildRequires: go
BuildRequires: go-rpm-macros
BuildRequires: go(github.com/opencontainers/image-spec)

Provides: go(github.com/moby/docker-image-spec) = %{version}

Requires: go(github.com/opencontainers/image-spec)

%description
Docker Image Specification v1 describes the legacy Docker image JSON and
manifest formats used by Docker Engine and related tooling.

%files
%license LICENSE*
%doc README*
%{go_sys_gopath}/%{go_import_path}

%changelog
%autochangelog
Loading