File gwc.spec of Package gwc
#
# spec file for package gwc (Version 0.21.07)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gwc
BuildRequires: fftw3-devel flac-devel gnutls-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libsndfile-devel libwnck-devel update-desktop-files
%define package_version 0.21-07
Summary: GNOME Wave Cleaner--Audio Restoration Application
Version: 0.21.07
Release: 89
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Editors and Convertors
Source: gwc-%{package_version}.tar.bz2
Source1: gwc.desktop
Source2: gwc.png
Patch: gwc-cflags-fix.dif
Patch1: gwc-meschach-fix.dif
Patch2: gwc-compile-fix.diff
Url: http://gwc.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
%description
GNOME Wave Cleaner (GWC) is a tool for cleaning up noisy audio files in
preparation for burning to CDs. The typical application is to record
the audio from vinyl LPs, 45s, 78s, etc, to a hard disk as a 16-bit,
stereo, 44.1khz wave formatted file then use GWC to apply denoising and
declicking algorithms.
Authors:
--------
Jeffrey J. Welty <jeff@redhawk.org>
%prep
%setup -n %{name}-%{package_version}
%patch
%patch1
%patch2
%build
%{?suse_update_config:%{suse_update_config -f . meschach}}
aclocal
autoconf
(cd meschach; aclocal; autoconf)
export CFLAGS="$RPM_OPT_FLAGS"
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --enable-alsa
make OPT_CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -c -m 0755 gwc $RPM_BUILD_ROOT%{_bindir}
%suse_update_desktop_file -i gwc AudioVideo AudioVideoEditing
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 README COPYING Changelog TODO
%doc doc
%{_bindir}/gwc
%if %suse_version > 820
%{_datadir}/applications/*.desktop
%endif
%{_datadir}/pixmaps/*.png
%changelog
* Thu Oct 11 2007 - sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Dec 20 2006 - tiwai@suse.de
- updated to 0.21-07:
* more filter types
* fix ALSA support
* Fri Jun 16 2006 - schwab@suse.de
- Fix syntax error in configure script.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 12 2005 - tiwai@suse.de
- Updated to 0.20-10b. Fixed build.
* Fri Apr 15 2005 - sbrabec@suse.cz
- Simplified neededforbuild.
* Mon Jan 31 2005 - tiwai@suse.de
- updated to version 0.20-09.
* Fri Jan 16 2004 - tiwai@suse.de
- updated to version 0.19-10.
- enable ALSA support.
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Mon Sep 15 2003 - tiwai@suse.de
- added desktop icon.
* Wed Sep 03 2003 - tiwai@suse.de
- fixed the wrong use of sfftw.
- fixed categories.
* Thu Aug 14 2003 - tiwai@suse.de
- added desktop file.
* Tue Jul 22 2003 - tiwai@suse.de
- updated to version 0.19-2.
* Tue Jan 14 2003 - nadvornik@suse.cz
- fixed multi-line string literals
* Tue Nov 26 2002 - tiwai@suse.de
- updated to version 0.17-6.
- pass RPM_OPT_FLAGS to CFLAGS.
- fixed the generation of meschach routines.
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <xshared> to <x-devel-packages>
- changed neededforbuild <xdevel> to <>
* Fri Sep 20 2002 - tiwai@suse.de
- added alsa and alsa-devel to neededforbuild (esound requires.)
* Wed Jul 31 2002 - tiwai@suse.de
- removed xf86 from neededforbuild.
* Tue Jul 30 2002 - tiwai@suse.de
- updated to version 0.15.
* Thu Jul 18 2002 - tiwai@suse.de
- initial version: 0.12.