Author: qboosh                       Date: Sun Aug 20 14:17:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed outdated detection patch
- fixed OpenGL deps (glut not used, but GLU is)
- fixed optflags passing, pass rpmldflags too

---- Files affected:
SPECS:
   perl-SDL.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/perl-SDL.spec
diff -u SPECS/perl-SDL.spec:1.33 SPECS/perl-SDL.spec:1.34
--- SPECS/perl-SDL.spec:1.33    Tue Aug  8 16:00:29 2006
+++ SPECS/perl-SDL.spec Sun Aug 20 16:17:38 2006
@@ -13,16 +13,14 @@
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-authors/id/D/DG/DGOEHRIG/SDL_Perl-%{version}.tar.gz
 # Source0-md5: 6ce26e1b710ce52def4ec22637cd5176
-Patch0:                %{name}-detection.patch
 URL:           http://search.cpan.org/dist/SDL_Perl/
-BuildRequires: OpenGL-devel
+BuildRequires: OpenGL-GLU-devel
 BuildRequires: SDL-devel
 BuildRequires: SDL_gfx-devel >= 2.0.10
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: SDL_net-devel
 BuildRequires: SDL_ttf-devel
-BuildRequires: glut-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: perl-Module-Build
@@ -48,7 +46,6 @@
 
 %prep
 %setup -q -n SDL_Perl-%{version}
-#%patch0 -p1
 mv t/mixerpm.t{,.blah} # requires audio device
 
 %build
@@ -56,7 +53,8 @@
        installdirs=vendor \
        perl=%{__perl} \
        destdir=$RPM_BUILD_ROOT \
-       config='optflags=%{rpmcflags}'
+       config='optimize=%{rpmcflags}' \
+       config='lddlflags=-shared %{rpmldflags}'
 ./Build
 
 %{?with_tests:./Build test}
@@ -92,6 +90,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2006/08/20 14:17:38  qboosh
+- removed outdated detection patch
+- fixed OpenGL deps (glut not used, but GLU is)
+- fixed optflags passing, pass rpmldflags too
+
 Revision 1.33  2006/08/08 14:00:29  sparky
 - BR: perl-YAML
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-SDL.spec?r1=1.33&r2=1.34&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to