SPECS: perl-SDL.spec - added gfxPie.patch and no-mixertest.patch -...
tommat
tommat at pld-linux.org
Sat Jan 5 19:18:18 CET 2008
Author: tommat Date: Sat Jan 5 18:18:18 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added gfxPie.patch and no-mixertest.patch
- paths workaround from FC, builds
---- Files affected:
SPECS:
perl-SDL.spec (1.37 -> 1.38)
---- Diffs:
================================================================
Index: SPECS/perl-SDL.spec
diff -u SPECS/perl-SDL.spec:1.37 SPECS/perl-SDL.spec:1.38
--- SPECS/perl-SDL.spec:1.37 Sat Jan 5 17:37:14 2008
+++ SPECS/perl-SDL.spec Sat Jan 5 19:18:13 2008
@@ -13,6 +13,8 @@
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}-gfxPie.patch
+Patch1: %{name}-no-mixertest.patch
URL: http://search.cpan.org/dist/SDL_Perl/
BuildRequires: OpenGL-GLU-devel
BuildRequires: SDL-devel
@@ -47,6 +49,9 @@
%prep
%setup -q -n SDL_Perl-%{version}
+%patch0 -p0
+%patch1 -p1
+
mv t/mixerpm.t{,.blah} # requires audio device
%build
@@ -58,12 +63,21 @@
config='lddlflags=-shared %{rpmldflags}'
./Build
+# <sigh> I don't know why but for some reason these dirs get put under
+# blib/arch/auto/src instead of blib/arch/auto causing them to be installed
+# in the wrong location and "./Build test" to fail. We copy them because if
+# we move them the next call to ./Build will recreate them in the wrong
+# location anyways. Unfortunatly with the copy the wrong located originals
+# will also end up getting installed so we must remove those in %%install
+cp -r blib/arch/auto/src/SDL* blib/arch/auto
+
%{?with_tests:./Build test}
%install
rm -rf $RPM_BUILD_ROOT
./Build install
+rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/auto/src
%clean
rm -rf $RPM_BUILD_ROOT
@@ -91,6 +105,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.38 2008-01-05 18:18:13 tommat
+- added gfxPie.patch and no-mixertest.patch
+- paths workaround from FC, builds
+
Revision 1.37 2008-01-05 16:37:14 tommat
- BR: perl-ExtUtils-CBuilder
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-SDL.spec?r1=1.37&r2=1.38&f=u
More information about the pld-cvs-commit
mailing list