File freqtweak.spec of Package freqtweak
#
# spec file for package freqtweak
#
# Copyright (c) 2020 SUSE LLC
#
# 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: freqtweak
Version: 0.7.2git20190803
Release: 0
Summary: Real-Time Audio Spectral Visualization
License: GPL-2.0-or-later
URL: http://freqtweak.sourceforge.net
# from https://github.com/essej/freqtweak
Source: %{name}-%{version}.tar.xz
Patch3: freqtweak-0.6.1-wrong-var-ref.diff
Patch6: freqtweak-delete-array-fix.diff
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
BuildRequires: wxWidgets-devel
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libmspack)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(odbc)
BuildRequires: pkgconfig(sdl)
BuildRequires: pkgconfig(sigc++-2.0)
%description
FreqTweak is a tool for real-time audio spectral manipulation and
display. It provides several algorithms for processing audio data in
the frequency domain and a highly interactive GUI to manipulate the
associated filters for each algorithm. It also provides high-resolution
spectral displays in the form of scrolling-raster spectrograms and
energy versus frequency plots displaying both preprocessed and
post-processed spectra.
%prep
%autosetup -p1
%build
autoreconf -fiv
%configure
%make_build
%install
%make_install
install -Dm0644 doc/fticon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%suse_update_desktop_file -c %{name} %{name} "Realtime audio spectral visualization for JACK" %{name} %{name} "AudioVideo;Utility"
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/%{name}
%changelog