rebuilt with perl 5.24 [release 1.446-3mamba;Fri Nov 11 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 08:32:03 +01:00
parent 77788f1809
commit 9a926bf8d2

View File

@ -1,14 +1,14 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
%define SDL_ver %(rpm -q --queryformat=%%{version} libSDL)
%define SDL_image_ver %(rpm -q --queryformat=%%{version} libSDL_image)
%define SDL_mixer_ver %(rpm -q --queryformat=%%{version} libSDL_mixer)
%define SDL_ttf_ver %(rpm -q --queryformat=%%{version} libSDL_ttf)
%define SDL_gfx_ver %(rpm -q --queryformat=%%{version} libSDL_gfx)
%define SDL_Pango_ver %(rpm -q --queryformat=%%{version} libSDL_Pango)
#% define SDL_ver %(sdl-config --version)
#% define SDL_image_ver %(pkg-config --version SDL_image)
#% define SDL_mixer_ver %(pkg-config --version SDL_mixer)
#% define SDL_ttf_ver %(pkg-config --version SDL_ttf)
#% define SDL_gfx_ver %(pkg-config --version SDL_gfx)
#% define SDL_Pango_ver %(pkg-config --version SDL_Pango)
Name: perl-Alien-SDL
Version: 1.446
Release: 2mamba
Release: 3mamba
Summary: Alien::SDL - building, finding and using SDL binaries
Group: System/Libraries/Perl
Vendor: openmamba
@ -19,17 +19,18 @@ Source: http://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/Alien-SDL-%{ve
Patch0: perl-Alien-SDL-1.440-use-system-libraries.patch
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Capture-Tiny
BuildRequires: perl-devel
BuildRequires: perl-File-ShareDir
## AUTOBUILDREQ-END
BuildRequires: perl-Text-Patch
BuildRequires: libSDL-devel >= %{SDL_ver}
BuildRequires: libSDL_image-devel >= %{SDL_image_ver}
BuildRequires: libSDL_mixer-devel >= %{SDL_mixer_ver}
BuildRequires: libSDL_ttf-devel >= %{SDL_ttf_ver}
BuildRequires: libSDL_gfx-devel >= %{SDL_gfx_ver}
BuildRequires: libSDL_Pango-devel >= %{SDL_Pango_ver}
BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: libSDL_gfx-devel
BuildRequires: libSDL_Pango-devel
BuildRequires: perl-File-Which
#Requires: libSDL
#Requires: libSDL_image
@ -103,6 +104,9 @@ rm -f $packlist
%doc LICENSE
%changelog
* Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.446-3mamba
- rebuilt with perl 5.24
* Wed Mar 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.446-2mamba
- fix build using system sdl