Dual-arch RPM spec file & patches

Please find attached an updated RPM .spec file and patches for building
SDL on x86_64 Linux machines, based on 1.2.13 source tarball.

This updated .spec file will automatically build 64-bit and 32-bit packages.

Note: Requires ALSA & ESD.

To use them, put the patches & the source tarball in SOURCES and spec
file in SPECS and run rpmbuild. If you don’t know what that means, then
you need to learn how to use RPM (www.rpm.org).

Comments========

I use SuSE (10.3). I’ve not attempted to test on other distros, so
please don’t complain AT me if it doesn’t work.

They are very hacky. This is as much a reflection of the inadequacies of
AutoConf, AutoMake, Libtool and RPM as it is my laziness.

I’ve made my political views plain in the past; I don’t like Libtool so
have made no attempt to ‘fix’ it.

I believe AutoConf does have a place, but clearly needs work to properly
support dual-architecture machines.

Files for SDL_net, SDL_mixer etc. to follow in the next couple of weeks.

Eddy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090527/cc816b6b/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_linux_config.diff
Type: text/x-patch
Size: 3131 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090527/cc816b6b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_linux_deps.diff
Type: text/x-patch
Size: 2597 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090527/cc816b6b/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_linux_makefile.diff
Type: text/x-patch
Size: 3125 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090527/cc816b6b/attachment-0002.bin

Edward Cullen wrote:

Please find attached an updated RPM .spec file and patches for building
SDL on x86_64 Linux machines, based on 1.2.13 source tarball.

Okay, so they’re completely broken… sorry. Fix to follow shortly.

Eddy