add: pyfluidsynth (#9470) (#9473)

This commit is contained in:
Raboneko
2026-01-24 19:47:31 -08:00
committed by GitHub
parent 2cf21788a7
commit 68827dc9b2
3 changed files with 56 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "pyfluidsynth.spec"
}
}
@@ -0,0 +1,49 @@
%global pypi_name pyfluidsynth
%global _desc Python bindings for FluidSynth.
Name: python-%{pypi_name}
Version: 1.3.4
Release: 1%?dist
Summary: Python bindings for FluidSynth
License: LGPL-2.1
URL: https://github.com/nwhitehead/pyfluidsynth
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-build
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 pyfluidsynth-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{_usr}/lib/python3.14/site-packages/__pycache__/fluidsynth.*.pyc
%{_usr}/lib/python3.14/site-packages/__pycache__/fluidsynth.*.*.pyc
%{_usr}/lib/python3.14/site-packages/fluidsynth.py
%{_usr}/lib/python3.14/site-packages/%{pypi_name}-%{version}.dist-info/*
%changelog
* Sat Jan 24 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("pyfluidsynth"));