mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fd099f97bf
(cherry picked from commit 6f118cd84c)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
49 lines
1.1 KiB
RPMSpec
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
|