%global goipath github.com/steveyegge/beads %global debug_package %{nil} Name: beads Version: 1.0.3 Release: 1%{?dist} Summary: Distributed graph issue tracker for AI agents License: MIT URL: https://github.com/gastownhall/beads Source0: %{name}-%{version}-vendor.tar.gz Source1: go1.26.2.linux-amd64.tar.gz ExclusiveArch: x86_64 BuildRequires: gcc BuildRequires: make BuildRequires: git-core %description Beads provides a persistent, structured memory for coding agents. It replaces messy markdown plans with a dependency-aware graph, allowing agents to handle long-horizon tasks without losing context. Powered by Dolt for version-controlled SQL with cell-level merge, native branching, and built-in sync via Dolt remotes. %prep %setup -q -n %{name}-%{version} # Unpack Go 1.26.2 toolchain mkdir -p _goroot tar xzf %{SOURCE1} -C _goroot --strip-components=1 %build export GOROOT=$(pwd)/_goroot export PATH="${GOROOT}/bin:${PATH}" export GOFLAGS="-mod=vendor" export CGO_ENABLED=1 export GOPATH=$(pwd)/_gopath go build \ -tags gms_pure_go \ -ldflags="-X main.Version=%{version} -X main.Build=%{release}" \ -o bd ./cmd/bd %install install -Dm755 bd %{buildroot}%{_bindir}/bd # Generate shell completions install -d %{buildroot}%{_datadir}/bash-completion/completions install -d %{buildroot}%{_datadir}/zsh/site-functions install -d %{buildroot}%{_datadir}/fish/vendor_completions.d %{buildroot}%{_bindir}/bd completion bash > %{buildroot}%{_datadir}/bash-completion/completions/bd || : %{buildroot}%{_bindir}/bd completion zsh > %{buildroot}%{_datadir}/zsh/site-functions/_bd || : %{buildroot}%{_bindir}/bd completion fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/bd.fish || : %files %license LICENSE %doc README.md CHANGELOG.md docs/ %{_bindir}/bd %{_datadir}/bash-completion/completions/bd %{_datadir}/zsh/site-functions/_bd %{_datadir}/fish/vendor_completions.d/bd.fish %changelog * Tue Apr 28 2026 Greg Procunier - 1.0.3-1 - Initial RPM package for Fedora 43 and EPEL 10