# the release's static musl binary, repackaged: the same bytes every other # channel ships, so nothing is compiled, stripped or split here. %global debug_package %{nil} %global __strip /bin/true Name: urna Version: 0.5.5 Release: 1%{?dist} Summary: Offline-first vector database in one file, with citations you can verify License: MIT URL: https://urna.dev Source0: https://github.com/hoffresearch/urna/releases/download/v0.5.5/urna-x86_64-unknown-linux-musl.tar.xz Source1: https://github.com/hoffresearch/urna/releases/download/v0.5.5/urna-aarch64-unknown-linux-musl.tar.xz ExclusiveArch: x86_64 aarch64 %description Urna keeps a whole knowledge base in one .urna file: the text, its embeddings, its HNSW and BM25 indexes and the hashes that prove nothing changed. You copy it like a SQLite file and search it with no server and no network. Every hit is reranked by exact cosine similarity and carries a urna:// citation that resolves back to the stored text. For example, urna ask quickstart.urna "how do citations work" -k 1 prints the closest passage with its citation, and urna cite turns that citation back into the exact text and the hashes it is bound to. %prep %setup -q -c -T %ifarch x86_64 tar -xJf %{SOURCE0} --strip-components=1 %endif %ifarch aarch64 tar -xJf %{SOURCE1} --strip-components=1 %endif %install install -Dm0755 urna %{buildroot}%{_bindir}/urna %files %license LICENSE %doc README.md %{_bindir}/urna