+#
# Conditional build:
%bcond_without alsa # without ALSA support
#
Summary(tr): Genel amaçlý ses dosyasý çevirme aracý
Summary(uk): õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
Name: sox
-Version: 12.17.5
-Release: 3
+Version: 12.17.6
+Release: 1
License: distributable
Group: Applications/Sound
-Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 53a3ebe3da0f5845770fd99e2ff0a965
+Source0: http://dl.sourceforge.net/sox/%{name}-%{version}.tar.gz
+# Source0-md5: ea368e7baf6618a2116f3ed6c111bd4a
Patch0: %{name}-play.patch
-Patch1: %{name}-soundcard.patch
-Patch2: %{name}-install.patch
+Patch1: %{name}-install.patch
URL: http://sox.sourceforge.net/
%{?with_alsa:BuildRequires: alsa-driver-devel}
-BuildRequires: autoconf
BuildRequires: automake
BuildRequires: lame-libs-devel
-BuildRequires: libgsm-devel
BuildRequires: libmad-devel
BuildRequires: libvorbis-devel >= 1:1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
-#%%{__aclocal}
-#%%{__autoconf}
cp -f /usr/share/automake/config.sub .
%configure \
--with-oss-dsp \
--with-gsm \
%{?with_alsa:--with-alsa-dsp}
-%{__make} PREFIX=%{_prefix}
+%{__make} \
+ PREFIX=%{_prefix}
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc monkey.* Changelog README TODO
+%doc src/monkey.* Changelog README TODO
%attr(755,root,root) %{_bindir}/[!l]*
%{_mandir}/man1/*