SPECS: Mesa.spec - added motif bcond (not tested yet) - BR: libdrm...

qboosh qboosh at pld-linux.org
Fri Oct 21 12:17:46 CEST 2005


Author: qboosh                       Date: Fri Oct 21 10:17:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added motif bcond (not tested yet)
- BR: libdrm-devel (for linux-dri build)
- BR: libstdc++-devel (for SGI libGLU)

---- Files affected:
SPECS:
   Mesa.spec (1.86 -> 1.87) 

---- Diffs:

================================================================
Index: SPECS/Mesa.spec
diff -u SPECS/Mesa.spec:1.86 SPECS/Mesa.spec:1.87
--- SPECS/Mesa.spec:1.86	Fri Oct 21 03:01:37 2005
+++ SPECS/Mesa.spec	Fri Oct 21 12:17:40 2005
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with	glide	# with GLIDE (broken now)
+%bcond_without	motif	# without libGLw Motif interface
 #
 Summary:	Free OpenGL implementation
 Summary(pl):	Wolnodostępna implementacja standardu OpenGL
@@ -18,14 +19,14 @@
 # http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-libs/mesa/files/mesa-add-dri-asm-files.patch?rev=1.1&content-type=text/vnd.viewcvs-markup
 Patch0:		%{name}-dri-asm.patch
 URL:		http://www.mesa3d.org/
-BuildRequires:	autoconf >= 2.50
-BuildRequires:	automake
 %ifarch %{ix86} alpha
 %{?with_glide:BuildRequires:	Glide3-DRI-devel}
 %{?with_glide:Requires:	Glide3-DRI}
 %endif
+BuildRequires:	libdrm-devel
+BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.4d
-BuildRequires:	motif-devel
+%{?with_motif:BuildRequires:	motif-devel}
 BuildRequires:	sed >= 4.0
 BuildRequires:	xorg-lib-libXi-devel
 BuildRequires:	xorg-lib-libXmu-devel
@@ -136,7 +137,7 @@
 	CXX="%{__cxx}" \
 	OPT_FLAGS="%{rpmcflags}" \
 	XLIB_DIR=%{_libdir} \
-	GLW_SOURCES="GLwDrawA.c GLwMDrawA.c" \
+	GLW_SOURCES="GLwDrawA.c%{?with_motif: GLwMDrawA.c}" \
 	PROGRAM_DIRS=""
 mv -f lib lib-static
 %{__make} clean
@@ -227,7 +228,7 @@
 
 %files dri
 %defattr(644,root,root,755)
-%dir %{_libdir}/xorg/modules/dri/
+%dir %{_libdir}/xorg/modules/dri
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/*_dri.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -236,6 +237,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.87  2005/10/21 10:17:40  qboosh
+- added motif bcond (not tested yet)
+- BR: libdrm-devel (for linux-dri build)
+- BR: libstdc++-devel (for SGI libGLU)
+
 Revision 1.86  2005/10/21 01:01:37  jpc
 - add glut
 - take libGL from the DRI build (I guess this could make a difference
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/Mesa.spec?r1=1.86&r2=1.87&f=u




More information about the pld-cvs-commit mailing list