File spectacle-analyzer.spec of Package spectacle-analyzer
#
# spec file for package spectacle-analizer
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: spectacle-analyzer
Version: 2.0+git.9.540d98a
Release: 0
Summary: Realtime graphical spectrum analyzer
License: MIT
URL: https://github.com/jpcima/spectacle/
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(lv2)
BuildRequires: fftw3-devel
BuildRequires: jack-devel
BuildRequires: vim
%description
https://github.com/jpcima/spectacle/
Spectacle is a real-time spectral analyzer using the short-time Fourier transform, available as 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 lv2-%{name}
Summary: Realtime graphical spectrum analyzer (LV2)
%description -n lv2-%{name}
https://github.com/jpcima/spectacle/
Spectacle is a real-time spectral analyzer using the short-time Fourier transform, available as 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: Realtime graphical spectrum analyzer (VST)
%description -n vst-%{name}
https://github.com/jpcima/spectacle/
Spectacle is a real-time spectral analyzer using the short-time Fourier transform, available as 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
%prep
%setup -q
%build
make BUILD_VST2=true %{?_smp_mflags}
%install
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
mkdir -p %{buildroot}%{_libdir}/vst
cp bin/%{name}-vst.so %{buildroot}%{_libdir}/vst/
%files
%{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%license LICENSE
%doc README.md
%files -n lv2-%{name}
%license LICENSE
%doc README.md
%dir %{_libdir}/lv2
%dir %{_libdir}/lv2/spectacle-analyzer.lv2
%{_libdir}/lv2/spectacle-analyzer.lv2/*
%files -n vst-%{name}
%license LICENSE
%doc README.md
%dir %{_libdir}/vst
%{_libdir}/vst/%{name}-vst.so
%changelog