# Disable debuginfo extraction since we are repackaging pre-compiled binaries %global debug_package %{nil} Name: freebuff Version: 0.2.5 Release: 1%{?dist} Summary: The free coding agent for your desktop License: Apache-2.0 URL: https://freebuff.com/desktop # Standalone ELF binary + tree-sitter.wasm (upstream switched from AppImage to # tar.gz format starting ~v0.0.80; this tag is the latest with a working release) Source0: https://github.com/CodebuffAI/codebuff-community/releases/download/freebuff-v%{version}/freebuff-linux-x64.tar.gz # sha256: 8577e2bf38507483b45c56d3ad137cb5157374fc9b5f2a545733e0b2fdb520ff ExclusiveArch: x86_64 BuildRequires: desktop-file-utils # Freebuff is a standalone ELF binary with minimal system deps (libc, libm, # libpthread, libdl — all part of glibc). No Electron/AppImage runtime needed. Recommends: git %description Freebuff is the free, ad-supported tier of Codebuff: a coding agent that runs in your desktop with parallel agents, each isolated in its own workspace. No subscriptions, no API keys — powerful coding models funded by text ads. %prep %setup -c -T tar xf %{SOURCE0} %build # Nothing to compile. %install # 1. Install the standalone binary install -dm755 %{buildroot}%{_bindir} install -m755 freebuff %{buildroot}%{_bindir}/freebuff # 2. Install the tree-sitter WASM module alongside the binary install -dm755 %{buildroot}%{_datadir}/freebuff install -m644 tree-sitter.wasm %{buildroot}%{_datadir}/freebuff/tree-sitter.wasm # 3. Install the standard desktop entry (no Icon: upstream ships no icon # in the tar.gz and a zero-byte placeholder breaks icon lookup, 2026-09-23) install -dm755 %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/freebuff.desktop <<'EOF' [Desktop Entry] Name=Freebuff Comment=The free coding agent for your desktop Exec=freebuff %U Terminal=false Type=Application StartupWMClass=Freebuff Categories=Development; EOF %check desktop-file-validate %{buildroot}%{_datadir}/applications/freebuff.desktop %files %defattr(-,root,root,-) %{_bindir}/freebuff %{_datadir}/freebuff/tree-sitter.wasm %{_datadir}/applications/freebuff.desktop %changelog * Thu Oct 01 2026 Ackerman-00 - 0.2.5-1 - Auto-updated to 0.2.5 via update.sh