Name: lexido Version: 1.4.3 Release: 1%{?dist} Summary: A terminal assistant powered by generative AI License: AGPL-3.0-or-later URL: https://github.com/micr0-dev/lexido Source0: https://github.com/micr0-dev/lexido/archive/refs/tags/v%{version}.tar.gz BuildRequires: golang BuildRequires: git %description Lexido is a terminal assistant that suggests shell commands using local/remote models. %prep %setup -q -n lexido-%{version} %build set -x export GO111MODULE=on # show go version and environment for easier debugging go version go env # download modules (verbose) so failure reasons are present in logs go mod download -x # build per upstream instructions go build -v -o lexido %install install -Dm0755 lexido %{buildroot}%{_bindir}/lexido %files %license LICENSE %doc README.md %{_bindir}/lexido