Dual-arch RPM spec files & patches - take 2

Further to my previous post, here are some more ‘considered’ patches &
spec files for the following:

SDL 1.2.13
SDL_gfx 2.0.19
SDL_image 1.2.7
SDL_mixer 1.2.8
SDL_net 1.2.7
SDL_ttf 2.0.9
smpeg 0.4.5 (svn)

These will allow x86_64 users to generate 32-bit & 64-bit packages reliably.

NOTE: You should make that 32-bit development packages are installed for
any dependencies (SuSE is particularly bad for not providing these).

FYI: Build & install SDL and smpeg before building the others, to ensure
correct dependencies.

They were made & tested on openSuSE Linux 10.3, so caveat emptor with
regard to other distros (particularly distros using earlier versions of
RPM).

I’ve restricted dual-arch builds to Linux (don’t use BSD or Solaris;
don’t know if anyone use RPM on BSD or Solaris).

The following are spec-file only (build from tar):

SDL
SDL_gfx
SDL_image
SDL_net
SDL_ttf

The following are spec with patch (build from tar):

SDL_mixer

The following requires patching of the Subversion checkout:

smpeg

Patches still to do:

SDL_sound - Depends on Pysicsfs; I’m struggling to workout how to coax
(rather than smash with a hammer…) CMake to support dual-arch builds.

Patches not planned:

SDL_Pango - This appears to be unmaintained and requires a huge amount
of work to get the configure scripts right. It also does not appear to
be widely used. If anyone want to pick it up again, let me know.

Much Lav,

Eddy
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_mixer_makefile.diff
Type: text/x-patch
Size: 936 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment.bin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL_gfx.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL_image.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment-0001.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL_mixer.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment-0001.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL_net.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment-0002.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL_ttf.spec
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment-0002.asc
-------------- next part --------------
A non-text attachment was scrubbed…
Name: smpeg.diff
Type: text/x-patch
Size: 6669 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090531/29f5849a/attachment-0001.bin