SPECS: TORCS.spec - modular xorg deps - added link and gcc4 patche...

megabajt megabajt at pld-linux.org
Mon Apr 17 21:34:40 CEST 2006


Author: megabajt                     Date: Mon Apr 17 19:34:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- modular xorg deps
- added link and gcc4 patches
- removed inc patch (Th doesn't use /usr/X11R6) 

---- Files affected:
SPECS:
   TORCS.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/TORCS.spec
diff -u SPECS/TORCS.spec:1.33 SPECS/TORCS.spec:1.34
--- SPECS/TORCS.spec:1.33	Tue Aug 30 17:50:17 2005
+++ SPECS/TORCS.spec	Mon Apr 17 21:34:34 2006
@@ -40,20 +40,22 @@
 # Source15-md5:	328a9bef7b1c81078dfe5ec3c968ddbc
 Source16:	%{name}.desktop
 Source17:	%{name}.png
-Patch0:		%{name}-inc.patch
+Patch0:		%{name}-link.patch
+Patch1:		%{name}-gcc4.patch
 URL:		http://www.torcs.org/
-BuildRequires:	OpenAL-devel
-BuildRequires:	OpenGL-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	glut-devel >= 3.7
+BuildRequires:	freealut-devel
+BuildRequires:	glut-devel >= 3.7-14
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	plib-devel >= 1.8.3
+BuildRequires:	xorg-lib-libXrandr-devel
+BuildRequires:	xorg-lib-libXxf86vm-devel
 BuildRequires:	zlib-devel
 Requires:	%{name}-data = %{version}-%{release}
-Requires:	OpenAL
 Requires:	OpenGL
+Requires:	freealut
 Requires:	plib >= 1.8.3
 Obsoletes:	TORCS-robots-K1999
 Obsoletes:	TORCS-robots-astigot
@@ -262,14 +264,12 @@
 mv torcs-%{version}/src/drivers/* src/drivers
 rm -r torcs-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
-CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS
-CFLAGS="-I/usr/X11R6/include"; export CFLAGS
 %{__aclocal}
 %{__autoconf}
-%configure \
-	--x-includes=/usr/X11R6/include
+%configure
 %{__make}
 
 %install
@@ -449,6 +449,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2006/04/17 19:34:34  megabajt
+- modular xorg deps
+- added link and gcc4 patches
+- removed inc patch (Th doesn't use /usr/X11R6)
+
 Revision 1.33  2005/08/30 15:50:17  megabajt
 - up to 1.2.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/TORCS.spec?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list