From 72952f8c3c1618db784416cbe2a37aba91bdc0ec Mon Sep 17 00:00:00 2001 From: Robin Norwood Date: Aug 10 2007 16:10:57 +0000 Subject: Apply patches from package review. --- diff --git a/perl-PDL.spec b/perl-PDL.spec index cd53413..cc5ce04 100644 --- a/perl-PDL.spec +++ b/perl-PDL.spec @@ -1,6 +1,6 @@ Name: perl-PDL Version: 2.4.3 -Release: 1%{?dist} +Release: 3%{?dist} Summary: The Perl Data Language Group: Development/Libraries @@ -14,15 +14,19 @@ Patch3: perl-PDL-2.4.3-test.patch Patch4: perl-PDL-2.4.3-x86_64.patch Patch5: perl-PDL-2.4.3-hdf.patch Patch6: perl-PDL-2.4.3-Xext.patch +Patch7: perl-PDL-2.4.3-fortran.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(ExtUtils::F77) BuildRequires: perl(Inline) BuildRequires: perl(Test::More) BuildRequires: fftw2-devel +BuildRequires: gcc-gfortran BuildRequires: gd-devel BuildRequires: gsl-devel BuildRequires: hdf-devel +BuildRequires: libGLU-devel BuildRequires: plplot-devel BuildRequires: proj-devel BuildRequires: ncurses-devel @@ -30,8 +34,8 @@ BuildRequires: sharutils Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(PDL::Config) perl(PDL::PP::CType) perl(PDL::PP::Dims) Provides: perl(PDL::PP::PDLCode) perl(PDL::PP::SymTab) perl(PDL::PP::XS) -Provides: perl(PDL::Slatec) perl(PGPLOT) perl(PDL::LiteF) perl(PDL::Lite) -Provides: perl(PDL::Graphics::TriD::GL) +Provides: perl(PGPLOT) perl(PDL::LiteF) perl(PDL::Lite) +Provides: perl(PDL::Graphics::TriD::GL) perl(PDL::Graphics::TriD::Objects) %{?!DEBUG: %define DEBUG 0} @@ -39,7 +43,7 @@ Provides: perl(PDL::Graphics::TriD::GL) PDL ("Perl Data Language") gives standard Perl the ability to compactly store and speedily manipulate the large N-dimensional data arrays which are the bread and butter of scientific computing. PDL -turns perl in to a free, array-oriented, numerical language similar to +turns perl into a free, array-oriented, numerical language similar to such commercial packages as IDL and MatLab. @@ -52,6 +56,7 @@ such commercial packages as IDL and MatLab. %patch4 -p1 -b .x86_64 %patch5 -p1 -b .hdf %patch6 -p1 -b .Xext +%patch7 -p1 -b .fortran # Provides: explicitly filter perl(Inline) cat <<__EOF__ > %{name}-findperlprovides @@ -64,7 +69,7 @@ chmod +x %{__perl_provides} # Requires: explicitly filter perl(Tk) cat <<__EOF__ > %{name}-findperlrequires #!/bin/sh -%{__perl_requires} \$* | grep -v 'perl(Tk)' +%{__perl_requires} \$* | grep -v 'perl(Tk)' | grep -v 'perl(Win32::DDE::Client)' __EOF__ %define __perl_requires %{_builddir}/PDL-%{version}/%{name}-findperlrequires chmod +x %{__perl_requires} @@ -132,6 +137,25 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 10 2007 Robin Norwood - 2.4.3-3 +- More changes from Orion Poplawski +- BuildRequires and patch for fortran/f77 support +- Added Provides: perl(PDL::Graphics::TriD::Object +- Filter perl(Win32::DDE::Client) from Requires + +* Mon Aug 06 2007 Robin Norwood - 2.4.3-2 +- Apply changes from package review +- untabify spec file +- Add various files to %%doc +- turn on 3D/GL +- turn on IO Browser +- add a bunch of BRs to enable more modules +- remove unneeded Provides +- perl-PDL-2.4.3-hdf.patch to look for hdf devel files in the right place +- perl-PDL-2.4.3-test.patch to fix some tests +- perl-PDL-2.4.3-x86_64.patch to find 64bit libraries for some modules +- perl-PDL-2.4.3-Xext.patch to remove -lXext from GL linking options + * Sat Dec 02 2006 Robin Norwood - 2.4.3-1 - Latest version from CPAN: 2.4.3