Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37897375
en ru br
ALT Linux repos
S:2.548-alt3
5.0: 2.1.3-alt3
4.1: 2.1.3-alt3
4.0: 2.1.3-alt3
3.0: 2.1.2-alt1

Group :: Development/Perl
RPM: perl-SDL

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dist SDL_Perl
Name: perl-SDL
Version: 2.1.2
Release: alt1

Summary: SDL bindings for perl
License: LGPL
Group: Development/Perl

URL: http://sdl.perl.org/
Source: %dist-%version.tar.gz

# fix linkage problem in make/lib/SDL/Build.pm

Patch0: %name-2.1.2-alt-sdl_link.patch

# avoid crazy dependencies

%add_findreq_skiplist */SDL/Tutorial.pm */SDL/Tutorial/*.pm

# frozen-bubble must be aware of API changes

Conflicts: frozen-bubble < 1.0.0-alt5

# Automatically added by buildreq on Fri Feb 04 2005

BuildRequires: esound freetype2 libSDL-devel libSDL_gfx-devel libSDL_image-devel libSDL_mixer-devel libSDL_net-devel libSDL_ttf-devel libjpeg-devel libpng-devel libsmpeg-devel perl-Module-Build perl-devel xorg-x11-devel xorg-x11-libs xorg-x11-mesaGL

%package OpenGL
Summary: SDL bindings for perl (OpenGL)
Group: Development/Perl
Requires: %name = %version-%release

%description
SDL_Perl is a wrapper around the cross platform Simple DirectMedia Layer
game library. Essentially it allows to write cross platform games in Perl,
using 2d (SDL), or 3d (OpenGL), or a combination of both if you wish.

%description OpenGL
SDL_Perl is a wrapper around the cross platform Simple DirectMedia Layer
game library. Essentially it allows to write cross platform games in Perl,
using 2d (SDL), or 3d (OpenGL), or a combination of both if you wish.

%prep
%setup -q -n %dist-%version
%patch0 -p1

%ifdef __BTE
# mixer is not available in restricted environment
%__rm -fv t/mixerpm.t
%endif

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc BUGS CHANGELOG README TODO
%perl_vendor_archlib/SDL*
%perl_vendor_autolib/SDL*
%exclude %perl_vendor_archlib/SDL/OpenGL*
%exclude %perl_vendor_autolib/SDL/OpenGL*

%files OpenGL
%perl_vendor_archlib/SDL/OpenGL*
%perl_vendor_autolib/SDL/OpenGL*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin