%define desktop_vendor fedora Summary: Realtime audio frequency spectral manipulation Name: freqtweak Version: 0.6.1 Release: 4%{?dist} URL: http://freqtweak.sourceforge.net/ Source0: http://dl.sf.net/sourceforge/freqtweak/freqtweak-%{version}.tar.gz Source1: freqtweak.png Source2: freqtweak.desktop Patch0: freqtweak-0.6.1-configure.patch Patch1: freqtweak-0.6.1-addnoise.patch Patch2: freqtweak-0.6.1-jacksetdir.patch License: GPL Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig libsigc++-devel desktop-file-utils BuildRequires: jack-audio-connection-kit-devel libxml2-devel %{!?fc5:BuildRequires: wxGTK2-devel fftw2-devel} %{?fc5:BuildRequires: compat-wxGTK2-devel compat-wxGTK2-xrc fftw-devel} %description FreqTweak is a tool for FFT-based realtime 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. It also provides high-resolution spectral displays in the form of scrolling-raster spectragrams and energy vs frequency plots displaying both pre- and post-processed spectra. %prep %setup -q %patch0 -p1 %patch2 -p1 %build %if "%{fc5}" == "1" export LDFLAGS=`pkg-config --libs pangox ` %endif %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__mkdir} -p %{buildroot}%{_bindir} %{__make} DESTDIR=%{buildroot} install # install icon in the proper freedesktop location %{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps %{__install} -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/ # desktop file categories BASE="X-Fedora Application AudioVideo" CATS="X-Digital_Processing X-Jack" %{__mkdir} -p %{buildroot}%{_datadir}/applications desktop-file-install --vendor %{desktop_vendor} \ --dir %{buildroot}%{_datadir}/applications \ `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \ %{SOURCE2} %clean %{__rm} -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README THANKS %{_bindir}/freqtweak %{_mandir}/man1/* %{_datadir}/freqtweak %{_datadir}/applications/*freqtweak.desktop %{_datadir}/icons/hicolor/32x32/apps/freqtweak.png %changelog * Wed May 3 2006 Fernando Lopez-Lezcano 0.6.1-4 - added home brewed icon * Wed May 3 2006 Fernando Lopez-Lezcano 0.6.1-3 - added Planet CCRMA menu categories * Wed Apr 5 2006 Fernando Lopez-Lezcano 0.6.1-2 - pull in the pangox libraries, otherwise there is an unknown symbol in the link stage * Fri Mar 31 2006 Fernando Lopez-Lezcano 0.6.1-1 - proper build dependency for fc5 * Mon May 30 2005 Fernando Lopez-Lezcano 0.6.1-1 - add patch to remove jack_set_server_dir function (patch2), did this for test fc4 build, no change in release for now - build dependency now is wxGTK2 (from fedora extras) - tweaked configure patch to recognize wxgtk2-2.4-config * Tue Feb 8 2005 Fernando Lopez-Lezcano 0.6.1-1 - add patch to inject very low level noise at the inputs to try to avoid denormals - erased old jack_set_server_dir library call - arghh, reverted patch, for some reason the cpu load goes up a lot * Tue Jul 27 2004 Fernando Lopez-Lezcano 0.6.1-1 - updated to 0.6.1 * Sat Apr 24 2004 Fernando Lopez-Lezcano 0.6.0-1 - updated to 0.6.0 * Mon Sep 22 2003 Fernando Lopez-Lezcano 0.5.3-1 - updated to 0.5.3 - added help to file list (/usr/share/freqtweak/help/usagehelp.html) * Wed Aug 20 2003 Fernando Lopez-Lezcano 0.5.2-1 - updated to 0.5.2, added release tags * Sat Jul 26 2003 Fernando Lopez-Lezcano 0.5.1-1 - updated to 0.5.1 * Tue Apr 8 2003 Fernando Lopez-Lezcano 0.4.8-2 - rebuilt for newer version of fftw * Fri Apr 4 2003 Fernando Lopez-Lezcano 0.4.8-1 - update to 0.4.8 * Wed Apr 2 2003 Fernando Lopez-Lezcano 0.4.7-3 - rebuild for jack 0.66.3, added explicit requires for it * Sun Mar 23 2003 Fernando Lopez-Lezcano 0.4.7-2 - rebuild due to update of wxGTK, patch configure to recognize the config script of wxGTK 2.4.0 (wxgtk-2.4-config instead of wx-config) * Tue Mar 4 2003 Fernando Lopez-Lezcano 0.4.7-1 - update to 0.4.7 * Wed Feb 11 2003 Fernando Lopez-Lezcano 0.4.6-1 - update to 0.4.6 * Sun Nov 17 2002 Fernando Lopez-Lezcano 0.4.5-1 - update to 0.4.5 * Tue Nov 12 2002 Fernando Lopez-Lezcano 0.4.4-3 - menu in 7.2/7.3 was in wrong group * Sun Nov 10 2002 Fernando Lopez-Lezcano 0.4.4-2 - added patch to rename jack alsa ports for jack >= 0.40 - added explicit dependency to jack - added redhat menu entry * Tue Oct 15 2002 Fernando Lopez-Lezcano 0.4.3-1 - Initial build. - Update to 0.4.3