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 http://bugs.opensuse.org/
#
# norootforbuild
Name: freqtweak
BuildRequires: SDL-devel fftw3-devel gcc-c++ jack-devel libmspack-devel libsigc++12-devel libtiff-devel libxml2-devel unixODBC-devel update-desktop-files wxWidgets-devel
Summary: Real-Time Audio Spectral Visualization
Version: 0.7.2
Release: 8
License: GPLv2+
Group: Productivity/Multimedia/Sound/Visualization
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://freqtweak.sourceforge.net
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
%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.
Authors:
--------
Jesse Chappell <jesse@essej.net>
%prep
%setup -q
%patch1 -p1
%patch3 -p1
%patch5 -p1
%patch6 -p1
%build
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j %jobs}
%install
%makeinstall
%suse_update_desktop_file -i freqtweak AudioVideo Utility
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%{_bindir}/*
%doc %{_mandir}/man?/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/freqtweak
%changelog