-Group: X11/Libraries
-Group(de): X11/Libraries
-Group(es): X11/Bibliotecas
-Group(fr): X11/Librairies
-Group(pl): X11/Biblioteki
-Group(pt_BR): X11/Bibliotecas
-Group(ru): X11/âÉÂÌÉÏÔÅËÉ
-Group(uk): X11/â¦Â̦ÏÔÅËÉ
-Vendor: Loki Entertainment Software - http://www.lokigames.com/
-Source0: ftp://ftp.openal.com/nie-wiem-co-tu-daæ.tar.bz2/%{name}-20011116.tar.bz2
-Source1: ftp://ftp.openal.com/nie-wiem-co-tu-daæ.tar.bz2/%{name}-headers-20011116.tar.bz2
-Patch0: %{name}-stdio.patch
-Patch1: %{name}-include_unconsequency.patch
-Patch2: %{name}-symlinks.patch
-URL: http://www.openal.com/
+Group: Libraries
+Source0: http://www.openal.org/openal_webstf/downloads/openal-%{version}.tar.gz
+# Source0-md5: 641cf53761f35ee979f3e888614797a0
+URL: http://www.openal.org/
+Patch0: %{name}-alc.h.patch
+BuildRequires: SDL-devel
+%{?with_alsa:BuildRequires: alsa-lib-devel}
+%{?with_arts:BuildRequires: artsc-devel}
+BuildRequires: autoconf >= 2.56
+BuildRequires: automake
+%{?with_esd:BuildRequires: esound-devel}
+%if %{with mmx}
+# MMX code triggers ICE in gcc 3.3.x
+BuildRequires: gcc >= 5:3.4.0
+%endif
+BuildRequires: libtool
+BuildRequires: libvorbis-devel
+%ifarch %{ix86}
+%{?with_mmx:BuildRequires: nasm}
+%endif
+BuildRequires: pkgconfig
+BuildRequires: smpeg-devel