diff --git a/alienarena.spec b/alienarena.spec index e5d9374..3bc2957 100644 --- a/alienarena.spec +++ b/alienarena.spec @@ -1,7 +1,7 @@ Name: alienarena Summary: Multiplayer retro sci-fi deathmatch game Version: 7.30 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Amusements/Games # Subversion: https://svn.icculus.org/alienarena/trunk/?sortby=date @@ -24,7 +24,7 @@ URL: http://red.planetarena.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libX11-devel, libXext-devel, libXxf86dga-devel, libXxf86vm-devel, libjpeg-devel BuildRequires: mesa-libGL-devel, mesa-libGLU-devel, curl-devel, libpng-devel -BuildRequires: libvorbis-devel, openal-devel +BuildRequires: libvorbis-devel, openal-soft-devel BuildRequires: desktop-file-utils Requires: alienarena-data = 20090730 Requires: desktop-file-utils >= 0.9, opengl-games-utils @@ -66,6 +66,10 @@ cp -p %{SOURCE2} . # clean up end-line encoding [[ -e docs/README.txt ]] && %{__sed} -i 's/\r//' docs/README.txt +# So, AlienArena now "uses" openal by dlopening the library, which is hardcoded to +# "libopenal.so". That file only lives in openal-devel, so we need to adjust the hardcoding. +LIBOPENAL=`ls %{_libdir}/libopenal.so.*.* | cut -d "/" -f 4` +sed -i "s|\"libopenal.so\"|\"$LIBOPENAL\"|g" source/unix/qal_unix.c %build cd source/ @@ -147,6 +151,10 @@ gtk-update-icon-cache -qf %{_datadir}/icons/hicolor 2>/dev/null || : %changelog +* Wed Aug 12 2009 Tom "spot" Callaway - 7.30-2 +- fix dlopen code to find proper openal library +- use openal-soft instead of old openal + * Thu Jul 30 2009 Tom "spot" Callaway - 7.30-1 - update to 7.30