Name: television Version: 0.15.3 Release: 2%{?dist} Summary: A fast, hackable fuzzy finder for the terminal License: MIT URL: https://github.com/alexpasmantier/television Source0: https://github.com/alexpasmantier/television/archive/refs/tags/%{version}.tar.gz#/television-%{version}.tar.gz Source1: television-%{version}-vendor.tar.gz BuildRequires: cargo BuildRequires: rust BuildRequires: gcc %description Television is a fast, portable fuzzy finder for the terminal. Search files, git repos, shell history, env vars and more via channels. %prep %autosetup -n television-%{version} tar xzf %{SOURCE1} --strip-components=1 mkdir -p .cargo cat > .cargo/config.toml << 'CARGO' [source.crates-io] replace-with = "vendored-sources" [source."git+https://github.com/alexpasmantier/nucleo.git?branch=television"] git = "https://github.com/alexpasmantier/nucleo.git" branch = "television" replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" CARGO %build cargo build --release --locked --offline %install install -Dm755 target/release/tv %{buildroot}%{_bindir}/tv %files %license LICENSE %{_bindir}/tv %changelog * Sat Mar 21 2026 anatta - 0.15.3-2 - Vendor dependencies for offline build * Sat Mar 21 2026 anatta - 0.15.3-1 - Initial package