From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Sat, 24 Jan 2009 19:12:36 +0000 (+0000) Subject: Disable GLUT since the library has been dropped from w32api. X-Git-Url: http://git.annexia.org/?p=fedora-mingw.git;a=commitdiff_plain;h=f5df7a6031729809a6d42aaef17d2ec52748425c Disable GLUT since the library has been dropped from w32api. --- diff --git a/ocaml-lablgl/mingw32-ocaml-lablgl.spec b/ocaml-lablgl/mingw32-ocaml-lablgl.spec index 1bf83eb..f82c2a9 100644 --- a/ocaml-lablgl/mingw32-ocaml-lablgl.spec +++ b/ocaml-lablgl/mingw32-ocaml-lablgl.spec @@ -6,7 +6,7 @@ Name: mingw32-ocaml-lablgl Version: 1.03 -Release: 3%{?dist} +Release: 4%{?dist} Summary: MinGW Windows port of LablGL is an OpenGL interface License: BSD @@ -84,7 +84,10 @@ __EOF__ %build -make LIBRARIAN=i686-pc-mingw32-ocamlmklib lib glut libopt glutopt +# XXX w32api-3.12 had libglut32.a, but 3.13 lacks this, so we have +# had to disable glut compilation. +#make LIBRARIAN=i686-pc-mingw32-ocamlmklib lib glut libopt glutopt +make LIBRARIAN=i686-pc-mingw32-ocamlmklib lib libopt %install @@ -124,12 +127,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%{_mingw32_bindir}/lablglut.bat +# XXX See above for reason why glut is missing. +#%{_mingw32_bindir}/lablglut.bat %{_libdir}/%{_mingw32_target}-ocaml/lablGL/ %{_libdir}/%{_mingw32_target}-ocaml/stublibs/dlllablgl.dll -%{_libdir}/%{_mingw32_target}-ocaml/stublibs/dlllablglut.dll +#%{_libdir}/%{_mingw32_target}-ocaml/stublibs/dlllablglut.dll %changelog +* Sat Jan 24 2009 Richard W.M. Jones - 1.03-4 +- Disable GLUT since the library has been dropped from w32api. + * Sun Nov 23 2008 Richard W.M. Jones - 1.03-3 - Initial RPM release.