From 8a645f5782b507202c75ee7fbeaf7bb21d34dd5c2eda4118bb76a31a39226e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 22 Nov 2024 16:21:54 +0100 Subject: [PATCH] Initial import --- askollama/askollama.changes | 5 ++++ askollama/askollama.spec | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 askollama/askollama.changes create mode 100644 askollama/askollama.spec diff --git a/askollama/askollama.changes b/askollama/askollama.changes new file mode 100644 index 0000000..1e8b01b --- /dev/null +++ b/askollama/askollama.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jul 29 09:14:57 UTC 2024 - Adrian Schröter + +- initial package of my simple ask ollama server tool (version 0.1.0) + diff --git a/askollama/askollama.spec b/askollama/askollama.spec new file mode 100644 index 0000000..c8d0fa6 --- /dev/null +++ b/askollama/askollama.spec @@ -0,0 +1,52 @@ +# +# spec file for package python-sybil +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define pythons python311 + +Name: askollama +Version: 0.1.0 +Release: 0 +Summary: Ollama CLI tool +License: GPLv2 +Url: https://src.opensuse.org/adrianSuSE/askollama +#Source: askollama-%{version}.tar.xz +#!RemoteAssetUrl: git+https://src.opensuse.org/adrianSuSE/askollama +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +BuildArch: noarch + +%description +Simple CLI to talk to ollama server + +%prep +%setup -q -n ../SOURCES/askollama -D -T 0 + +%build +%pyproject_wheel + +%install +%pyproject_install + +%files +%doc README.md +%license LICENSE +%_bindir/askollama +%{python_sitelib}/* + +%changelog