On Sat, 2004-03-20 at 06:51, Ed Halley wrote:

> I have found that glRenderMode() and glPickMatrix() are not available,
> and I see no glGetInteger*() variations, so the OpenGL "picking" mode
> (i.e., mouse hit testing) is impossible to operate.  This would
> correspond to portions of NeHe demo 32, and is a show-stopper for my
> application.

I'll take a look at these shortly.

> Lastly, the SDL_perl.spec file should be updated to the new
> Module::Build procedure, so that we can offer .src.rpm files for cleaner
> end-user installation and updating.

Hmm, that looks easy enough, except that it's tied to one particular
distribution's architecture and Perl module directories.  Here's a patch
against the spec file; does it work better for you?

Does anyone know more about spec files than what I picked up in two
minutes of typing?

-- c


Index: scripts/SDL_perl.spec
===================================================================
--- scripts/SDL_perl.spec	(revision 245)
+++ scripts/SDL_perl.spec	(working copy)
@@ -1,18 +1,18 @@
 Summary: SDL_perl Multimedia Perl Extension
 Name: SDL_perl
 Version: %%version%%
-Release: 1
+Release: 3
 License: LGPL GNU Library General Public License
-Vendor: sdperl.org
-Packager: sdlperl.org
+Vendor: sdl.perl.org
+Packager: sdl.perl.org
 Group: System Environment/Base
 Source: http://sdlperl.org/SDL_perl-%{version}.tar.gz
-URL: http://sdlperl.org/
+URL: http://sdl.perl.org/
 BuildRoot: /tmp/rpm/SDL_perl/%{name}-%{version}-buildroot
 
 %description
 SDL_perl provides multimedia programming support for perl through
-use of the Simple DirectMedia Layer http://www.libsdl.org
+use of the Simple DirectMedia Layer http://www.libsdl.org/
 It provides both a high level, object orient develpment framework,
 and a low level C style API.  SDL_perl supports a variety of
 additional SDL libraries, such as SDL_image, SDL_mixer, SDL_ttf,
@@ -21,12 +21,12 @@
 %prep
 %setup -q
 %build
-perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr/local
-make 
+perl Build.PL PREFIX=$RPM_BUILD_ROOT/usr/local
+./Build 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install 
+./Build install 
 mkdir -p $RPM_BUILD_ROOT/usr/local/lib/perl5/site_perl/
 mv $RPM_BUILD_ROOT/usr/local/lib/site_perl/5.6.1/i686-linux/* $RPM_BUILD_ROOT/usr/local/lib/perl5/site_perl/
 rm -rf $RPM_BUILD_ROOT/lib/site_perl
@@ -46,9 +46,10 @@
 /usr/local/man/*/*
 
 %changelog
+* Sat Mar 27 05:01:35 UTC 2004 chromatic <[EMAIL PROTECTED]>
+- updated for new build process
+
 * Thu Apr 5 2002 David J. Goehrig <[EMAIL PROTECTED]>
 
 * Thu Apr 4 2002 David J. Goehrig <[EMAIL PROTECTED]>
 - wrote spec file
-
-

Reply via email to