File openwebui-pipelines.spec of Package openwebui-pipelines
#
# spec file for package openwebui-pipelines
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define pythons python311
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: openwebui-pipelines
Version: 1.0.0
Release: 0
Summary: UI-Agnostic OpenAI API Plugin Framework
License: MIT
URL: https://github.com/open-webui/pipelines
Source: https://files.pythonhosted.org/packages/source/o/open-webui/openwebui-pipelines-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
Requires: %{pythons}-devel
Requires: %{pythons}-uvicorn >= 0.22.0
Requires: %{pythons}-pydantic >= 2.7.1
Requires: %{pythons}-python-multipart >= 0.0.9
Requires: %{pythons}-python-socketio
Requires: %{pythons}-grpcio
Requires: %{pythons}-passlib >= 1.7.4
Requires: %{pythons}-bcrypt
Requires: %{pythons}-PyJWT
Requires: %{pythons}-cryptography
Requires: %{pythons}-requests >= 2.32.2
Requires: %{pythons}-aiohttp >= 3.9.5
Requires: %{pythons}-httpx
Requires: %{pythons}-openai
Requires: %{pythons}-anthropic
Requires: %{pythons}-google-generativeai
Requires: %{pythons}-vertexai
Requires: %{pythons}-pymongo
Requires: %{pythons}-peewee
Requires: %{pythons}-SQLAlchemy
Requires: %{pythons}-boto3
Requires: %{pythons}-redis
Requires: %{pythons}-sqlmodel
Requires: %{pythons}-chromadb
Requires: %{pythons}-psycopg2-binary
Requires: %{pythons}-langfuse
Requires: %{pythons}-torch
Requires: %{pythons}-numpy
Requires: %{pythons}-pandas
Requires: %{pythons}-scikit-learn
Requires: %{pythons}-sentence-transformers
Requires: %{pythons}-transformers
Requires: %{pythons}-tokenizers
Requires: %{pythons}-nltk
Requires: %{pythons}-tiktoken
Requires: %{pythons}-Pillow
Requires: %{pythons}-opencv-python
Requires: %{pythons}-matplotlib
Requires: %{pythons}-seaborn
Requires: %{pythons}-selenium
Requires: %{pythons}-playwright
Requires: %{pythons}-beautifulsoup4
Requires: %{pythons}-llama-index-llms-ollama
Requires: %{pythons}-llama-index
%python_subpackages
%description
UI-Agnostic OpenAI API Plugin Framework
%prep
%autosetup -p1 -n openwebui-pipelines-%{version}
%build
%install
mkdir -p %{buildroot}%{python_sitelib}
cp -r %{_builddir}/openwebui-pipelines-%{version} %{buildroot}%{python_sitelib}/pipelines
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog