Name: spectacle-analyzer Version: 2.0 Release: 2%{?dist} Summary: Realtime graphical spectrum analyzer URL: https://github.com/jpcima/spectacle License: ISC Vendor: Audinux Distribution: Audinux Source0: https://github.com/jpcima/spectacle/releases/download/v2.0/%{name}-v%{version}.tar.gz Source1: spectacle.png BuildRequires: gcc gcc-c++ BuildRequires: jack-audio-connection-kit-devel BuildRequires: alsa-lib-devel BuildRequires: lv2-devel BuildRequires: freetype-devel BuildRequires: libX11-devel BuildRequires: libXft-devel BuildRequires: libXrandr-devel BuildRequires: libXinerama-devel BuildRequires: libXcursor-devel BuildRequires: libglvnd-devel BuildRequires: fftw-devel BuildRequires: desktop-file-utils %description Spectacle is a real-time spectral analyzer using the short-time Fourier transform, available as VST / LV2 audio plugin and JACK client. - display the spectrum on logarithmic musical scale - control the parameters of the analysis that affect latency and precision - have zoom functionality and smooth interpolation - identify the value under cursor and the peaks %package -n vst-%{name} Summary: VST Realtime graphical spectrum analyzer %description -n vst-%{name} Spectacle is a real-time spectral analyzer using the short-time Fourier transform. - display the spectrum on logarithmic musical scale - control the parameters of the analysis that affect latency and precision - have zoom functionality and smooth interpolation - identify the value under cursor and the peaks %package -n lv2-%{name} Summary: LV2 Realtime graphical spectrum analyzer %description -n lv2-%{name} Spectacle is a real-time spectral analyzer using the short-time Fourier transform. - display the spectrum on logarithmic musical scale - control the parameters of the analysis that affect latency and precision - have zoom functionality and smooth interpolation - identify the value under cursor and the peaks %prep %autosetup -n %{name}-v%{version} %build %make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" SKIP_STRIPPING=true VERBOSE=true %install %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" SKIP_STRIPPING=true VERBOSE=true install -m 755 -d %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/ install -m 755 -d %{buildroot}/%{_datadir}/applications/ cp %{SOURCE1} %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/%{name}.png cat > %{buildroot}/%{_datadir}/applications/%{name}.desktop < - 2.0-2 - Rename package to spectacle-analyzer * Thu May 13 2021 Yann Collette - 2.0-1 - Initial spec file