Initial import

This commit is contained in:
Adrian Schröter 2024-11-22 16:21:54 +01:00
commit 8a645f5782
No known key found for this signature in database
GPG Key ID: 918D8C954C08DB67
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Jul 29 09:14:57 UTC 2024 - Adrian Schröter <adrian@suse.de>
- initial package of my simple ask ollama server tool (version 0.1.0)

52
askollama/askollama.spec Normal file
View File

@ -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