Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568138
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 _unpackaged_files_terminate_build 1
%define dist SDL
Name: perl-%dist
Version: 2.548
Release: alt2

Summary: Simple DirectMedia Layer for Perl
License: LGPL
Group: Development/Perl

URL: %CPAN %dist
Source: %dist-%version.tar

Conflicts: frozen-bubble < 2.2.0-alt3.2
Conflicts: perl-SDL_Perl
Conflicts: perl-SDL25 < 2.546-alt2
Obsoletes: perl-SDL25 < 2.546-alt2
Provides: perl-SDL25 = %version

# avoid crazy dependencies

%add_findreq_skiplist */SDL/SMPEG*
%add_findreq_skiplist */SDLx/TTF.pm

BuildRequires: 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-Alien-SDL perl-Tie-Simple perl-Test-Most libSDL_pango-devel perl-Archive-Zip

%package pods
Summary: POD documentation for Simple DirectMedia Layer for Perl
Group: Development/Perl
Requires: %name = %version-%release

%package -n perl-Module-Build-SDL
Summary: Module::Build subclass for building SDL apps/games
Group: Development/Perl
Requires: %name = %version-%release

%description
SDL Perl is a package of Perl modules that provide both functional and
object oriented interfaces to the Simple DirectMedia Layer for Perl 5.
This package takes some liberties with the SDL API, and attempts to adhere
to the spirit of both the SDL and Perl.

%description pods
SDL Perl is a package of Perl modules that provide both functional and
object oriented interfaces to the Simple DirectMedia Layer for Perl 5.
This package takes some liberties with the SDL API, and attempts to adhere
to the spirit of both the SDL and Perl.
This package contains POD documentation.

%description -n perl-Module-Build-SDL
Module::Build::SDL is a subclass of Module::Build created to make easy
some tasks specific to SDL applications - e.g. packaging SDL
application/game into PAR archive.

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

if [ %version = 2.548 ]; then
# Disable the sdlx_controller_interface.t test, it hangs on arm and ppc64le
rm t/sdlx_controller_interface.t
sed -i -e '/t\/sdlx_controller_interface\.t/d' MANIFEST
fi

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc CHANGELOG TODO OFL.txt OFL-FAQ.txt examples
%perl_vendor_archlib/SDL*
%perl_vendor_autolib/SDL*
%perl_vendor_autolib/share/dist/SDL/GenBasR.ttf

%files pods
%perl_vendor_archlib/pods/SDL*

%files -n perl-Module-Build-SDL
%perl_vendor_archlib/Module/Build/SDL.pm

%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