diff --git a/.gitignore b/.gitignore index 54ad0d1..ddf7e66 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,3 @@ /whisper.cpp-1.7.6.tar.gz /whisper.cpp-1.8.1.tar.gz /whisper.cpp-1.8.3.tar.gz -/whisper.cpp-1.9.2.tar.gz -/whisper.cpp-1.9.3.tar.gz diff --git a/sources b/sources index 22e1739..01c28d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whisper.cpp-1.9.3.tar.gz) = 5e01ca94a49438b71e38c3cab710cf75a7aa76a1ae03fe8f81b1a5beb794becb1ae1c6e078e3eea5526e4ad89ae4cc0306d17974541050afb3a7ac1d09f94768 +SHA512 (whisper.cpp-1.8.3.tar.gz) = be5b02e4d48a92d632e5f2385c42c0c74b176021fb2a68fb6961ef3c83e85fe4930d168b6436667f62c4637315a321c5825644c6f459f6b6ed0660306a1bb4e0 diff --git a/whisper-cpp.spec b/whisper-cpp.spec index 2530b24..908ad54 100644 --- a/whisper-cpp.spec +++ b/whisper-cpp.spec @@ -8,7 +8,7 @@ License: MIT # examples/whisper.android/gradlew* # These are not distributed -Version: 1.9.3 +Version: 1.8.3 Release: %autorelease URL: https://github.com/ggerganov/whisper.cpp @@ -36,11 +36,9 @@ ExclusiveArch: x86_64 aarch64 ppc64le %if %{with rocm} %global build_rocm ON -# need our own gpu list, without gfx1250 -%global rocm_gpu_list "gfx9-generic;gfx942;gfx950;gfx10-1-generic;gfx10-3-generic;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201" %else %global build_rocm OFF -%global rocm_gpu_list %{nil} +%global rocm_gpu_list_default %{nil} %endif %bcond_with test @@ -111,7 +109,7 @@ recognition (ASR) model: %build %cmake \ - -DCMAKE_HIP_ARCHITECTURES=%{rocm_gpu_list} \ + -DCMAKE_HIP_ARCHITECTURES=%{rocm_gpu_list_default} \ -DWHISPER_BUILD_EXAMPLES=%{build_test} \ -DWHISPER_BUILD_SERVER=%{build_test} \ -DWHISPER_BUILD_TESTS=%{build_test} \ @@ -158,7 +156,6 @@ find %{buildroot} -name 'whisper.pc' -delete %{_libdir}/libggml-base.so.* %{_libdir}/libggml-cpu.so.* %{_libdir}/libwhisper.so.* -%{_libdir}/libparakeet.so.* %if %{with rocm} %{_libdir}/libggml-hip.so.* @@ -166,16 +163,17 @@ find %{buildroot} -name 'whisper.pc' -delete %files devel %doc README.md -%{_includedir}/*.h +%{_includedir}/ggml*.h +%{_includedir}/gguf.h +%{_includedir}/whisper.h %{_libdir}/libggml.so %{_libdir}/libggml-base.so %{_libdir}/libggml-cpu.so -%{_libdir}/libparakeet.so %{_libdir}/libwhisper.so -%{_libdir}/cmake/ggml/ -%{_libdir}/cmake/parakeet/ -%{_libdir}/cmake/whisper/ -%{_libdir}/pkgconfig/parakeet.pc +%dir %{_libdir}/cmake/whisper +%dir %{_libdir}/cmake/ggml +%{_libdir}/cmake/whisper/*.cmake +%{_libdir}/cmake/ggml/*.cmake %if %{with rocm} %{_libdir}/libggml-hip.so