]> git.pld-linux.org Git - packages/tmw.git/commitdiff
- BR: OpenGL-GLU-devel auto/th/tmw-0_0_27-1
authorarvenil <arvenil@pld-linux.org>
Thu, 1 Jan 2009 19:15:09 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- sorted Requires
- proper passing configure option

Changed files:
    tmw.spec -> 1.37

tmw.spec

index 55045f1fe27e4a1db48afb7f31a4e19ccae8f192..0f93572e3dda6411bf1285549f61a8b9582f964a 100644 (file)
--- a/tmw.spec
+++ b/tmw.spec
@@ -11,6 +11,7 @@ Source0:      http://dl.sourceforge.net/themanaworld/%{name}-%{version}.tar.gz
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-OpenGL.patch
 URL:           http://themanaworld.org/
+%{?with_opengl:BuildRequires:  OpenGL-GLU-devel}
 %{?with_opengl:BuildRequires:  OpenGL-devel}
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
@@ -22,11 +23,11 @@ BuildRequires:      guichan-devel >= 0.8.0
 BuildRequires: libxml2-devel
 BuildRequires: physfs-devel
 BuildRequires: pkgconfig
-# should be autodetected
-Requires:      curl
 Requires:      SDL_image
 Requires:      SDL_mixer
 Requires:      SDL_net
+# should be autodetected
+Requires:      curl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,7 +67,7 @@ Online.
 %{__autoheader}
 %{__automake}
 %configure \
-       %{?with_opengl:--with-opengl}
+       --with%{!?with_opengl:out}-opengl
 %{__make}
 
 %install
This page took 0.045755 seconds and 4 git commands to generate.