rpms/scorched3d/devel openal-config, NONE, 1.1 scorched3d.spec, 1.38, 1.39

Hans de Goede jwrdegoede at fedoraproject.org
Mon Aug 17 08:59:40 UTC 2009


Author: jwrdegoede

Update of /cvs/extras/rpms/scorched3d/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31388

Modified Files:
	scorched3d.spec 
Added Files:
	openal-config 
Log Message:
* Sun Aug 16 2009 Hans de Goede <hdegoede at redhat.com> 42.1-3
- Switch to openal-soft



--- NEW FILE openal-config ---
#!/bin/bash

pkg-config "$@" openal
exit $?


Index: scorched3d.spec
===================================================================
RCS file: /cvs/extras/rpms/scorched3d/devel/scorched3d.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- scorched3d.spec	27 Jul 2009 03:59:33 -0000	1.38
+++ scorched3d.spec	17 Aug 2009 08:59:40 -0000	1.39
@@ -1,6 +1,6 @@
 Name:           scorched3d
 Version:        42.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Game based loosely on the classic DOS game Scorched Earth
 Group:          Amusements/Games
 License:        GPLv2+
@@ -12,11 +12,14 @@ URL:            http://www.scorched3d.co
 # troublesome glew parts replaced
 Source0:        Scorched3D-%{version}-src-clean.tar.gz
 Source1:        %{name}.desktop
+# Fake openal-config as openal-soft doesn't have it
+Source2:        openal-config
 Patch1:         %{name}-syslibs.patch
 Patch2:         %{name}-help.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  wxGTK-devel freealut-devel SDL_net-devel libGLU-devel
+BuildRequires:  wxGTK-devel SDL_net-devel libGLU-devel
 BuildRequires:  expat-devel libvorbis-devel glew-devel fftw-devel libjpeg-devel
+BuildRequires:  openal-soft-devel freealut-devel >= 1.1.0-10
 BuildRequires:  ImageMagick desktop-file-utils
 Requires:       hicolor-icon-theme opengl-games-utils
 Requires:       dejavu-sans-fonts dejavu-sans-mono-fonts
@@ -43,6 +46,7 @@ conditions and terrains to be dealt with
 rm `find . -name Makefile`
 %patch1 -p1 -z .syslibs
 %patch2 -p1 -z .help
+install -m 755 %{SOURCE2} .
 # stop autoxxx from running
 touch aclocal.m4
 touch configure
@@ -50,6 +54,7 @@ touch `find -name Makefile.in`
 
 
 %build
+export OPENAL_CONFIG=$PWD/openal-config
 %configure --disable-dependency-tracking --datadir=%{_datadir}/%{name} \
   --with-docdir=%{_docdir}/%{name}-%{version}
 make %{?_smp_mflags}
@@ -106,6 +111,9 @@ fi
 
 
 %changelog
+* Sun Aug 16 2009 Hans de Goede <hdegoede at redhat.com> 42.1-3
+- Switch to openal-soft
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 42.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list