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"));