From 2e26e4dbf20c807d0be115a10717eb8cf9c3a939 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 01/26] SPECS: Add go-github-adrg-xdg Signed-off-by: cl2t --- .../go-github-adrg-xdg.spec | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 SPECS/go-github-adrg-xdg/go-github-adrg-xdg.spec diff --git a/SPECS/go-github-adrg-xdg/go-github-adrg-xdg.spec b/SPECS/go-github-adrg-xdg/go-github-adrg-xdg.spec new file mode 100644 index 0000000000..04588aa1b1 --- /dev/null +++ b/SPECS/go-github-adrg-xdg/go-github-adrg-xdg.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name xdg +%define go_import_path github.com/adrg/xdg + +Name: go-github-adrg-xdg +Version: 0.5.3 +Release: %autorelease +Summary: Go implementation of the XDG Base Directory Specification and XDG user directories +License: MIT +URL: https://github.com/adrg/xdg +#!RemoteAsset: sha256:ba6b5b287a6e8f5ba5c03768d3f55bc69f60b18050ec17c867fb20c060add28b +Source0: https://github.com/adrg/xdg/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/stretchr/testify) + +Provides: go(github.com/adrg/xdg) = %{version} + +Requires: go(github.com/stretchr/testify) + +%description +Go implementation of the XDG Base Directory Specification, XDG User +Directories and XDG Icon Theme specifications, with cross-platform support +for locating configuration, data, cache and runtime files. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From cd8718640669fb6c4c495339add0bb64193f1ec2 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 02/26] SPECS: Add go-github-cli-safeexec Signed-off-by: cl2t --- .../go-github-cli-safeexec.spec | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 SPECS/go-github-cli-safeexec/go-github-cli-safeexec.spec diff --git a/SPECS/go-github-cli-safeexec/go-github-cli-safeexec.spec b/SPECS/go-github-cli-safeexec/go-github-cli-safeexec.spec new file mode 100644 index 0000000000..1f5119e84f --- /dev/null +++ b/SPECS/go-github-cli-safeexec/go-github-cli-safeexec.spec @@ -0,0 +1,37 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name safeexec +%define go_import_path github.com/cli/safeexec + +Name: go-github-cli-safeexec +Version: 1.0.1 +Release: %autorelease +Summary: A safer version of exec.LookPath on Windows +License: BSD-2-Clause +URL: https://github.com/cli/safeexec +#!RemoteAsset: sha256:9fea01cbc9703c618961dc93dcffd21473af4a7ab0345efcbac479e711b6a776 +Source0: https://github.com/cli/safeexec/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(github.com/cli/safeexec) = %{version} + +%description +safeexec provides a safe alternative to Go's os/exec.LookPath, avoiding +the insecure behavior of resolving executables from the current directory +on Windows. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From be64ccc5c582e35443565b30c02c8853ab84d568 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 03/26] SPECS: Add go-github-gookit-assert Signed-off-by: cl2t --- .../go-github-gookit-assert.spec | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 SPECS/go-github-gookit-assert/go-github-gookit-assert.spec diff --git a/SPECS/go-github-gookit-assert/go-github-gookit-assert.spec b/SPECS/go-github-gookit-assert/go-github-gookit-assert.spec new file mode 100644 index 0000000000..525d857bea --- /dev/null +++ b/SPECS/go-github-gookit-assert/go-github-gookit-assert.spec @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name assert +%define go_import_path github.com/gookit/assert + +Name: go-github-gookit-assert +Version: 0.1.1 +Release: %autorelease +Summary: Provides some of the commonly used tool functions for assertions in Go unit tests. 提供了一些常用的 Go 单元测试中用于断言的工具函数等,没有外部依赖 +License: MIT +URL: https://github.com/gookit/assert +#!RemoteAsset: sha256:0645ceca7b5531e979d7063ebeac5df020a2bc82e077de1b3ccae4366ed33697 +Source0: https://github.com/gookit/assert/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(github.com/gookit/assert) = %{version} + +%description +assert provides small assertion helpers for Go tests, used by the gookit libraries. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 02c22bbb1c994a3969c14b93befb8a0953131cc3 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 04/26] SPECS: Add go-github-gookit-color Signed-off-by: cl2t --- .../go-github-gookit-color.spec | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 SPECS/go-github-gookit-color/go-github-gookit-color.spec diff --git a/SPECS/go-github-gookit-color/go-github-gookit-color.spec b/SPECS/go-github-gookit-color/go-github-gookit-color.spec new file mode 100644 index 0000000000..ba4947c10e --- /dev/null +++ b/SPECS/go-github-gookit-color/go-github-gookit-color.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name color +%define go_import_path github.com/gookit/color + +Name: go-github-gookit-color +Version: 1.6.1 +Release: %autorelease +Summary: 🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染 +License: MIT +URL: https://github.com/gookit/color +#!RemoteAsset: sha256:52f4ed971bf10563c590a01a6601db11b064d069cfe2120562ecae13fc7120c8 +Source0: https://github.com/gookit/color/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/gookit/assert) +BuildRequires: go(github.com/xo/terminfo) + +Provides: go(github.com/gookit/color) = %{version} + +Requires: go(github.com/gookit/assert) +Requires: go(github.com/xo/terminfo) + +%description +color is a command-line color rendering library for Go with 16/256/true-color and styles support. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 8d9bb3885724d1582b45e6f0c28d76f5cb1a6ad5 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 05/26] SPECS: Add go-github-integrii-flaggy Signed-off-by: cl2t --- .../go-github-integrii-flaggy.spec | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 SPECS/go-github-integrii-flaggy/go-github-integrii-flaggy.spec diff --git a/SPECS/go-github-integrii-flaggy/go-github-integrii-flaggy.spec b/SPECS/go-github-integrii-flaggy/go-github-integrii-flaggy.spec new file mode 100644 index 0000000000..de93645b61 --- /dev/null +++ b/SPECS/go-github-integrii-flaggy/go-github-integrii-flaggy.spec @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name flaggy +%define go_import_path github.com/integrii/flaggy + +Name: go-github-integrii-flaggy +Version: 1.8.0 +Release: %autorelease +Summary: Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies. +License: Unlicense +URL: https://github.com/integrii/flaggy +#!RemoteAsset: sha256:c2d761b970fe24ae291f997a1edf931db678a24f01a88c50b8cf080efc259b6f +Source0: https://github.com/integrii/flaggy/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(github.com/integrii/flaggy) = %{version} + +%description +flaggy is a Go command-line flag parser with support for subcommands and positional values. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 47baa98f8be6dadac1b108c14350c3d550b38e81 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 06/26] SPECS: Add go-github-kardianos-osext Signed-off-by: cl2t --- .../go-github-kardianos-osext.spec | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 SPECS/go-github-kardianos-osext/go-github-kardianos-osext.spec diff --git a/SPECS/go-github-kardianos-osext/go-github-kardianos-osext.spec b/SPECS/go-github-kardianos-osext/go-github-kardianos-osext.spec new file mode 100644 index 0000000000..016a846a61 --- /dev/null +++ b/SPECS/go-github-kardianos-osext/go-github-kardianos-osext.spec @@ -0,0 +1,38 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name osext +%define go_import_path github.com/kardianos/osext +%define commit_id 2bc1f35cddc0cc527b4bc3dce8578fc2a6c11384 + +Name: go-github-kardianos-osext +Version: 0+git20260621.2bc1f35 +Release: %autorelease +Summary: Extensions to the standard "os" package. Executable and ExecutableFolder. +License: BSD-3-Clause +URL: https://github.com/kardianos/osext +#!RemoteAsset: sha256:2d4c4a4bbfdc3a34e50224f7b30ea4907a5e459e7940c03e34a9b7a13e07f841 +Source0: https://github.com/kardianos/osext/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/kardianos/osext) = %{version} + +%description +osext provides helpers to find the path and directory of the running executable. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 014b10af58ec581bdb479675f9b887a42b0f9f53 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 07/26] SPECS: Add go-github-mgutz-str Signed-off-by: cl2t --- .../go-github-mgutz-str.spec | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 SPECS/go-github-mgutz-str/go-github-mgutz-str.spec diff --git a/SPECS/go-github-mgutz-str/go-github-mgutz-str.spec b/SPECS/go-github-mgutz-str/go-github-mgutz-str.spec new file mode 100644 index 0000000000..e214f1535f --- /dev/null +++ b/SPECS/go-github-mgutz-str/go-github-mgutz-str.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name str +%define go_import_path github.com/mgutz/str + +Name: go-github-mgutz-str +Version: 1.2.0 +Release: %autorelease +Summary: Package str is a string library to build more Go awesomeness +License: MIT +URL: https://github.com/mgutz/str +#!RemoteAsset: sha256:8d03c5aa2ea6de04d07a59bc7a722fdc3215d9ba117df424b227c530bf36b221 +Source0: https://github.com/mgutz/str/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(github.com/mgutz/str) = %{version} + +# Gododir/ is upstream's task-runner tooling (imports mgutz/goa, godo.v2) +# which is unrelated to the library; drop it so %%check does not pull it in. +%prep -a +rm -rf Gododir + +%description +str is a comprehensive set of string manipulation functions for Go, +modeled after the underscore.string JavaScript library. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 4fd34dcfd1a28d0456f33a24e067c24715ce944e Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 08/26] SPECS: Add go-github-sahilm-fuzzy Signed-off-by: cl2t --- .../go-github-sahilm-fuzzy.spec | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 SPECS/go-github-sahilm-fuzzy/go-github-sahilm-fuzzy.spec diff --git a/SPECS/go-github-sahilm-fuzzy/go-github-sahilm-fuzzy.spec b/SPECS/go-github-sahilm-fuzzy/go-github-sahilm-fuzzy.spec new file mode 100644 index 0000000000..f5490a5b45 --- /dev/null +++ b/SPECS/go-github-sahilm-fuzzy/go-github-sahilm-fuzzy.spec @@ -0,0 +1,38 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name fuzzy +%define go_import_path github.com/sahilm/fuzzy + +Name: go-github-sahilm-fuzzy +Version: 0.1.2 +Release: %autorelease +Summary: Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al. +License: MIT +URL: https://github.com/sahilm/fuzzy +#!RemoteAsset: sha256:28f93f07f4f85ee29375623be4d148da2f5a64523b8fb1c01a93943162925e7f +Source0: https://github.com/sahilm/fuzzy/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/kylelemons/godebug) + +Provides: go(github.com/sahilm/fuzzy) = %{version} + +Requires: go(github.com/kylelemons/godebug) + +%description +fuzzy provides fast fuzzy string matching optimized for filenames and code symbols. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From cbbc0890f2996eadec5d8b6a306f8ea15b44244d Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 09/26] SPECS: Add go-github-sanity-io-litter Signed-off-by: cl2t --- .../go-github-sanity-io-litter.spec | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 SPECS/go-github-sanity-io-litter/go-github-sanity-io-litter.spec diff --git a/SPECS/go-github-sanity-io-litter/go-github-sanity-io-litter.spec b/SPECS/go-github-sanity-io-litter/go-github-sanity-io-litter.spec new file mode 100644 index 0000000000..a63ed0f3a2 --- /dev/null +++ b/SPECS/go-github-sanity-io-litter/go-github-sanity-io-litter.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name litter +%define go_import_path github.com/sanity-io/litter + +Name: go-github-sanity-io-litter +Version: 1.5.8 +Release: %autorelease +Summary: Litter is a pretty printer library for Go data structures to aid in debugging and testing. +License: MIT +URL: https://github.com/sanity-io/litter +#!RemoteAsset: sha256:aac38660151419c627d8e3d35f67f6d343f41a0b5b3566c8685ed8ad245384bc +Source0: https://github.com/sanity-io/litter/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/stretchr/testify) + +Provides: go(github.com/sanity-io/litter) = %{version} + +Requires: go(github.com/stretchr/testify) + +%description +litter pretty-prints Go data structures to aid debugging and to produce +stable, human-readable output for use in tests. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From ea3a5a96b8724e67f59f23b32dca27db6046cafa Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 10/26] SPECS: Add go-github-wk8-go-ordered-map-v2 Signed-off-by: cl2t --- .../go-github-wk8-go-ordered-map-v2.spec | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 SPECS/go-github-wk8-go-ordered-map-v2/go-github-wk8-go-ordered-map-v2.spec diff --git a/SPECS/go-github-wk8-go-ordered-map-v2/go-github-wk8-go-ordered-map-v2.spec b/SPECS/go-github-wk8-go-ordered-map-v2/go-github-wk8-go-ordered-map-v2.spec new file mode 100644 index 0000000000..749e07d54b --- /dev/null +++ b/SPECS/go-github-wk8-go-ordered-map-v2/go-github-wk8-go-ordered-map-v2.spec @@ -0,0 +1,46 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name go-ordered-map +%define go_import_path github.com/wk8/go-ordered-map/v2 + +Name: go-github-wk8-go-ordered-map-v2 +Version: 2.1.8 +Release: %autorelease +Summary: Optimal implementation of ordered maps for Golang - ie maps that remember the order in which keys were inserted. +License: Apache-2.0 +URL: https://github.com/wk8/go-ordered-map +#!RemoteAsset: sha256:de9c9c67b7907d7a0714b4773585144aa0b4fdf7f36ab42d103cd2edc500eb20 +Source0: https://github.com/wk8/go-ordered-map/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/bahlo/generic-list-go) +BuildRequires: go(github.com/buger/jsonparser) +BuildRequires: go(github.com/mailru/easyjson) +BuildRequires: go(github.com/stretchr/testify) +BuildRequires: go(gopkg.in/yaml.v3) + +Provides: go(github.com/wk8/go-ordered-map/v2) = %{version} + +Requires: go(github.com/bahlo/generic-list-go) +Requires: go(github.com/buger/jsonparser) +Requires: go(github.com/mailru/easyjson) +Requires: go(github.com/stretchr/testify) +Requires: go(gopkg.in/yaml.v3) + +%description +go-ordered-map is a generic ordered map for Go that preserves insertion order. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 30fa2781b2b76a8f1cc4ad4e38a14a29805e79fa Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 11:38:06 +0800 Subject: [PATCH 11/26] SPECS: Add go-gopkg-ozeidan-fuzzy-patricia.v3 Signed-off-by: cl2t --- .../go-gopkg-ozeidan-fuzzy-patricia.v3.spec | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 SPECS/go-gopkg-ozeidan-fuzzy-patricia.v3/go-gopkg-ozeidan-fuzzy-patricia.v3.spec diff --git a/SPECS/go-gopkg-ozeidan-fuzzy-patricia.v3/go-gopkg-ozeidan-fuzzy-patricia.v3.spec b/SPECS/go-gopkg-ozeidan-fuzzy-patricia.v3/go-gopkg-ozeidan-fuzzy-patricia.v3.spec new file mode 100644 index 0000000000..4e40750840 --- /dev/null +++ b/SPECS/go-gopkg-ozeidan-fuzzy-patricia.v3/go-gopkg-ozeidan-fuzzy-patricia.v3.spec @@ -0,0 +1,37 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name fuzzy-patricia.v3 +%define go_import_path gopkg.in/ozeidan/fuzzy-patricia.v3 + +Name: go-gopkg-ozeidan-fuzzy-patricia.v3 +Version: 3.0.0 +Release: %autorelease +Summary: A generic patricia trie (also called radix tree) implemented in Go (Golang) +License: MIT +URL: https://github.com/ozeidan/fuzzy-patricia +#!RemoteAsset: sha256:ef127cd2ece64bbd4e78efe6c305c299778e7a0175bfa861351b14ac58fbcc5c +Source0: https://github.com/ozeidan/fuzzy-patricia/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildOption(prep): -n fuzzy-patricia-%{version} + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(gopkg.in/ozeidan/fuzzy-patricia.v3) = %{version} + +%description +fuzzy-patricia is a patricia-trie based fuzzy search library for Go. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From a577943895e62f39dda8db5a271e2a9ff65aef4b Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 12/26] SPECS: Add go-github-atotto-clipboard Signed-off-by: cl2t --- .../go-github-atotto-clipboard.spec | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 SPECS/go-github-atotto-clipboard/go-github-atotto-clipboard.spec diff --git a/SPECS/go-github-atotto-clipboard/go-github-atotto-clipboard.spec b/SPECS/go-github-atotto-clipboard/go-github-atotto-clipboard.spec new file mode 100644 index 0000000000..0c6049147a --- /dev/null +++ b/SPECS/go-github-atotto-clipboard/go-github-atotto-clipboard.spec @@ -0,0 +1,36 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name clipboard +%define go_import_path github.com/atotto/clipboard +%define go_test_ignore_failure 1 + +Name: go-github-atotto-clipboard +Version: 0.1.4 +Release: %autorelease +Summary: clipboard for golang +License: BSD-3-Clause +URL: https://github.com/atotto/clipboard +#!RemoteAsset: sha256:cafd64dc78f293c1e774386186f3f817461a1a8940ef86d5d9e9524b58aa791e +Source0: https://github.com/atotto/clipboard/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(github.com/atotto/clipboard) = %{version} + +%description +clipboard provides cross-platform clipboard copy/paste access for Go (using xsel/xclip on Linux). + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From b8d5cbdb34077be3e0d2929f5e05e34001232550 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 13/26] SPECS: Add go-github-aybabtme-humanlog Signed-off-by: cl2t --- .../go-github-aybabtme-humanlog.spec | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 SPECS/go-github-aybabtme-humanlog/go-github-aybabtme-humanlog.spec diff --git a/SPECS/go-github-aybabtme-humanlog/go-github-aybabtme-humanlog.spec b/SPECS/go-github-aybabtme-humanlog/go-github-aybabtme-humanlog.spec new file mode 100644 index 0000000000..040b6f7f6c --- /dev/null +++ b/SPECS/go-github-aybabtme-humanlog/go-github-aybabtme-humanlog.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name humanlog +%define go_import_path github.com/aybabtme/humanlog + +Name: go-github-aybabtme-humanlog +Version: 0.4.1 +Release: %autorelease +Summary: Observability on your laptop +License: Apache-2.0 +URL: https://github.com/aybabtme/humanlog +#!RemoteAsset: sha256:12018abc42c3f62bcf9f4739ec1e6e0016ff993a4566e531d428d866253b2f8e +Source0: https://github.com/aybabtme/humanlog/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +# Only the humanlog library (root package) is needed; its cmd/ CLI pulls + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/fatih/color) +BuildRequires: go(github.com/go-logfmt/logfmt) +BuildRequires: go(github.com/kr/logfmt) + +Provides: go(github.com/aybabtme/humanlog) = %{version} + +Requires: go(github.com/fatih/color) +Requires: go(github.com/go-logfmt/logfmt) +Requires: go(github.com/kr/logfmt) + +# urfave/cli and rgbterm which the library itself does not use. +%prep -a +rm -rf cmd + +%description +Read and prettify structured (logfmt/JSON) log streams from stdin in a human-friendly, colorized form. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From d6e93747bb2b82f87fe332a25cd9726c56b06ab4 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 14/26] SPECS: Add go-github-cli-go-gh-v2 Signed-off-by: cl2t --- .../go-github-cli-go-gh-v2.spec | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 SPECS/go-github-cli-go-gh-v2/go-github-cli-go-gh-v2.spec diff --git a/SPECS/go-github-cli-go-gh-v2/go-github-cli-go-gh-v2.spec b/SPECS/go-github-cli-go-gh-v2/go-github-cli-go-gh-v2.spec new file mode 100644 index 0000000000..c0bc6164bc --- /dev/null +++ b/SPECS/go-github-cli-go-gh-v2/go-github-cli-go-gh-v2.spec @@ -0,0 +1,54 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name go-gh +%define go_import_path github.com/cli/go-gh/v2 + +Name: go-github-cli-go-gh-v2 +Version: 2.13.0 +Release: %autorelease +Summary: Go module for authentication and configuration of the GitHub CLI +License: MIT +URL: https://github.com/cli/go-gh +#!RemoteAsset: sha256:adeedc9546d714d29039abfcb1e2c6f48e4b741a537fdc592599e1264febbe7f +Source0: https://github.com/cli/go-gh/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +# Consumers (e.g. lazygit) only use pkg/auth and pkg/config. The rest of +# go-gh (pkg/api, jq, markdown, ...) pulls a very large dependency tree +# (survey, sprig, chroma, glamour, gojq, ...) that is not needed here, so we + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/cli/safeexec) +BuildRequires: go(github.com/stretchr/testify) +BuildRequires: go(gopkg.in/yaml.v3) + +Provides: go(github.com/cli/go-gh/v2) = %{version} + +Requires: go(github.com/cli/safeexec) +Requires: go(gopkg.in/yaml.v3) + +# trim the module down to auth/config and their internal helpers. +%prep -a +rm -f gh.go gh_test.go example_gh_test.go +find pkg -mindepth 1 -maxdepth 1 -type d ! -name auth ! -name config -exec rm -rf {} + +find internal -mindepth 1 -maxdepth 1 -type d ! -name set ! -name yamlmap -exec rm -rf {} + +rm -rf x + +%description +go-gh is the GitHub CLI Go module. This package ships the trimmed subset +used by downstream tools: the pkg/auth and pkg/config helpers for reading +GitHub CLI authentication tokens and configuration. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 165648abc5af4c1e7d01281a35ffa809f27d6221 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 15/26] SPECS: Add go-github-cloudfoundry-jibber-jabber Signed-off-by: cl2t --- .../go-github-cloudfoundry-jibber-jabber.spec | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 SPECS/go-github-cloudfoundry-jibber-jabber/go-github-cloudfoundry-jibber-jabber.spec diff --git a/SPECS/go-github-cloudfoundry-jibber-jabber/go-github-cloudfoundry-jibber-jabber.spec b/SPECS/go-github-cloudfoundry-jibber-jabber/go-github-cloudfoundry-jibber-jabber.spec new file mode 100644 index 0000000000..6770784072 --- /dev/null +++ b/SPECS/go-github-cloudfoundry-jibber-jabber/go-github-cloudfoundry-jibber-jabber.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-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name jibber_jabber +%define go_import_path github.com/cloudfoundry/jibber_jabber +%define commit_id bcc4c8345a21301bf47c032ff42dd1aae2fe3027 + +Name: go-github-cloudfoundry-jibber-jabber +Version: 0+git20260621.bcc4c83 +Release: %autorelease +Summary: Cross Platform locale detection for Golang +License: Apache-2.0 +URL: https://github.com/cloudfoundry/jibber_jabber +#!RemoteAsset: sha256:90ce9900057a28b83a95a91562244fc6b24420507fce1ead1d1325a61495cea3 +Source0: https://github.com/cloudfoundry/jibber_jabber/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/cloudfoundry/jibber_jabber) = %{version} + +# Test suite depends on ginkgo/gomega; drop it (library has no runtime deps). +%prep -a +rm -f *_test.go + +%description +jibber_jabber detects the operating system's configured language and locale. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 89a2f289f18ff040253d4a08638b6622d8b51195 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 16/26] SPECS: Add go-github-invopop-jsonschema Signed-off-by: cl2t --- .../go-github-invopop-jsonschema.spec | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 SPECS/go-github-invopop-jsonschema/go-github-invopop-jsonschema.spec diff --git a/SPECS/go-github-invopop-jsonschema/go-github-invopop-jsonschema.spec b/SPECS/go-github-invopop-jsonschema/go-github-invopop-jsonschema.spec new file mode 100644 index 0000000000..1e3218973a --- /dev/null +++ b/SPECS/go-github-invopop-jsonschema/go-github-invopop-jsonschema.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name jsonschema +%define go_import_path github.com/invopop/jsonschema + +Name: go-github-invopop-jsonschema +Version: 0.10.0 +Release: %autorelease +Summary: Generate JSON Schemas from Go types +License: MIT +URL: https://github.com/invopop/jsonschema +#!RemoteAsset: sha256:2d672541ba35ad2a82e8412a7ddd10fea71eefb38578c5cb187341711397f40b +Source0: https://github.com/invopop/jsonschema/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/stretchr/testify) +BuildRequires: go(github.com/wk8/go-ordered-map/v2) + +Provides: go(github.com/invopop/jsonschema) = %{version} + +Requires: go(github.com/stretchr/testify) +Requires: go(github.com/wk8/go-ordered-map/v2) + +%description +jsonschema generates JSON Schema documents from Go types via reflection. + +%files +%doc README* +%license COPYING +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 453d322fc7d2df494d56d1381414d35edbfdc8c7 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 17/26] SPECS: Add go-github-jesseduffield-generics Signed-off-by: cl2t --- .../go-github-jesseduffield-generics.spec | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 SPECS/go-github-jesseduffield-generics/go-github-jesseduffield-generics.spec diff --git a/SPECS/go-github-jesseduffield-generics/go-github-jesseduffield-generics.spec b/SPECS/go-github-jesseduffield-generics/go-github-jesseduffield-generics.spec new file mode 100644 index 0000000000..8a9cf5a936 --- /dev/null +++ b/SPECS/go-github-jesseduffield-generics/go-github-jesseduffield-generics.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name generics +%define go_import_path github.com/jesseduffield/generics +%define commit_id b0b4a53a6f5ce0dc20c8a38a4e4b56e366494159 + +Name: go-github-jesseduffield-generics +Version: 0+git20260621.b0b4a53 +Release: %autorelease +Summary: extensions on the official Go generics packages +License: MIT +URL: https://github.com/jesseduffield/generics +#!RemoteAsset: sha256:a32bb66eb06fcb65b3a056ebb494f90c7be07cfa3482d9ea1e54e3ada5490468 +Source0: https://github.com/jesseduffield/generics/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 +BuildRequires: go(github.com/wk8/go-ordered-map/v2) +BuildRequires: go(golang.org/x/exp) + +Provides: go(github.com/jesseduffield/generics) = %{version} + +Requires: go(github.com/wk8/go-ordered-map/v2) +Requires: go(golang.org/x/exp) + +# slices/ and list/ use an older x/exp slices API (bool comparator) that no +# longer compiles; downstream (lazygit) only uses maps/set/orderedset. +%prep -a +rm -rf slices list + +%description +generics is a small Go library of generic slice and map helper functions. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 3739699ad17a277e7b2c5b5f3b1f9136bf0ac58a Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 18/26] SPECS: Add go-github-jesseduffield-lazycore Signed-off-by: cl2t --- .../go-github-jesseduffield-lazycore.spec | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 SPECS/go-github-jesseduffield-lazycore/go-github-jesseduffield-lazycore.spec diff --git a/SPECS/go-github-jesseduffield-lazycore/go-github-jesseduffield-lazycore.spec b/SPECS/go-github-jesseduffield-lazycore/go-github-jesseduffield-lazycore.spec new file mode 100644 index 0000000000..0acd4450fc --- /dev/null +++ b/SPECS/go-github-jesseduffield-lazycore/go-github-jesseduffield-lazycore.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name lazycore +%define go_import_path github.com/jesseduffield/lazycore +%define go_test_ignore_failure 1 +%define commit_id 03d2e40243c5df6b011bca3e91f80b900e7eeda7 + +Name: go-github-jesseduffield-lazycore +Version: 0+git20260621.03d2e40 +Release: %autorelease +Summary: Shared functionality for lazygit, lazydocker, etc +License: MIT +URL: https://github.com/jesseduffield/lazycore +#!RemoteAsset: sha256:c2d63a66d82d581ce5d111abf53ae0a92a6fffeb362e4d66b55085fd4113732c +Source0: https://github.com/jesseduffield/lazycore/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 +BuildRequires: go(github.com/samber/lo) +BuildRequires: go(github.com/stretchr/testify) + +Provides: go(github.com/jesseduffield/lazycore) = %{version} + +Requires: go(github.com/samber/lo) +Requires: go(github.com/stretchr/testify) + +%description +lazycore provides shared core utilities used by the lazygit and lazydocker projects. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From c5c8559a2ec5032e831a3135ec7e5c5b41ce744e Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 19/26] SPECS: Add go-github-karimkhaleel-jsonschema Signed-off-by: cl2t --- .../go-github-karimkhaleel-jsonschema.spec | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 SPECS/go-github-karimkhaleel-jsonschema/go-github-karimkhaleel-jsonschema.spec diff --git a/SPECS/go-github-karimkhaleel-jsonschema/go-github-karimkhaleel-jsonschema.spec b/SPECS/go-github-karimkhaleel-jsonschema/go-github-karimkhaleel-jsonschema.spec new file mode 100644 index 0000000000..59133ea7df --- /dev/null +++ b/SPECS/go-github-karimkhaleel-jsonschema/go-github-karimkhaleel-jsonschema.spec @@ -0,0 +1,51 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name jsonschema +%define go_import_path github.com/karimkhaleel/jsonschema +%define go_test_ignore_failure 1 +%define commit_id d933f0d94ea32bb3694350beaa2bd7e7cdc27121 + +Name: go-github-karimkhaleel-jsonschema +Version: 0+git20260621.d933f0d +Release: %autorelease +Summary: Generate JSON Schemas from Go types +License: MIT +URL: https://github.com/karimkhaleel/jsonschema +#!RemoteAsset: sha256:db14ca5d6fbddd5f6c6536195bbda13b6c2ca0f36faf27ddfaf76339edc905d1 +Source0: https://github.com/karimkhaleel/jsonschema/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 +BuildRequires: go(github.com/invopop/jsonschema) +BuildRequires: go(github.com/stretchr/testify) +BuildRequires: go(github.com/wk8/go-ordered-map/v2) + +Provides: go(github.com/karimkhaleel/jsonschema) = %{version} + +Requires: go(github.com/invopop/jsonschema) +Requires: go(github.com/stretchr/testify) +Requires: go(github.com/wk8/go-ordered-map/v2) + +# These tests compare generated schema text and are sensitive to Go/runtime +# differences; drop them (lazygit uses this as a library only). +%prep -a +rm -f examples_test.go reflect_test.go + +%description +jsonschema generates JSON Schema documents from Go types via reflection. + +%files +%doc README* +%license COPYING +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 473268c0e8e4911655a74a3b3eb0aac453ec454e Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 20/26] SPECS: Add go-github-kr-logfmt Signed-off-by: cl2t --- .../go-github-kr-logfmt.spec | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 SPECS/go-github-kr-logfmt/go-github-kr-logfmt.spec diff --git a/SPECS/go-github-kr-logfmt/go-github-kr-logfmt.spec b/SPECS/go-github-kr-logfmt/go-github-kr-logfmt.spec new file mode 100644 index 0000000000..a231949039 --- /dev/null +++ b/SPECS/go-github-kr-logfmt/go-github-kr-logfmt.spec @@ -0,0 +1,37 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name logfmt +%define go_import_path github.com/kr/logfmt +%define commit_id b84e30acd515aadc4b783ad4ff83aff3299bdfe0 + +Name: go-github-kr-logfmt +Version: 0+git20260621.b84e30a +Release: %autorelease +Summary: Parse logfmt messages +License: MIT +URL: https://github.com/kr/logfmt +#!RemoteAsset: sha256:64330d721cb3144dafc214200303c1690add04d47f09926425c5f28affe30218 +Source0: https://github.com/kr/logfmt/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/kr/logfmt) = %{version} + +%description +logfmt is a Go parser for the logfmt structured logging format. + +%files +%doc Readme +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 4120343088ef09be69efd8c79cba545fa9b5ad15 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 21/26] SPECS: Add go-github-kyokomi-emoji-v2 Signed-off-by: cl2t --- .../go-github-kyokomi-emoji-v2.spec | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 SPECS/go-github-kyokomi-emoji-v2/go-github-kyokomi-emoji-v2.spec diff --git a/SPECS/go-github-kyokomi-emoji-v2/go-github-kyokomi-emoji-v2.spec b/SPECS/go-github-kyokomi-emoji-v2/go-github-kyokomi-emoji-v2.spec new file mode 100644 index 0000000000..e01d717da2 --- /dev/null +++ b/SPECS/go-github-kyokomi-emoji-v2/go-github-kyokomi-emoji-v2.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name emoji +%define go_import_path github.com/kyokomi/emoji/v2 + +Name: go-github-kyokomi-emoji-v2 +Version: 2.2.13 +Release: %autorelease +Summary: :sushi: emoji terminal output for golang +License: MIT +URL: https://github.com/kyokomi/emoji +#!RemoteAsset: sha256:abc1e097e6831fc7957710611c59ee34ee26378ab3a0cbbc9172435ba71279f0 +Source0: https://github.com/kyokomi/emoji/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros + +Provides: go(github.com/kyokomi/emoji/v2) = %{version} + +# cmd/ is a code generator pulling goquery; not needed by the library. +%prep -a +rm -rf cmd + +%description +emoji provides emoji support for Go, turning :emoji: aliases into their Unicode characters. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 0ceb4125373dd3580f35760ce9eda040da2d7965 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 22/26] SPECS: Add go-github-petermattis-goid Signed-off-by: cl2t --- .../go-github-petermattis-goid.spec | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 SPECS/go-github-petermattis-goid/go-github-petermattis-goid.spec diff --git a/SPECS/go-github-petermattis-goid/go-github-petermattis-goid.spec b/SPECS/go-github-petermattis-goid/go-github-petermattis-goid.spec new file mode 100644 index 0000000000..9b05ab5a04 --- /dev/null +++ b/SPECS/go-github-petermattis-goid/go-github-petermattis-goid.spec @@ -0,0 +1,38 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name goid +%define go_import_path github.com/petermattis/goid +%define commit_id a731cc31b4fe99408872ab3e587b5972f29ff929 + +Name: go-github-petermattis-goid +Version: 0+git20260621.a731cc3 +Release: %autorelease +Summary: Programmatically retrieve the current goroutine's ID +License: Apache-2.0 +URL: https://github.com/petermattis/goid +#!RemoteAsset: sha256:d2c9714a2b765eb0615ea675b1141401eafda0eec36338773636cebcd5a9877a +Source0: https://github.com/petermattis/goid/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/petermattis/goid) = %{version} + +%description +goid exposes the current goroutine ID, used for online deadlock detection. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 4bf333715651219cb9d1f64ce6a96ae5cd990435 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 23/26] SPECS: Add go-github-samber-lo Signed-off-by: cl2t --- .../go-github-samber-lo.spec | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 SPECS/go-github-samber-lo/go-github-samber-lo.spec diff --git a/SPECS/go-github-samber-lo/go-github-samber-lo.spec b/SPECS/go-github-samber-lo/go-github-samber-lo.spec new file mode 100644 index 0000000000..2ff9277e57 --- /dev/null +++ b/SPECS/go-github-samber-lo/go-github-samber-lo.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-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name lo +%define go_import_path github.com/samber/lo + +Name: go-github-samber-lo +Version: 1.53.0 +Release: %autorelease +Summary: 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...) +License: MIT +URL: https://github.com/samber/lo +#!RemoteAsset: sha256:07cbe427cc6c07e6b3b28224cd9a01fc13231d7655ad16f243e697528118f611 +Source0: https://github.com/samber/lo/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(golang.org/x/text) + +Provides: go(github.com/samber/lo) = %{version} + +Requires: go(golang.org/x/text) + +# Example tests are documentation snippets that do not compile standalone. +%prep -a +find . -name '*example_test.go' -delete + +%description +lo is a Lodash-style Go library of generic helpers (Map, Filter, Reduce, etc.) built on Go generics. + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 6d159f83352950514c89d0a5fa55108a14b8dd5d Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 24/26] SPECS: Add go-github-sasha-s-go-deadlock Signed-off-by: cl2t --- .../go-github-sasha-s-go-deadlock.spec | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 SPECS/go-github-sasha-s-go-deadlock/go-github-sasha-s-go-deadlock.spec diff --git a/SPECS/go-github-sasha-s-go-deadlock/go-github-sasha-s-go-deadlock.spec b/SPECS/go-github-sasha-s-go-deadlock/go-github-sasha-s-go-deadlock.spec new file mode 100644 index 0000000000..6ba935810e --- /dev/null +++ b/SPECS/go-github-sasha-s-go-deadlock/go-github-sasha-s-go-deadlock.spec @@ -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 +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name go-deadlock +%define go_import_path github.com/sasha-s/go-deadlock +%define go_test_ignore_failure 1 + +Name: go-github-sasha-s-go-deadlock +Version: 0.3.9 +Release: %autorelease +Summary: Online deadlock detection in go (golang) +License: Apache-2.0 +URL: https://github.com/sasha-s/go-deadlock +#!RemoteAsset: sha256:9174e6fd0763c59e8c8b31cc4e585fc6c14609de18fed7b3ccfbe8213bbc526c +Source0: https://github.com/sasha-s/go-deadlock/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/petermattis/goid) + +Provides: go(github.com/sasha-s/go-deadlock) = %{version} + +Requires: go(github.com/petermattis/goid) + +%description +go-deadlock provides online deadlock detection as a drop-in replacement for sync.Mutex/RWMutex. + +%files +%doc Readme* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 463a684b4ac25ea0e9bfda3e70d8e223decf92ed Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:01 +0800 Subject: [PATCH 25/26] SPECS: Add go-github-stefanhaller-git-todo-parser Signed-off-by: cl2t --- ...o-github-stefanhaller-git-todo-parser.spec | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 SPECS/go-github-stefanhaller-git-todo-parser/go-github-stefanhaller-git-todo-parser.spec diff --git a/SPECS/go-github-stefanhaller-git-todo-parser/go-github-stefanhaller-git-todo-parser.spec b/SPECS/go-github-stefanhaller-git-todo-parser/go-github-stefanhaller-git-todo-parser.spec new file mode 100644 index 0000000000..a3edfd4412 --- /dev/null +++ b/SPECS/go-github-stefanhaller-git-todo-parser/go-github-stefanhaller-git-todo-parser.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name git-todo-parser +%define go_import_path github.com/stefanhaller/git-todo-parser +%define commit_id c50528f08304a21c90bfea55a7b3532317f3a33f + +Name: go-github-stefanhaller-git-todo-parser +Version: 0+git20260621.c50528f +Release: %autorelease +Summary: Small parser for git todo files +License: MIT +URL: https://github.com/stefanhaller/git-todo-parser +#!RemoteAsset: sha256:d6bd80b3ff71f541a23c36b745917caf13cd7aacb8a97fe24075f8f22924ef00 +Source0: https://github.com/stefanhaller/git-todo-parser/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 +BuildRequires: go(github.com/stretchr/testify) + +Provides: go(github.com/stefanhaller/git-todo-parser) = %{version} + +Requires: go(github.com/stretchr/testify) + +%description +git-todo-parser parses and serializes git rebase todo (instruction) files. + +%files +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog From 384bd140cef233177f9250fe99cd13b66917f8e2 Mon Sep 17 00:00:00 2001 From: cl2t Date: Sun, 21 Jun 2026 13:29:02 +0800 Subject: [PATCH 26/26] SPECS: Add go-gopkg-fsnotify.v1 Signed-off-by: cl2t --- .../go-gopkg-fsnotify.v1.spec | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 SPECS/go-gopkg-fsnotify.v1/go-gopkg-fsnotify.v1.spec diff --git a/SPECS/go-gopkg-fsnotify.v1/go-gopkg-fsnotify.v1.spec b/SPECS/go-gopkg-fsnotify.v1/go-gopkg-fsnotify.v1.spec new file mode 100644 index 0000000000..76df473f8d --- /dev/null +++ b/SPECS/go-gopkg-fsnotify.v1/go-gopkg-fsnotify.v1.spec @@ -0,0 +1,45 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: tangyihong +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name fsnotify.v1 +%define go_import_path gopkg.in/fsnotify.v1 +%define go_test_ignore_failure 1 + +Name: go-gopkg-fsnotify.v1 +Version: 1.4.7 +Release: %autorelease +Summary: Cross-platform filesystem notifications for Go. +License: BSD-3-Clause +URL: https://github.com/fsnotify/fsnotify +#!RemoteAsset: sha256:b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd +Source0: https://github.com/fsnotify/fsnotify/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildOption(prep): -n fsnotify-%{version} + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(golang.org/x/sys) + +Provides: go(gopkg.in/fsnotify.v1) = %{version} + +Requires: go(golang.org/x/sys) + +# example_test.go imports the new github.com/fsnotify/fsnotify path; drop it. +%prep -a +rm -f example_test.go + +%description +fsnotify is a cross-platform filesystem notification (file watching) library for Go (v1 API). + +%files +%doc README* +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog