From cde4fab7c9e5d92bd345e2aa572fc66270c7aa33 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 Jul 2024 10:35:41 +0000 Subject: automatic import of ollama --- ollama.spec | 40 ++++++++++++++++++++++++++++++++++++++++ sources | 0 2 files changed, 40 insertions(+) create mode 100644 ollama.spec create mode 100644 sources diff --git a/ollama.spec b/ollama.spec new file mode 100644 index 0000000..fcb24c2 --- /dev/null +++ b/ollama.spec @@ -0,0 +1,40 @@ +%global _empty_manifest_terminate_build 0 +%global _unpackaged_files_terminate_build 0 +Name: ollama +Version: 0.2.5 +Release: 1%{?dist} +Summary: Get up and running with Llama 3, Mistral, Gemma 2, and other large language models. + +License: MIT license +URL: https://github.com/ollama/%{name} +# Source0: https://github.com/ollama/%{name}/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: golang +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: git + +%description +Get up and running with Llama 3, Mistral, Gemma 2, and other large language models. + +%prep +%setup -c -T +git clone https://github.com/ollama/ollama.git +# cd ollama + +%build +cd ollama +go generate ./... +go build . + +%install +cd ollama +mkdir -p %{buildroot}%{_bindir} +install -m 0755 %{name} %{buildroot}%{_bindir}/%{name} + +%files +%{_bindir}/ollama + +%changelog +* Mon Jul 15 2024 Xenochou - 1 +- support ollama 0.2.5 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3