add: ffmpeg-python (#9239) (#9248)

This commit is contained in:
Raboneko
2026-01-15 20:26:45 -08:00
committed by GitHub
parent 5efe30ea6c
commit ac1d92117d
3 changed files with 54 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "ffmpeg-python.spec"
}
}
@@ -0,0 +1,47 @@
%global pypi_name ffmpeg-python
%global _desc Python bindings for FFmpeg - with complex filtering support.
Name: python-%{pypi_name}
Version: 0.2.0
Release: 1%?dist
Summary: Python bindings for FFmpeg - with complex filtering support
License: Apache-2.0
URL: https://github.com/kkroening/ffmpeg-python
Source0: %url/archive/refs/tags/%version.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-build
BuildRequires: python3-wheel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n ffmpeg-python-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files ffmpeg
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Thu Jan 15 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("ffmpeg-python"));