Info2: << Package: arpack-ng%type_pkg[-mpi]%type_pkg[-lapack] Version: 3.1.2 Revision: 1 Type: -lapack (-atlas -ref .), -mpi (boolean), gcc(4.7) Maintainer: Alexander Hansen Description: Solve large scale eigenvalue problems DescDetail: << ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. It began at Rice university: http://www.caam.rice.edu/software/ARPACK The arpack-ng project is a joint project between Debian, Octave and Scilab in order to provide a common and maintained version of arpack. Because no single release has been published by Rice university for the last decade and since many software packages (Octave, Scilab, R, Matlab...) have forked it and implemented their own modifications, arpack-ng aims to tackle this issue by providing a common repository and maintained version. << DescUsage: << This package contains static libraries, an unversioned dylib, Fortran examples, and documentation. << BuildDependsOnly: true Homepage: http://forge.scilab.org/index.php/p/arpack-ng/ License: BSD Source: http://forge.scilab.org/upload/%{Ni}/files/%{Ni}_%v.tar.gz Source-MD5: 7644e234f219ec1a29849b6d7811a6b1 SourceDirectory: %{Ni}_%v BuildDepends: << (%type_raw[-lapack] = -atlas) atlas (>=3.9.11-13), (%type_raw[-lapack] = -ref) lapack341, fink (>=0.30.0), gcc%type_pkg[gcc]-compiler, (%type_raw[-mpi] != .) openmpi-dev << # NOTE: openmpi-dev is new Depends: %N-shlibs (= %v-%r ) Conflicts: << %{Ni}, %{Ni}-atlas, %{Ni}-ref, %{Ni}-mpi, %{Ni}-mpi-atlas, %{Ni}-mpi-ref, arpack, arpack-atlas << Replaces: << %{Ni}, %{Ni}-atlas, %{Ni}, %{Ni}-atlas, %{Ni}-mpi, %{Ni}-mpi-atlas, arpack, arpack-atlas << PatchScript: perl -pi -e 's|/usr|%p|; s/3\.0\.2/%v/' arpack.pc # SetLDFLAGS: -Wl,-dead_strip_dylibs ConfigureParams: << (%type_raw[-lapack] = .) --with-blas='-Wl,-framework,Accelerate' \ (%type_raw[-lapack] = .) --with-lapack='-Wl,-framework,Accelerate' \ (%type_raw[-lapack] = -ref) --with-blas='-L%p/lib/lapack/3.4.1 -lrefblas' \ (%type_raw[-lapack] = -ref) --with-lapack='-L%p/lib/lapack/3.4.1 -lreflapack' \ (%type_raw[-mpi] = -mpi) --enable-mpi \ --disable-static << CompileScript: << #!/bin/sh -ev export F77=%p/bin/gfortran-fsf-%type_raw[gcc] if [ "%type_raw[-mpi]" = "-mpi" ] then export MPIF77=%p/bin/mpif77 export LDFLAGS=$LDFLAGS" -L%p/lib/openmpi" fi if [ "%type_raw[-lapack]" = "." ] then export FFLAGS='-ff2c' fi %{default_script} << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d # manually install headers mkdir -p %i/include/arpack cp SRC/*.h %i/include/arpack # copy PARPACK docs manually if [ "%type_raw[-mpi]" = "-mpi" ] then mkdir -p %i/share/doc/%n/PARPACK cp -r PARPACK_CHANGES %i/share/doc/%n/ cp -r PARPACK/EXAMPLES %i/share/doc/%n/PARPACK fi << DocFiles: CHANGES DOCUMENTS EXAMPLES README TODO COPYING DescPackaging: << Needs a gfortran; we're going with gcc47. Needs -ff2c when using Accelerate.framework, but not when using ATLAS or the reference LAPACK. We can actually disable parpack now. Only copy the PARPACK docs for the -mpi variants. << Splitoff: << Package: %N-shlibs Files: lib/lib*arpack.2.dylib Shlibs: << %p/lib/libarpack.2.dylib 3.0.0 %n (>=3.0.1-1) (%type_raw[-mpi] = -mpi) %p/lib/libparpack.2.dylib 3.0.0 %n (>=3.1.0-1) << Depends: << (%type_raw[-lapack] = -atlas ) atlas-shlibs (>=3.9.11-13), (%type_raw[-lapack] = -ref) lapack341-shlibs, gcc%type_pkg[gcc]-shlibs << Conflicts: %{Ni}-shlibs, %{Ni}-atlas-shlibs, %{Ni}-mpi-shlibs, %{Ni}-mpi-atlas-shlibs Replaces: %{Ni}-shlibs, %{Ni}-atlas-shlibs, %{Ni}-mpi-shlibs, %{Ni}-mpi-atlas-shlibs DescDetail: << This package contains the shared libraries. << DocFiles: COPYING << <<