]> git.pld-linux.org Git - packages/foobillard.git/commitdiff
- added with_nvidia bcond
authorgrzegol <grzegol@pld-linux.org>
Sun, 9 Nov 2003 20:03:12 +0000 (20:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- new bconds

Changed files:
    foobillard.spec -> 1.17

foobillard.spec

index 886ca99e35afba23b3007b3178a6712c3160cb0d..c74b2cbf01eab6d7c84a21abdff453924e80efcf 100644 (file)
@@ -1,7 +1,8 @@
 #
 # Conditional build:
-# _with_glut   - use glut instead of SDL
-#
+%bcond_with    glut    # use glut instead of SDL
+%bcond_with nvidia # enable NVidia specific extensions
+
 Summary:       A free OpenGL game of playing billard
 Summary(pl):   Wolnodostêpna gra w bilard oparta na OpenGL
 Name:          foobillard
@@ -16,11 +17,11 @@ Source1:    %{name}.desktop
 Source2:       %{name}.xpm
 URL:           http://foobillard.sunsite.dk/
 BuildRequires: OpenGL-devel
-%{!?_with_glut:BuildRequires:  SDL-devel}
+%{!?with_glut:BuildRequires:   SDL-devel}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: freetype-devel
-%{?_with_glut:BuildRequires:   glut-devel}
+%{?with_glut:BuildRequires:    glut-devel}
 BuildRequires: intltool
 Requires:      OpenGL
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,8 +58,8 @@ X_LIBS='-I/usr/X11R6/include'; export X_LIBS
 %{__autoconf}
 %{__automake}
 %configure \
-       %{!?_with_glut:--enable-SDL}%{?_with_glut:--enable-glut} \
-       --disable-nvidia
+       %{!?with_glut:--enable-SDL}%{?with_glut:--enable-glut} \
+       %{!?with_nvidia:--disable-nvidia}%{?with_nvidia:--enable-nvidia}
 
 %{__make}
 
This page took 0.079339 seconds and 4 git commands to generate.