File freqtweak.spec of Package freqtweak

# spec file for package freqtweak
# Copyright (c) 2011 SUSE LINUX Products 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

Name:           freqtweak
BuildRequires:  SDL-devel
BuildRequires:  automake
BuildRequires:  fftw3-devel
BuildRequires:  gcc-c++
BuildRequires:  jack-devel
BuildRequires:  libmspack-devel
BuildRequires:  libsigc++12-devel
BuildRequires:  libtiff-devel
BuildRequires:  libxml2-devel
BuildRequires:  unixODBC-devel
BuildRequires:  update-desktop-files
BuildRequires:  wxWidgets-devel
Summary:        Real-Time Audio Spectral Visualization
Version:        0.7.2
Release:        0
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Visualization
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         %{name}-%{version}.tar.bz2
Source1:        freqtweak.desktop
Source2:        freqtweak.png
Patch1:         freqtweak-0.6.1-gcc4.patch
Patch3:         freqtweak-0.6.1-wrong-var-ref.diff
Patch5:         freqtweak-gcc43-fixes.diff
Patch6:         freqtweak-delete-array-fix.diff
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires

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.

    Jesse Chappell <>

%setup -q
%patch1 -p1
%patch3 -p1
%patch5 -p1
%patch6 -p1

autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
make %{?jobs:-j %jobs}

%suse_update_desktop_file -i freqtweak AudioVideo Utility
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps


%doc %{_mandir}/man?/*