add: stable-ts (#11949) (#11959)

This commit is contained in:
Raboneko
2026-05-04 21:58:48 -05:00
committed by GitHub
parent 4384a1639d
commit fcd35aa4b1
3 changed files with 55 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "stable-ts.spec"
}
}
@@ -0,0 +1,48 @@
%global pypi_name stable-ts
%global _desc Transcription, forced alignment, and audio indexing with OpenAI's Whisper.
Name: python-%{pypi_name}
Version: 2.0.0
Release: 1%{?dist}
Summary: Transcription, forced alignment, and audio indexing with OpenAI's Whisper
License: MIT
URL: https://github.com/jianfch/stable-ts
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
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 %{pypi_name}-%{version}
sed -i "s/openai-whisper==20230308/openai-whisper/" setup.py
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files stable_whisper
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/%{pypi_name}
%changelog
* Mon May 04 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("stable-ts"));