]> git.pld-linux.org Git - packages/foobillard.git/commitdiff
- removed %%gettextize (it isn't necessary and it breaks building)
authorgrzegol <grzegol@pld-linux.org>
Sun, 26 Jan 2003 18:05:26 +0000 (18:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added --with_glut bcond
- rel. 2

Changed files:
    foobillard.spec -> 1.6

foobillard.spec

index 25ee7fb611c066e810edc33e8c5e99c5545f2e42..348b692127ca83f65e5c39447485771070d1abde 100644 (file)
@@ -1,8 +1,12 @@
+#
+# Conditional build:
+# _with_glut   use glut instead of SDL-lib
+
 Summary:       A free OpenGL game of playing billard
 Summary(pl):   Wolnodostêpna gra w bilard oparta na OpenGL
 Name:          foobillard
 Version:       2.3
-Release:       1
+Release:       2
 Vendor:                Florian Berger (florian.berger@aec.at,harpin_floh@yahoo.de)
 License:       GPL
 Group:         X11/Applications/Games
@@ -11,15 +15,15 @@ Source1:    %{name}.desktop
 Source2:       %{name}.xpm
 Patch0:                %{name}-include.patch
 URL:           http://foobillard.sunsite.dk/
-BuildRequires: SDL-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: freetype-devel
-BuildRequires: gettext-devel
 BuildRequires: intltool
+%{?_with_glut:BuildRequires:   glut-devel}
+%{?_with_glut:BuildRequires:   OpenGL-devel}
+%{!?_with_glut:BuildRequires:  SDL-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
 %description
 FooBillard is an attempt to create a free OpenGL-billard for Linux.
 Why foo? Well, actually I had this logo (F.B.-Florian Berger) and then
@@ -47,11 +51,11 @@ nieco r
 rm -f missing
 X_LIBS='-I/usr/X11R6/include'; export X_LIBS
 %{__libtoolize}
-%{__gettextize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure --enable-SDL
+%configure \
+       %{!?_with_glut:--enable-SDL}%{?_with_glut:--enable-glut}
 
 %{__make}
 
This page took 0.070368 seconds and 4 git commands to generate.