Files
packages/anda/langs/python/stable-ts/stable-ts.spec
T
Raboneko fd099f97bf fix: stable-ts source (#11963) (#11967)
(cherry picked from commit 6f118cd84c)

Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-05-05 15:10:18 +08:00

49 lines
1.1 KiB
RPMSpec

%global pypi_name stable_ts
%global _desc Transcription, forced alignment, and audio indexing with OpenAI's Whisper.
Name: python-%{pypi_name}
Version: 2.19.1
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}/stable-ts
%changelog
* Mon May 04 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit