## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/ollama/ollama %global goipath github.com/ollama/ollama Version: 0.19.0 %gometa -L -f Name: ollama Release: %autorelease Summary: Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND BSL-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC0-1.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND LicenseRef-scancode-protobuf AND MIT AND NCSA AND NTP AND OpenSSL AND ZPL-2.1 AND Zlib URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %gobuild -o %{gobuilddir}/bin/ollama %{goipath} for cmd in docs/tools/extract-examples x/imagegen/mlx x/mlxrunner/mlx/generator; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %files -f %{go_vendor_license_filelist} %doc docs CONTRIBUTING.md README.md SECURITY.md examples app/README.md %doc app/webview/README.md cmd/bench/README.md integration/README.md %doc llama/README.md runner/README.md docs x/imagegen/README.md %doc x/imagegen/cmd/engine/README.md x/imagegen/mlx/README.md %doc x/imagegen/tokenizer/README.md x/mlxrunner/mlx/include/mlx/c/README.md %{_bindir}/ollama %changelog ## START: Generated by rpmautospec * Fri Apr 03 2026 Tom Rix - 0.19.0-1 - Update to 0.19.0 * Mon Mar 16 2026 Tom Rix - 0.17.7-1 - Update to 0.17.7 * Sun Mar 08 2026 Tom Rix - 0.16.3-1 - Update to 0.16.3 * Wed Feb 25 2026 Tom Rix - 0.15.6-3 - Add crush integration * Thu Feb 19 2026 Alexander F. Lent - 0.15.6-2 - Enable Vulkan backend for acceleration in more cases * Tue Feb 17 2026 Tom Rix - 0.15.6-1 - Update to 0.15.6 * Mon Feb 16 2026 Tom Rix - 0.12.11-6 - Split into subpackages * Mon Feb 16 2026 Tom Rix - 0.12.11-5 - Enable Vulkan backend * Tue Feb 03 2026 Maxwell G - 0.12.11-4 - Rebuild for https://fedoraproject.org/wiki/Changes/golang1.26 * Fri Jan 16 2026 Fedora Release Engineering - 0.12.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Jan 11 2026 Alexander F. Lent - 0.12.11-2 - Enable aarch64 CPU support * Mon Jan 05 2026 Tom Rix - 0.12.11-1 - Update to 0.12.11 * Sun Nov 16 2025 Tom Rix - 0.12.10-1 - Update to 0.12.10 * Fri Oct 10 2025 Alejandro Sáez - 0.12.3-4 - rebuild * Thu Oct 02 2025 Tom Rix - 0.12.3-3 - libhipblas so version check needs updating for ROCm 7 * Mon Sep 29 2025 Tom Rix - 0.12.3-2 - Build problems, disable ppc and s390 * Sun Sep 28 2025 Tom Rix - 0.12.3-1 - Update to 0.12.3 * Fri Aug 15 2025 Maxwell G - 0.9.4-4 - Rebuild for golang-1.25.0 * Fri Aug 08 2025 Tom Rix - 0.9.4-3 - Fix AMD APU support * Thu Jul 24 2025 Fedora Release Engineering - 0.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jul 20 2025 Tom Rix - 0.9.4-1 - Update to 0.9.4 * Tue Jul 15 2025 Tom Rix - 0.5.9-7 - Prep for 0.9.4 * Thu May 01 2025 Tom Rix - 0.5.9-6 - Rebuild for ROCm 6.4.0 * Mon Mar 17 2025 Fachep han - 0.5.9-5 - Fix missing seperator * Mon Mar 17 2025 Fachep han - 0.5.9-4 - Fix skipping path of /usr/lib64/ollama in ggml * Sun Mar 16 2025 Fachep han - 0.5.9-3 - Hardcoden LibOllamaPath to /usr/lib64/ollama * Sat Mar 15 2025 Tom Rix - 0.5.9-2 - Remove the excludearch restrictions * Wed Mar 12 2025 Tom Rix - 0.5.9-1 - Update to 5.9 * Thu Jan 30 2025 Tom Rix - 0.4.4-3 - Add more gpus * Tue Jan 21 2025 Tom Rix - 0.4.4-2 - Use ExcludeArch instead of ExclusiveArch * Tue Jan 21 2025 Tom Rix - 0.4.4-1 - Initial package ## END: Generated by rpmautospec