SPECS: tmw.spec - enable OpenGL support - rel 2
shadzik
shadzik at pld-linux.org
Thu Oct 26 17:02:33 CEST 2006
Author: shadzik Date: Thu Oct 26 15:02:33 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- enable OpenGL support
- rel 2
---- Files affected:
SPECS:
tmw.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/tmw.spec
diff -u SPECS/tmw.spec:1.19 SPECS/tmw.spec:1.20
--- SPECS/tmw.spec:1.19 Thu Oct 26 16:29:37 2006
+++ SPECS/tmw.spec Thu Oct 26 17:02:28 2006
@@ -1,15 +1,18 @@
# $Revision$, $Date$
+%bcond_without opengl #disable OpenGL support
Summary: A free Open Source 2D MMORPG
Summary(pl): Darmowa gra typu MMORPG 2D
Name: tmw
Version: 0.0.21
-Release: 1
+Release: 2
License: GPL v2
Group: X11/Applications/Games
Source0: http://dl.sourceforge.net/themanaworld/%{name}-%{version}.tar.gz
# Source0-md5: e13a748b8e279fa694db5eb14ac4a8a9
Patch0: %{name}-desktop.patch
+Patch1: %{name}-OpenGL.patch
URL: http://themanaworld.org/
+%{?with_opengl:BuildRequires: OpenGL-devel}
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_net-devel
@@ -56,13 +59,15 @@
%prep
%setup -q
%patch0 -p1
+%{?with_opengl:%patch1 -p0}
%build
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{?with_opengl:--with-opengl}
%{__make}
%install
@@ -88,6 +93,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2006/10/26 15:02:28 shadzik
+- enable OpenGL support
+- rel 2
+
Revision 1.19 2006/10/26 14:29:37 shadzik
- remove CFLAGS (already set at configure time)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/tmw.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list