# Status: active # Tag: Analyzer, Audio # Type: Standalone, Plugin, LV2 # Category: Tool, Audio Name: spek Version: 0.8.5 Release: 2%{?dist} Summary: Acoustic spectrum analyser License: GPL-3.0-or-later URL: https://github.com/alexkay/spek ExclusiveArch: x86_64 aarch64 Vendor: Audinux Distribution: Audinux Source0: https://github.com/alexkay/spek/releases/download/v%{version}/spek-%{version}.tar.xz BuildRequires: gcc-c++ gcc BuildRequires: autoconf automake BuildRequires: (ffmpeg-devel or ffmpeg-free-devel) BuildRequires: wxGTK-devel BuildRequires: SDL2-devel BuildRequires: desktop-file-utils %description Spek is an acoustic spectrum analyser written in C++. It uses FFmpeg libraries for audio decoding and wxWidgets for the GUI. %prep %autosetup -n %{name}-%{version} %build %set_build_flags export AVCODEC_CFLAGS="-I/usr/include/ffmpeg" export AVFORMAT_CFLAGS="-I/usr/include/ffmpeg" export AVUTIL_CFLAGS="-I/usr/include/ffmpeg" export CFLAGS="-I/usr/include/ffmpeg $CFLAGS" export CXXFLAGS="-I/usr/include/ffmpeg $CXXFLAGS" %configure %make_build %install %make_install desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/%{name}.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README.md MANUAL.md %license LICENCE.md %{_bindir}/* %{_datadir}/applications/spek.desktop %{_datadir}/icons/hicolor/* %{_datadir}/locale/* %{_mandir}//man1/spek.1.gz %changelog * Sat Feb 01 2025 Yann Collette - 0.8.5-2 - update to 0.8.5-2 - try to fix ffmpeg dependency * Tue Jan 10 2023 Yann Collette - 0.8.5-1 - update to 0.8.5-1 * Tue Aug 09 2022 Yann Collette - 0.8.4-1 - Initial development