rpms/alienarena/F-10 alienarena.spec,1.11,1.12
Tom Callaway
spot at fedoraproject.org
Sun Aug 16 19:06:33 UTC 2009
Author: spot
Update of /cvs/pkgs/rpms/alienarena/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21722/F-10
Modified Files:
alienarena.spec
Log Message:
use openal-soft
Index: alienarena.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alienarena/F-10/alienarena.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- alienarena.spec 31 Jul 2009 16:13:50 -0000 1.11
+++ alienarena.spec 16 Aug 2009 19:06:33 -0000 1.12
@@ -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}/ic
%changelog
+* Wed Aug 12 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 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 <tcallawa at redhat.com> - 7.30-1
- update to 7.30
More information about the fedora-extras-commits
mailing list