]> git.pld-linux.org Git - packages/foobillard.git/blobdiff - foobillard.spec
- added Encoding=UTF-8 as requires by freedesktop
[packages/foobillard.git] / foobillard.spec
index 517d4225c9891e6480b93d6520c116930eaa857e..5a15fa563540b93dd86fcdba104a1763b6601667 100644 (file)
@@ -1,28 +1,32 @@
 #
 # 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
-Version:       2.8
+Version:       2.9
 Release:       1
 Vendor:                Florian Berger <florian.berger@aec.at>, <harpin_floh@yahoo.de>
 License:       GPL
 Group:         X11/Applications/Games
 Source0:       http://foobillard.sunsite.dk/dnl/%{name}-%{version}.tar.gz
-# Source0-md5: afe2e096743cbf41e0a9537cceb7f857
+# Source0-md5: b8b10d7d3ade07a9e0c497165beadbca
 Source1:       %{name}.desktop
 Source2:       %{name}.xpm
 URL:           http://foobillard.sunsite.dk/
 BuildRequires: OpenGL-devel
-%{!?_with_glut:BuildRequires:  SDL-devel}
+%{!?with_glut:BuildRequires:   SDL-devel}
+%{?with_nvidia:BuildRequires:  XFree86-driver-nvidia}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: freetype-devel
-%{?_with_glut:BuildRequires:   glut-devel}
+%{?with_glut:BuildRequires:    glut-devel}
 BuildRequires: intltool
+BuildRequires: libtool
 Requires:      OpenGL
+%{?with_nvidia:Requires:       XFree86-driver-nvidia}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautoreqdep   libGL.so.1 libGLU.so.1
@@ -57,7 +61,8 @@ X_LIBS='-I/usr/X11R6/include'; export X_LIBS
 %{__autoconf}
 %{__automake}
 %configure \
-       %{!?_with_glut:--enable-SDL}%{?_with_glut:--enable-glut}
+       %{!?with_glut:--enable-SDL}%{?with_glut:--enable-glut} \
+       %{!?with_nvidia:--disable-nvidia}%{?with_nvidia:--enable-nvidia}
 
 %{__make}
 
This page took 0.095745 seconds and 4 git commands to generate.