%global pypi_name gst-python-ml Name: python-%{pypi_name} Version: 1.2.1 Release: 0%{?dist} Summary: A pure Python ML framework for GStreamer License: LGPL-2.1-or-later URL: https://github.com/gst-python-ml/%{pypi_name} Source0: %url/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-opencv Requires: gstreamer1-plugins-base Requires: gstreamer1-plugins-base-tools Requires: gstreamer1-plugins-bad-free Requires: gstreamer1-plugins-good %global _description %{expand: This project provides a pure Python ML framework for upstream GStreamer, supporting a broad range of ML vision and language features. Supported functionality includes: * object detection * tracking * pose estimation (COCO 17-keypoint skeleton) * monocular depth estimation * zero-shot classification (CLIP / SigLIP) * video captioning * translation * transcription * voice activity detection * speech to text * text to speech * text to image * LLMs * serializing model metadata to Kafka server Different ML toolkits are supported via the MLEngine abstraction - we have nominal support for TensorFlow, LiteRT and OpenVINO, but all testing thus far has been done with PyTorch. These elements will work with your distribution's GStreamer packages as long as the GStreamer version is >= 1.24. } %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Tue Mar 31 2026 Peter Robinson - 1.0.5-1 - Initial package