Group :: Sound
RPM: gwc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define ver_major 0.21
%define ver_minor 17
Name: gwc
Version: %ver_major.%ver_minor
Release: alt3
Summary: Gnome Wave Cleaner
License: GPLv2+
Group: Sound
Url: http://gwc.sourceforge.net/
Source: http://download.sourceforge.net/gwc/gwc-%ver_major-%ver_minor.tgz
Source1: gwc-48x48.xpm
Source2: gwc-32x32.xpm
Source3: gwc-16x16.xpm
Source4: gwc.desktop
Patch0: gwc-0.21.07-alt-makefile.patch
Patch1: gwc-0.21.19-debian-clang.patch
Patch2: gwc-0.21.17-make-gcc10-happy.patch
# Automatically added by buildreq on Sun Jun 19 2011
BuildRequires: libalsa-devel libfftw3-devel libgnomeui-devel libsndfile-devel
%description
Digital audio restoration of CD quality audio wavefiles. Dehiss, declick and
decrackle in a GUI environment.
%prep
%setup -n gwc-%ver_major-%ver_minor
%patch0 -p1
%patch1 -p1
%patch2 -p2
find -iname makefile.in | xargs sed -i 's/-O6/-O%_optlevel/g' --
%build
%configure --enable-alsa
%make_build
%install
%makeinstall_std
# desktop file
install -pD -m644 %_sourcedir/gwc.desktop %buildroot%_desktopdir/gwc.desktop
# icons
install -pD -m644 %SOURCE1 %buildroot%_liconsdir/gwc.xpm
install -pD -m644 %SOURCE2 %buildroot%_niconsdir/gwc.xpm
install -pD -m644 %SOURCE3 %buildroot%_miconsdir/gwc.xpm
%find_lang --with-gnome gnome_wave_cleaner
%files -f gnome_wave_cleaner.lang
%_bindir/*
%_desktopdir/*
%_niconsdir/*
%_miconsdir/*
%_liconsdir/*
%_pixmapsdir/*
%changelog
…
Full changelog you can see here
%define ver_minor 17
Name: gwc
Version: %ver_major.%ver_minor
Release: alt3
Summary: Gnome Wave Cleaner
License: GPLv2+
Group: Sound
Url: http://gwc.sourceforge.net/
Source: http://download.sourceforge.net/gwc/gwc-%ver_major-%ver_minor.tgz
Source1: gwc-48x48.xpm
Source2: gwc-32x32.xpm
Source3: gwc-16x16.xpm
Source4: gwc.desktop
Patch0: gwc-0.21.07-alt-makefile.patch
Patch1: gwc-0.21.19-debian-clang.patch
Patch2: gwc-0.21.17-make-gcc10-happy.patch
# Automatically added by buildreq on Sun Jun 19 2011
BuildRequires: libalsa-devel libfftw3-devel libgnomeui-devel libsndfile-devel
%description
Digital audio restoration of CD quality audio wavefiles. Dehiss, declick and
decrackle in a GUI environment.
%prep
%setup -n gwc-%ver_major-%ver_minor
%patch0 -p1
%patch1 -p1
%patch2 -p2
find -iname makefile.in | xargs sed -i 's/-O6/-O%_optlevel/g' --
%build
%configure --enable-alsa
%make_build
%install
%makeinstall_std
# desktop file
install -pD -m644 %_sourcedir/gwc.desktop %buildroot%_desktopdir/gwc.desktop
# icons
install -pD -m644 %SOURCE1 %buildroot%_liconsdir/gwc.xpm
install -pD -m644 %SOURCE2 %buildroot%_niconsdir/gwc.xpm
install -pD -m644 %SOURCE3 %buildroot%_miconsdir/gwc.xpm
%find_lang --with-gnome gnome_wave_cleaner
%files -f gnome_wave_cleaner.lang
%_bindir/*
%_desktopdir/*
%_niconsdir/*
%_miconsdir/*
%_liconsdir/*
%_pixmapsdir/*
%changelog
…
Full changelog you can see here