Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2e26e4d
SPECS: Add go-github-adrg-xdg
Jun 21, 2026
cd87186
SPECS: Add go-github-cli-safeexec
Jun 21, 2026
be64ccc
SPECS: Add go-github-gookit-assert
Jun 21, 2026
02c22bb
SPECS: Add go-github-gookit-color
Jun 21, 2026
8d9bb38
SPECS: Add go-github-integrii-flaggy
Jun 21, 2026
47baa98
SPECS: Add go-github-kardianos-osext
Jun 21, 2026
014b10a
SPECS: Add go-github-mgutz-str
Jun 21, 2026
4fd34dc
SPECS: Add go-github-sahilm-fuzzy
Jun 21, 2026
cbbc089
SPECS: Add go-github-sanity-io-litter
Jun 21, 2026
ea3a5a9
SPECS: Add go-github-wk8-go-ordered-map-v2
Jun 21, 2026
30fa278
SPECS: Add go-gopkg-ozeidan-fuzzy-patricia.v3
Jun 21, 2026
a577943
SPECS: Add go-github-atotto-clipboard
Jun 21, 2026
b8d5cbd
SPECS: Add go-github-aybabtme-humanlog
Jun 21, 2026
d6e9374
SPECS: Add go-github-cli-go-gh-v2
Jun 21, 2026
165648a
SPECS: Add go-github-cloudfoundry-jibber-jabber
Jun 21, 2026
89a2f28
SPECS: Add go-github-invopop-jsonschema
Jun 21, 2026
453d322
SPECS: Add go-github-jesseduffield-generics
Jun 21, 2026
3739699
SPECS: Add go-github-jesseduffield-lazycore
Jun 21, 2026
c5c8559
SPECS: Add go-github-karimkhaleel-jsonschema
Jun 21, 2026
473268c
SPECS: Add go-github-kr-logfmt
Jun 21, 2026
4120343
SPECS: Add go-github-kyokomi-emoji-v2
Jun 21, 2026
0ceb412
SPECS: Add go-github-petermattis-goid
Jun 21, 2026
4bf3337
SPECS: Add go-github-samber-lo
Jun 21, 2026
6d159f8
SPECS: Add go-github-sasha-s-go-deadlock
Jun 21, 2026
463a684
SPECS: Add go-github-stefanhaller-git-todo-parser
Jun 21, 2026
384bd14
SPECS: Add go-gopkg-fsnotify.v1
Jun 21, 2026
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
40 changes: 40 additions & 0 deletions SPECS/go-github-adrg-xdg/go-github-adrg-xdg.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
36 changes: 36 additions & 0 deletions SPECS/go-github-atotto-clipboard/go-github-atotto-clipboard.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
48 changes: 48 additions & 0 deletions SPECS/go-github-aybabtme-humanlog/go-github-aybabtme-humanlog.spec
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 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
54 changes: 54 additions & 0 deletions SPECS/go-github-cli-go-gh-v2/go-github-cli-go-gh-v2.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
37 changes: 37 additions & 0 deletions SPECS/go-github-cli-safeexec/go-github-cli-safeexec.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
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 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
35 changes: 35 additions & 0 deletions SPECS/go-github-gookit-assert/go-github-gookit-assert.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
40 changes: 40 additions & 0 deletions SPECS/go-github-gookit-color/go-github-gookit-color.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
35 changes: 35 additions & 0 deletions SPECS/go-github-integrii-flaggy/go-github-integrii-flaggy.spec
Original file line number Diff line number Diff line change
@@ -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 <yihong.or@isrc.iscas.ac.cn>
#
# 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
Loading
Loading