File perl-SDL_Perl.spec of Package perl-SDL_Perl

# spec file for package perl-SDL_Perl (Version 2.2.6)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-SDL_Perl
BuildRequires:  Mesa-devel libSDL_image-devel libSDL_mixer-devel libSDL_net-devel libSDL_ttf-devel perl-Module-Build perl-YAML
License:        LGPLv2.1+
Group:          System/Libraries
Requires:       perl = %{perl_version}
Version:        2.2.6
Release:        6
Summary:        Glue between Perl and SDL
# .bz2 is larger than .gz, that's why we use .gz  ...
Patch0:         %{name}-2.1.3-perl-5.10.0.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       SDL_perl = %{version}
Obsoletes:      SDL_perl <= %{version}

Programming SDL with Perl.

    David J. Goehrig <>

%setup -q -n SDL_Perl-v%{version}

perl Build.PL destdir=$RPM_BUILD_ROOT installdirs=vendor

./Build install
# for < 11.4
rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SDL/.packlist
# %check
# ./Build test



openSUSE Build Service is sponsored by