SPECS: quake3.spec - updated to 20051221 (r446) - added openal bcond

sparky sparky at pld-linux.org
Fri Dec 23 17:10:04 CET 2005


Author: sparky                       Date: Fri Dec 23 16:10:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 20051221 (r446)
- added openal bcond

---- Files affected:
SPECS:
   quake3.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/quake3.spec
diff -u SPECS/quake3.spec:1.57 SPECS/quake3.spec:1.58
--- SPECS/quake3.spec:1.57	Mon Dec  5 17:49:36 2005
+++ SPECS/quake3.spec	Fri Dec 23 17:09:59 2005
@@ -2,18 +2,19 @@
 #
 # Conditional build:
 %bcond_with	altivec		# use altivec, no runtime detection
+%bcond_without	openal		# don't use OpenAL
 
 %define	_dataver	1.32b3
 Summary:	Quake3 for Linux
 Summary(pl):	Quake3 dla Linuksa
 Name:		quake3
 Version:	1.33
-%define	_snap	20051204
+%define	_snap	20051221
 Release:	0.%{_snap}.1
 License:	GPL
 Group:		Applications/Games
 Source0:	http://sparky.homelinux.org/snaps/icculus/%{name}-%{_snap}.tar.bz2
-# Source0-md5:	a711ff61e8bad25822e6554deae5f6a3
+# Source0-md5:	034a93700d3feb207ad3cc7491f25d8c
 Source2:	q3ded.init
 Source3:	q3ded.sysconfig
 Source4:	%{name}.png
@@ -22,7 +23,9 @@
 Patch0:		%{name}-gpl-Makefile-install.patch
 Patch1:		%{name}-QUAKELIBDIR.patch
 URL:		http://icculus.org/quake3/
+%if %{with openal}
 BuildRequires:	OpenAL-devel
+%endif
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
 BuildRequires:	rpmbuild(macros) >= 1.202
@@ -107,7 +110,9 @@
 CFLAGS="$CFLAGS -DQUAKELIBDIR=\\\"%{_libdir}/%{name}\\\""
 CFLAGS="$CFLAGS -Wall -Wimplicit -Wstrict-prototypes"
 CFLAGS="$CFLAGS -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 $(sdl-config --cflags)"
+%if %{with openal}
 CFLAGS="$CFLAGS -DUSE_OPENAL=1" # -DUSE_OPENAL_DLOPEN=1"
+%endif
 CFLAGS="$CFLAGS -DNDEBUG -MMD"
 %ifnarch %{ix86}
 # %{x8664} - experimental and broken
@@ -234,6 +239,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2005/12/23 16:09:59  sparky
+- updated to 20051221 (r446)
+- added openal bcond
+
 Revision 1.57  2005/12/05 16:49:36  sparky
 - up to yesterdays snapshot
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quake3.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list