-#
# Conditional build:
-# _without_alsa - without ALSA support
+%bcond_without alsa # without ALSA support
#
Summary: A general purpose sound file conversion tool
Summary(de): Mehrzweck-Sounddatei-Konvertierungs-Tool
Summary(tr): Genel amaçlý ses dosyasý çevirme aracý
Summary(uk): õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
Name: sox
-Version: 12.17.4
-Release: 1
+Version: 12.17.5
+Release: 3
License: distributable
Group: Applications/Sound
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 39bdb64e06a8c456057e87eff7d0b339
+# Source0-md5: 53a3ebe3da0f5845770fd99e2ff0a965
Patch0: %{name}-play.patch
Patch1: %{name}-soundcard.patch
Patch2: %{name}-install.patch
URL: http://sox.sourceforge.net/
-%{!?_without_alsa:BuildRequires: alsa-driver-devel}
+%{?with_alsa:BuildRequires: alsa-driver-devel}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: lame-libs-devel
%patch2 -p1
%build
-%{__aclocal}
-%{__autoconf}
+#%%{__aclocal}
+#%%{__autoconf}
+cp -f /usr/share/automake/config.sub .
%configure \
--with-oss-dsp \
--with-gsm \
- %{!?_without_alsa:--with-alsa-dsp}
+ %{?with_alsa:--with-alsa-dsp}
%{__make} PREFIX=%{_prefix}