From d892af9fbf3bdc2766c6da4169cb6c35a3d74793 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 10 Jan 2026 21:25:36 -0800 Subject: [PATCH] add: whisper (#9043) (#9049) --- anda/langs/python/openai-whisper/anda.hcl | 6 +++ .../python/openai-whisper/openai-whisper.spec | 53 +++++++++++++++++++ anda/langs/python/openai-whisper/update.rhai | 1 + 3 files changed, 60 insertions(+) create mode 100644 anda/langs/python/openai-whisper/anda.hcl create mode 100644 anda/langs/python/openai-whisper/openai-whisper.spec create mode 100644 anda/langs/python/openai-whisper/update.rhai diff --git a/anda/langs/python/openai-whisper/anda.hcl b/anda/langs/python/openai-whisper/anda.hcl new file mode 100644 index 0000000000..ebdf695d17 --- /dev/null +++ b/anda/langs/python/openai-whisper/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "openai-whisper.spec" + } +} diff --git a/anda/langs/python/openai-whisper/openai-whisper.spec b/anda/langs/python/openai-whisper/openai-whisper.spec new file mode 100644 index 0000000000..f1ee8200b3 --- /dev/null +++ b/anda/langs/python/openai-whisper/openai-whisper.spec @@ -0,0 +1,53 @@ +%global pypi_name openai-whisper +%global _desc Robust Speech Recognition via Large-Scale Weak Supervision. + +Name: python-%{pypi_name} +Version: 20250625 +Release: 1%?dist +Summary: Robust Speech Recognition via Large-Scale Weak Supervision +License: MIT +URL: https://github.com/openai/whisper +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: python3-wheel + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%package -n python3-%{pypi_name}-doc +Summary: documentation for python3-%{pypi_name} + +%description -n python3-%{pypi_name}-doc +documentation for python3-%{pypi_name}. + +%prep +%autosetup -n whisper-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files whisper + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/whisper + +%changelog +* Sat Jan 10 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/openai-whisper/update.rhai b/anda/langs/python/openai-whisper/update.rhai new file mode 100644 index 0000000000..daf9385253 --- /dev/null +++ b/anda/langs/python/openai-whisper/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("openai-whisper"));