commit 55bbe7c29b52b6a9807bf94f4ad3c4649197bec3 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Feb 27 14:24:41 2013 +0100 2.006 bump perl-PDL.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 73 insertions(+), 20 deletions(-) --- diff --git a/perl-PDL.spec b/perl-PDL.spec index c0d9baa..c118a6d 100644 --- a/perl-PDL.spec +++ b/perl-PDL.spec @@ -1,38 +1,89 @@ Name: perl-PDL -Version: 2.4.10 -Release: 10%{?dist} +%global cpan_version 2.006 +Version: 2.6.0 +Release: 1%{?dist} Summary: The Perl Data Language Group: Development/Libraries License: GPL+ or Artistic Url: http://pdl.perl.org/ -Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-%{cpan_version}.tar.gz # Uncomment to enable PDL::IO::Browser # Patch0: perl-PDL-2.4.10-settings.patch Patch1: perl-PDL-2.4.7-hdf.patch # Disable Proj support because it's not compatible anymore, bug #839651 Patch2: PDL-2.4.10-Disable-PDL-GIS-Proj.patch -BuildRequires: perl(version) -BuildRequires: perl(ExtUtils::F77) -BuildRequires: perl(File::Spec) -BuildRequires: perl(File::Temp) -BuildRequires: perl(Inline) -BuildRequires: perl(OpenGL) -BuildRequires: perl(Pod::Parser) -BuildRequires: perl(Pod::Select) -BuildRequires: perl(Test::More) BuildRequires: fftw2-devel +BuildRequires: freeglut-devel BuildRequires: gcc-gfortran BuildRequires: gd-devel -BuildRequires: gsl-devel +BuildRequires: gsl-devel >= 1.0 BuildRequires: hdf-static hdf-devel -BuildRequires: freeglut-devel libXmu-devel libXi-devel +BuildRequires: libXi-devel +BuildRequires: libXmu-devel +BuildRequires: perl +# perl(Astro::FITS::Header) not packaged yet +# Modified perl(Carp) bundled +# Modified perl(Carp::Heavy) bundled +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) >= 2.121 +# Modified perl(Devel::CheckLib) bundled +BuildRequires: perl(Devel::REPL) +BuildRequires: perl(ExtUtils::F77) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 +BuildRequires: perl(File::Spec) >= 0.6 +BuildRequires: perl(IO::File) +BuildRequires: perl(lib) +BuildRequires: perl(OpenGL) >= 0.65 +# OpenGL::Config is private OpenGL hash +BuildRequires: perl(Pod::Parser) +BuildRequires: perl(Pod::Select) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(constant) +BuildRequires: perl(Devel::REPL::Plugin) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Map) >= 0.47 +BuildRequires: perl(File::Temp) +BuildRequires: perl(FileHandle) +BuildRequires: perl(Filter::Simple) >= 0.88 +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Inline) >= 0.43 +BuildRequires: perl(List::Util) +BuildRequires: perl(Module::Compile) >= 0.23 +BuildRequires: perl(Moose) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(overload) +BuildRequires: perl(POSIX) +BuildRequires: perl(SelfLoader) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Text::Balanced) >= 1.89 +# Tests: +BuildRequires: perl(Benchmark) +BuildRequires: perl(English) +BuildRequires: perl(ExtUtils::testlib) +BuildRequires: perl(IO::String) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) +# Optional tests: +BuildRequires: perl(Convert::UU) +BuildRequires: perl(Storable) >= 1.03 + # Needed by PDL::GIS::Proj, currently disabled # BuildRequires: proj-devel # BuildRequires: proj-nad # Need by PDL::IO::Browser, currently disabled # BuildRequires: ncurses-devel BuildRequires: sharutils -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Map) >= 0.47 +Requires: perl(Filter::Simple) >= 0.88 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(PGPLOT) perl(PDL::LiteF) perl(PDL::Lite) @@ -53,9 +104,9 @@ turns perl into a free, array-oriented, numerical language similar to such commercial packages as IDL and MatLab. %prep -%setup -q -n PDL-%{version} +%setup -q -n PDL-%{cpan_version} # Uncomment to enable PDL::IO::Browser -# %patch0 -p1 -b .settings +# %%patch0 -p1 -b .settings %patch1 -p1 -b .hdf %patch2 -p1 -b .proj @@ -66,17 +117,16 @@ CFLAGS="$CFLAGS -fsigned-char" %endif # Uncomment to enable PDL::IO::Browser # CFLAGS="$CFLAGS -DNCURSES" -CFLAGS="$CFLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$CFLAGS" +CFLAGS="$CFLAGS" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$CFLAGS" make OPTIMIZE="$CFLAGS" %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} perl -Mblib Doc/scantree.pl %{buildroot}%{perl_vendorarch} perl -pi -e "s|%{buildroot}/|/|g" %{buildroot}%{perl_vendorarch}/PDL/pdldoc.db find %{buildroot}%{perl_vendorarch} -type f -name "*.pm" | xargs chmod -x find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* %check @@ -94,6 +144,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Wed Sep 25 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.6.0-1 +- 2.006 bump + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.4.10-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel