add: faster-whisper (#11235) (#11259)

This commit is contained in:
Raboneko
2026-04-14 01:56:03 -05:00
committed by GitHub
parent 88a0552923
commit 53a080b7a5
3 changed files with 56 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "faster-whisper.spec"
}
}
@@ -0,0 +1,49 @@
%global pypi_name faster-whisper
%global _desc Faster Whisper transcription with CTranslate2.
Name: python-%{pypi_name}
Version: 1.2.1
Release: 1%?dist
Summary: Faster Whisper transcription with CTranslate2
License: MIT
URL: https://github.com/SYSTRAN/faster-whisper
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-build
BuildRequires: python3-installer
BuildRequires: python3-wheel
BuildRequires: python3-poetry-core
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 faster-whisper-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files faster_whisper
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Sun Apr 12 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("faster-whisper"));