Package: hdf5 Version: 1.6.10 Revision: 9 # DO NOT MOVE TO 10.7, BECAUSE IT FAILS ITS SELF-TESTS there. # PACKAGES THAT USE hdf5 SHOULD BE UPDATED TO USE hdf5.8-oldapi INSTEAD. Distribution: 10.5, 10.6 Source: ftp://ftp.hdfgroup.org/HDF5/current16/src/%n-%v.tar.gz Source-MD5: 6e207a95d22e9e9ffdfaecdd580cd1b3 Description: Library and file format for scientific data DescDetail: << It was designed to address some of the limitations of the HDF 4.x library and to address current and anticipated requirements of modern systems and applications. The fortran9X interface is built using gfortran. It will only work with gfortran. << DescPackaging: << Since the fortran interface builds static libraries, any gcc4N can be used to provide gfortran. << DescPort: << Patch configure.in to make sure that we can use autoreconf. Use autoreconf so that the package will build a twolevel dylib. << Depends: %N-shlibs (= %v-%r), %N-bin, szip-shlibs (>= 2.0-2) BuildDepends: szip (>= 2.0-2), gcc44 | gcc45 | gcc46 | gcc47 | gcc48, fink ( >= 0.24.12), libtool2, automake1.11 Conflicts: << %N-18, %N-18-gfortran, %N.7, %N.7-gfortran, %N.7-oldapi, %N.7-oldapi-gfortran, %N.8, %N.8-gfortran, %N.8-oldapi, %N.8-oldapi-gfortran << Replaces: << %N-18, %N-18-gfortran, %N.7, %N.7-gfortran, %N.7-oldapi, %N.7-oldapi-gfortran, %N.8, %N.8-gfortran, %N.8-oldapi, %N.8-oldapi-gfortran << GCC: 4.0 BuildDependsOnly: True PatchScript: << %{default_script} perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure cp config/powerpc-apple config/i686-apple cp fortran/config/powerpc-apple fortran/config/i686-apple cp config/powerpc-apple config/x86_64-apple cp fortran/config/powerpc-apple fortran/config/x86_64-apple # obsolete use of sort perl -pi -e 's,sort \+2,sort -k 2,' bin/ltmain.sh ### don't put things into %p/doc perl -pi -e 's|exec_prefix\@/doc|exec_prefix@/share/doc|g' config/commence.in c++/config/commence.in fortran/config/commence.in << PatchFile: %n.patch PatchFile-MD5: e51d36a1cc6aefaa0235f3a61abac1a2 ConfigureParams: << --enable-cxx --without-ssl --with-zlib --without-mpe --without-pablo --with-szlib \ --without-gass --without-srb --without-pthread --enable-fortran --disable-parallel << License: OSI-Approved InfoTest: << TestScript: make check || exit 2 << SetLDFLAGS: -Wl,-dead_strip_dylibs CompileScript: << #!/bin/sh -ev export F9X=%p/bin/gfortran export FFLAGS='-fsecond-underscore' export LIBS='-lsz' /usr/bin/autoreconf -fi if [ "%m" = "x86_64" ]; then ./configure %c --build=%m-apple-darwin`uname -r|cut -f1 -d.` --host=%m-apple-darwin`uname -r|cut -f1 -d.` else ./configure %c fi make << InstallScript: make install docdir=%i/share/doc DESTDIR=%d SplitOff: << Package: %N-shlibs Replaces: %N (<= 1.4.2-3) Depends: szip-shlibs (>= 2.0-2) Files: << lib/libhdf5.*.dylib lib/libhdf5_hl.*.dylib << Shlibs: << %p/lib/libhdf5.0.dylib 1.0.0 %n (>= 1.4.5-12) %p/lib/libhdf5_hl.0.dylib 1.0.0 %n (>= 1.6.4-3) << DocFiles: COPYING README.txt release_docs/INSTALL release_docs/RELEASE.txt release_docs/HISTORY.txt << SplitOff2: << Package: %N-bin Depends: %N-shlibs (= %v-%r) Replaces: %N (<= 1.4.2-3), %N-18-bin, %N.7-bin, %N.7-oldapi-bin, %N.8-bin, %N.8-oldapi-bin Conflicts: %N-18-bin, %N.7-bin, %N.7-oldapi-bin, %N.8-bin, %N.8-oldapi-bin Files: bin DocFiles: COPYING README.txt release_docs/INSTALL release_docs/RELEASE.txt release_docs/HISTORY.txt << DocFiles: COPYING README.txt release_docs/INSTALL release_docs/RELEASE.txt release_docs/HISTORY.txt Homepage: http://www.hdfgroup.org/HDF5/index.html Maintainer: Alexander Hansen