From 017fdc961a07bbc2cbbc0b186d529fc632505ccd Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Sun, 14 Jun 2026 15:21:09 -0500 Subject: [PATCH] add: lazyssh (#13078) * add: lazyssh Signed-off-by: Owen-sz * fix update.rhai Signed-off-by: Owen-sz --------- Signed-off-by: Owen-sz --- anda/tools/lazyssh/anda.hcl | 5 ++++ anda/tools/lazyssh/lazyssh.spec | 43 +++++++++++++++++++++++++++++++++ anda/tools/lazyssh/update.rhai | 1 + 3 files changed, 49 insertions(+) create mode 100644 anda/tools/lazyssh/anda.hcl create mode 100644 anda/tools/lazyssh/lazyssh.spec create mode 100644 anda/tools/lazyssh/update.rhai diff --git a/anda/tools/lazyssh/anda.hcl b/anda/tools/lazyssh/anda.hcl new file mode 100644 index 0000000000..245ae509f4 --- /dev/null +++ b/anda/tools/lazyssh/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "lazyssh.spec" + } +} diff --git a/anda/tools/lazyssh/lazyssh.spec b/anda/tools/lazyssh/lazyssh.spec new file mode 100644 index 0000000000..9a758d047c --- /dev/null +++ b/anda/tools/lazyssh/lazyssh.spec @@ -0,0 +1,43 @@ +%define debug_package %{nil} + +%global goipath github.com/Adembc/lazyssh +Version: 0.3.0 + +%gometa -f + +Name: lazyssh +Release: 1%{?dist} +Summary: A terminal-based SSH manager inspired by lazydocker and k9s - Written in go + +License: Apache-2.0 +URL: https://github.com/Adembc/lazyssh +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz + +Packager: Owen Zimmerman + +BuildRequires: golang gcc go-rpm-macros +Requires: glibc + +%description +%{summary}. + +%gopkg + +%prep +%autosetup + +%build +%define gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/lazyssh %{goipath}/cmd + +%install +install -Dm 0755 %{gobuilddir}/lazyssh %{buildroot}%{_bindir}/lazyssh + +%files +%license LICENSE +%doc README.md +%{_bindir}/lazyssh + +%changelog +* Sun Jun 14 2026 Owen-sz - 0.3.0-1 +- Initial commit diff --git a/anda/tools/lazyssh/update.rhai b/anda/tools/lazyssh/update.rhai new file mode 100644 index 0000000000..6c79c7280a --- /dev/null +++ b/anda/tools/lazyssh/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Adembc/lazyssh"));