fix build using system sdl [release 1.446-2mamba;Wed Mar 18 2015]
This commit is contained in:
parent
1532fd3eb6
commit
77788f1809
@ -8,7 +8,7 @@
|
||||
|
||||
Name: perl-Alien-SDL
|
||||
Version: 1.446
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Alien::SDL - building, finding and using SDL binaries
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
@ -48,7 +48,14 @@ Alien::SDL - building, finding and using SDL binaries.
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__perl} Build.PL \
|
||||
--with-sdl-config=%{_bindir}/sdl-config \
|
||||
PREFIX=%{_prefix} \
|
||||
INSTALLDIRS=vendor \
|
||||
OPTIMIZE="%{optflags}" << __EOF
|
||||
1
|
||||
__EOF
|
||||
|
||||
./Build
|
||||
./Build test
|
||||
|
||||
@ -67,9 +74,7 @@ Alien::SDL - building, finding and using SDL binaries.
|
||||
#Using already installed SDL ver=1.2.15 path=/usr
|
||||
# SDL(v1.2.15) SDL_image(v1.2.12) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.24) SDL_Pango(v1.3)
|
||||
|
||||
./Build install destdir=%{buildroot} << __EOF
|
||||
1
|
||||
__EOF
|
||||
./Build install destdir=%{buildroot}
|
||||
|
||||
packlist=`find %{buildroot} -name .packlist`
|
||||
#[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||
@ -91,13 +96,16 @@ rm -f $packlist
|
||||
%dir %{perl_sitelib}/Alien
|
||||
%{perl_sitelib}/Alien/SDL.pm
|
||||
%{perl_sitelib}/Alien/SDL/ConfigData.pm
|
||||
%dir %{perl_sitelib}/auto/share/dist/Alien-SDL
|
||||
%{perl_sitelib}/auto/share/dist/Alien-SDL/*
|
||||
#%dir %{perl_sitelib}/auto/share/dist/Alien-SDL
|
||||
#%{perl_sitelib}/auto/share/dist/Alien-SDL/*
|
||||
%{_mandir}/man3/Alien::SDL.3pm*
|
||||
%{_mandir}/man3/Alien::SDL::ConfigData.3pm*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed Mar 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.446-2mamba
|
||||
- fix build using system sdl
|
||||
|
||||
* Mon Mar 16 2015 Automatic Build System <autodist@mambasoft.it> 1.446-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user