-Source: ftp://ftp.gnome.org/pub/GNOME/sources/esound/%{name}-%{version}.tar.gz
-Patch: esound-alsa.patch
-URL: http://pw1.netcom.com/~ericmit/EsounD.html
-BuildRequires: alsa-devel
-BuildRequires: audiofile-devel
-BuildRoot: /tmp/%{name}-%{version}-root
+Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/%{name}-%{version}.tar.gz
+Patch0: %{name}-debian.patch
+Patch1: esound-esddsp.in.patch
+URL: http://www.tux.org/~ricdude/EsounD.html
+BuildRequires: libwrap-devel
+BuildRequires: audiofile-devel >= 0.2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)