|
|
@ -1,43 +1,49 @@
|
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# No more Java on i686
|
|
|
|
|
|
|
|
%ifarch %{java_arches}
|
|
|
|
|
|
|
|
%bcond_without java
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_with java
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Patch version?
|
|
|
|
# Patch version?
|
|
|
|
#global snaprel -beta
|
|
|
|
#global snaprel -beta
|
|
|
|
|
|
|
|
|
|
|
|
## WARNING: Wait for netcdf 4.8.0 !
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# NOTE: Try not to release new versions to released versions of Fedora
|
|
|
|
# NOTE: Try not to release new versions to released versions of Fedora
|
|
|
|
# You need to recompile all users of HDF5 for each version change
|
|
|
|
# You need to recompile all users of HDF5 for each version change
|
|
|
|
Name: hdf5
|
|
|
|
Name: hdf5
|
|
|
|
Version: 1.12.1
|
|
|
|
Version: 1.14.5
|
|
|
|
Release: 7%{?dist}.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A general purpose library and file format for storing scientific data
|
|
|
|
Summary: A general purpose library and file format for storing scientific data
|
|
|
|
License: BSD
|
|
|
|
License: BSD-3-Clause
|
|
|
|
URL: https://portal.hdfgroup.org/display/HDF5/HDF5
|
|
|
|
URL: https://www.hdfgroup.org/solutions/hdf5/
|
|
|
|
|
|
|
|
Source0: https://github.com/HDFGroup/hdf5/archive/hdf5_%{version}/hdf5-%{version}.tar.gz
|
|
|
|
%global version_main %(echo %version | cut -d. -f-2)
|
|
|
|
|
|
|
|
Source0: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%{version_main}/hdf5-%{version}/src/hdf5-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global so_version 200
|
|
|
|
%global so_version 310
|
|
|
|
|
|
|
|
|
|
|
|
Source1: h5comp
|
|
|
|
Source1: h5comp
|
|
|
|
# For man pages
|
|
|
|
# For man pages
|
|
|
|
Source2: http://ftp.us.debian.org/debian/pool/main/h/hdf5/hdf5_1.12.0+repack-1~exp2.debian.tar.xz
|
|
|
|
Source2: http://ftp.us.debian.org/debian/pool/main/h/hdf5/hdf5_1.14.4.3+repack-1~exp3.debian.tar.xz
|
|
|
|
Patch0: hdf5-LD_LIBRARY_PATH.patch
|
|
|
|
|
|
|
|
# Fix fortran build with gcc 12
|
|
|
|
|
|
|
|
# https://github.com/HDFGroup/hdf5/pull/1412
|
|
|
|
|
|
|
|
Patch1: hdf5-gfortran12.patch
|
|
|
|
|
|
|
|
# Fix java build
|
|
|
|
# Fix java build
|
|
|
|
Patch3: hdf5-build.patch
|
|
|
|
Patch0: hdf5-build.patch
|
|
|
|
|
|
|
|
# Get size of __float128
|
|
|
|
|
|
|
|
# https://github.com/HDFGroup/hdf5/pull/4924
|
|
|
|
|
|
|
|
Patch1: hdf5-float128.patch
|
|
|
|
# Remove Fedora build flags from h5cc/h5c++/h5fc
|
|
|
|
# Remove Fedora build flags from h5cc/h5c++/h5fc
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1794625
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1794625
|
|
|
|
Patch5: hdf5-wrappers.patch
|
|
|
|
Patch2: hdf5-wrappers.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-gfortran
|
|
|
|
BuildRequires: gcc-gfortran
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
BuildRequires: java-devel
|
|
|
|
BuildRequires: java-devel
|
|
|
|
BuildRequires: javapackages-tools
|
|
|
|
BuildRequires: javapackages-tools
|
|
|
|
BuildRequires: hamcrest
|
|
|
|
BuildRequires: hamcrest
|
|
|
|
BuildRequires: junit
|
|
|
|
BuildRequires: junit
|
|
|
|
BuildRequires: slf4j
|
|
|
|
BuildRequires: slf4j
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
Obsoletes: java-hdf5 < %{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: time
|
|
|
|
BuildRequires: time
|
|
|
@ -50,9 +56,18 @@ BuildRequires: libtool
|
|
|
|
BuildRequires: openssh-clients
|
|
|
|
BuildRequires: openssh-clients
|
|
|
|
BuildRequires: libaec-devel
|
|
|
|
BuildRequires: libaec-devel
|
|
|
|
BuildRequires: gcc, gcc-c++
|
|
|
|
BuildRequires: gcc, gcc-c++
|
|
|
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
|
|
|
|
|
|
|
%global with_mpich 1
|
|
|
|
%global with_mpich %{undefined flatpak}
|
|
|
|
%global with_openmpi 1
|
|
|
|
%if 0%{?fedora} >= 40
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
|
|
|
%global with_openmpi 0
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global with_openmpi %{undefined flatpak}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global with_openmpi %{undefined flatpak}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mpich}
|
|
|
|
%if %{with_mpich}
|
|
|
|
%global mpi_list mpich
|
|
|
|
%global mpi_list mpich
|
|
|
@ -81,6 +96,7 @@ Requires: gcc-gfortran%{?_isa}
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
HDF5 development headers and libraries.
|
|
|
|
HDF5 development headers and libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
%package -n java-hdf5
|
|
|
|
%package -n java-hdf5
|
|
|
|
Summary: HDF5 java library
|
|
|
|
Summary: HDF5 java library
|
|
|
|
Requires: slf4j
|
|
|
|
Requires: slf4j
|
|
|
@ -88,6 +104,7 @@ Obsoletes: jhdf5 < 3.3.2^
|
|
|
|
|
|
|
|
|
|
|
|
%description -n java-hdf5
|
|
|
|
%description -n java-hdf5
|
|
|
|
HDF5 java library
|
|
|
|
HDF5 java library
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%package static
|
|
|
|
%package static
|
|
|
|
Summary: HDF5 static libraries
|
|
|
|
Summary: HDF5 static libraries
|
|
|
@ -163,33 +180,36 @@ HDF5 parallel openmpi static libraries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -a 2 -n %{name}-%{version}%{?snaprel} -p1
|
|
|
|
%autosetup -a 2 -n %{name}-%{name}_%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
# Replace jars with system versions
|
|
|
|
# Replace jars with system versions
|
|
|
|
# hamcrest-core is obsoleted in hamcrest-2.2
|
|
|
|
# hamcrest-core is obsoleted in hamcrest-2.2
|
|
|
|
# Junit tests are failing with junit-4.13.1
|
|
|
|
# Junit tests are failing with junit-4.13.1
|
|
|
|
%if 0%{?rhel} >= 9 || 0%{?fedora} > 34
|
|
|
|
%if 0%{?rhel} >= 9 || 0%{?fedora}
|
|
|
|
find . ! -name junit.jar -name "*.jar" -delete
|
|
|
|
find . ! -name junit.jar -name "*.jar" -delete
|
|
|
|
ln -s %{_javadir}/hamcrest/hamcrest.jar java/lib/hamcrest-core.jar
|
|
|
|
ln -s $(build-classpath hamcrest) java/lib/hamcrest-core.jar
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
find . -name "*.jar" -delete
|
|
|
|
find . -name "*.jar" -delete
|
|
|
|
ln -s %{_javadir}/hamcrest/core.jar java/lib/hamcrest-core.jar
|
|
|
|
ln -s $(build-classpath hamcrest/core) java/lib/hamcrest-core.jar
|
|
|
|
ln -s %{_javadir}/junit.jar java/lib/junit.jar
|
|
|
|
ln -s $(build-classpath junit) java/lib/junit.jar
|
|
|
|
# Fix test output
|
|
|
|
# Fix test output
|
|
|
|
junit_ver=$(sed -n '/<version>/{s/^.*>\([0-9]\.[0-9.]*\)<.*/\1/;p;q}' /usr/share/maven-poms/junit.pom)
|
|
|
|
junit_ver=$(sed -n '/<version>/{s/^.*>\([0-9]\.[0-9.]*\)<.*/\1/;p;q}' /usr/share/maven-poms/junit.pom)
|
|
|
|
sed -i -e "s/JUnit version .*/JUnit version $junit_ver/" java/test/testfiles/JUnit-*.txt
|
|
|
|
sed -i -e "s/JUnit version .*/JUnit version $junit_ver/" java/test/testfiles/JUnit-*.txt
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
ln -s %{_javadir}/slf4j/api.jar java/lib/slf4j-api-1.7.25.jar
|
|
|
|
ln -s $(build-classpath slf4j/api) java/lib/slf4j-api-2.0.6.jar
|
|
|
|
ln -s %{_javadir}/slf4j/nop.jar java/lib/ext/slf4j-nop-1.7.25.jar
|
|
|
|
ln -s $(build-classpath slf4j/nop) java/lib/ext/slf4j-nop-2.0.6.jar
|
|
|
|
ln -s %{_javadir}/slf4j/simple.jar java/lib/ext/slf4j-simple-1.7.25.jar
|
|
|
|
ln -s $(build-classpath slf4j/simple) java/lib/ext/slf4j-simple-2.0.6.jar
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Force shared by default for compiler wrappers (bug #1266645)
|
|
|
|
# Force shared by default for compiler wrappers (bug #1266645)
|
|
|
|
sed -i -e '/^STATIC_AVAILABLE=/s/=.*/=no/' */*/h5[cf]*.in
|
|
|
|
sed -i -e '/^STATIC_AVAILABLE=/s/=.*/=no/' */*/h5[cf]*.in
|
|
|
|
autoreconf -f -i
|
|
|
|
sh ./autogen.sh
|
|
|
|
|
|
|
|
|
|
|
|
# Modify low optimization level for gnu compilers
|
|
|
|
# Modify low optimization level for gnu compilers
|
|
|
|
sed -e 's|-O -finline-functions|-O3 -finline-functions|g' -i config/gnu-flags
|
|
|
|
sed -e 's|-O -finline-functions|-O3 -finline-functions|g' -i config/gnu-flags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
#Do out of tree builds
|
|
|
|
#Do out of tree builds
|
|
|
|
%global _configure ../configure
|
|
|
|
%global _configure ../configure
|
|
|
@ -216,7 +236,10 @@ ln -s ../configure .
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
%{configure_opts} \
|
|
|
|
%{configure_opts} \
|
|
|
|
--enable-cxx \
|
|
|
|
--enable-cxx \
|
|
|
|
--enable-java
|
|
|
|
%if %{with java}
|
|
|
|
|
|
|
|
--enable-java \
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
--with-default-plugindir=%{_libdir}/hdf5/plugin
|
|
|
|
sed -i -e 's| -shared | -Wl,--as-needed\0|g' libtool
|
|
|
|
sed -i -e 's| -shared | -Wl,--as-needed\0|g' libtool
|
|
|
|
sed -r -i 's|^prefix=/usr|prefix=%{buildroot}/usr|' java/test/junit.sh
|
|
|
|
sed -r -i 's|^prefix=/usr|prefix=%{buildroot}/usr|' java/test/junit.sh
|
|
|
|
%make_build LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed"
|
|
|
|
%make_build LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed"
|
|
|
@ -241,7 +264,8 @@ do
|
|
|
|
--sbindir=%{_libdir}/$mpi/sbin \
|
|
|
|
--sbindir=%{_libdir}/$mpi/sbin \
|
|
|
|
--includedir=%{_includedir}/$mpi-%{_arch} \
|
|
|
|
--includedir=%{_includedir}/$mpi-%{_arch} \
|
|
|
|
--datarootdir=%{_libdir}/$mpi/share \
|
|
|
|
--datarootdir=%{_libdir}/$mpi/share \
|
|
|
|
--mandir=%{_libdir}/$mpi/share/man
|
|
|
|
--mandir=%{_libdir}/$mpi/share/man \
|
|
|
|
|
|
|
|
--with-default-plugindir=%{_libdir}/$mpi/hdf5/plugin
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
%make_build LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed"
|
|
|
|
%make_build LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed"
|
|
|
|
module purge
|
|
|
|
module purge
|
|
|
@ -252,25 +276,27 @@ done
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install -C build
|
|
|
|
%make_install -C build
|
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
|
|
|
#Fortran modules
|
|
|
|
# Fortran modules
|
|
|
|
mkdir -p %{buildroot}%{_fmoddir}
|
|
|
|
mkdir -p %{buildroot}%{_fmoddir}
|
|
|
|
mv %{buildroot}%{_includedir}/*.mod %{buildroot}%{_fmoddir}
|
|
|
|
mv %{buildroot}%{_includedir}/*.mod %{buildroot}%{_fmoddir}
|
|
|
|
# Fix fortran module include dir https://bugzilla.redhat.com/show_bug.cgi?id=1971826
|
|
|
|
# Fix fortran module include dir https://bugzilla.redhat.com/show_bug.cgi?id=1971826
|
|
|
|
sed -i -e 's,%{_includedir},%{_fmoddir},' %{buildroot}%{_bindir}/h5fc
|
|
|
|
sed -i -e 's,%{_includedir},%{_fmoddir},' %{buildroot}%{_bindir}/h5fc
|
|
|
|
|
|
|
|
# Plugin directory
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/hdf5/plugin
|
|
|
|
for mpi in %{?mpi_list}
|
|
|
|
for mpi in %{?mpi_list}
|
|
|
|
do
|
|
|
|
do
|
|
|
|
module load mpi/$mpi-%{_arch}
|
|
|
|
module load mpi/$mpi-%{_arch}
|
|
|
|
%make_install -C $mpi
|
|
|
|
%make_install -C $mpi
|
|
|
|
rm %{buildroot}/%{_libdir}/$mpi/lib/*.la
|
|
|
|
rm %{buildroot}/%{_libdir}/$mpi/lib/*.la
|
|
|
|
#Fortran modules
|
|
|
|
# Fortran modules
|
|
|
|
mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR}
|
|
|
|
mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR}
|
|
|
|
mv %{buildroot}%{_includedir}/${mpi}-%{_arch}/*.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/
|
|
|
|
mv %{buildroot}%{_includedir}/${mpi}-%{_arch}/*.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/
|
|
|
|
# Fix fortran module include dir https://bugzilla.redhat.com/show_bug.cgi?id=1971826
|
|
|
|
# Fix fortran module include dir https://bugzilla.redhat.com/show_bug.cgi?id=1971826
|
|
|
|
sed -i -e "s,%{_includedir},${MPI_FORTRAN_MOD_DIR}," %{buildroot}%{_libdir}/$mpi/bin/h5pfc
|
|
|
|
sed -i -e "s,%{_includedir},${MPI_FORTRAN_MOD_DIR}," %{buildroot}%{_libdir}/$mpi/bin/h5pfc
|
|
|
|
|
|
|
|
# Plugin directory
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/$mpi/hdf5/plugin
|
|
|
|
module purge
|
|
|
|
module purge
|
|
|
|
done
|
|
|
|
done
|
|
|
|
#Fixup example permissions
|
|
|
|
|
|
|
|
find %{buildroot}%{_datadir} \( -name '*.[ch]*' -o -name '*.f90' \) -exec chmod -x {} +
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Fixup headers and scripts for multiarch
|
|
|
|
#Fixup headers and scripts for multiarch
|
|
|
|
%ifarch x86_64 ppc64 ia64 s390x sparc64 alpha
|
|
|
|
%ifarch x86_64 ppc64 ia64 s390x sparc64 alpha
|
|
|
@ -304,6 +330,7 @@ EOF
|
|
|
|
# Install man pages from debian
|
|
|
|
# Install man pages from debian
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
cp -p debian/man/*.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
cp -p debian/man/*.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
|
|
|
|
rm %{buildroot}%{_mandir}/man1/*gif*
|
|
|
|
for mpi in %{?mpi_list}
|
|
|
|
for mpi in %{?mpi_list}
|
|
|
|
do
|
|
|
|
do
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/$mpi/share/man/man1
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/$mpi/share/man/man1
|
|
|
@ -311,32 +338,41 @@ do
|
|
|
|
done
|
|
|
|
done
|
|
|
|
rm %{buildroot}%{_mandir}/man1/h5p[cf]c*.1
|
|
|
|
rm %{buildroot}%{_mandir}/man1/h5p[cf]c*.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
# Java
|
|
|
|
# Java
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
|
|
mv %{buildroot}%{_libdir}/libhdf5_java.so %{buildroot}%{_libdir}/%{name}/
|
|
|
|
mv %{buildroot}%{_libdir}/libhdf5_java.so %{buildroot}%{_libdir}/%{name}/
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# s390x: Testing inserting objects to create first direct block in recursive indirect blocks five levels deep*FAILED*
|
|
|
|
%ifarch %{ix86} riscv64 s390x
|
|
|
|
%ifarch s390x
|
|
|
|
# i686: t_bigio test segfaults - https://github.com/HDFGroup/hdf5/issues/2510
|
|
|
|
|
|
|
|
# riscv64: test failed https://github.com/HDFGroup/hdf5/issues/4056
|
|
|
|
|
|
|
|
# s390x t_mpi fails with mpich
|
|
|
|
make -C build check || :
|
|
|
|
make -C build check || :
|
|
|
|
|
|
|
|
fail=0
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
make -C build check
|
|
|
|
make -C build check
|
|
|
|
|
|
|
|
fail=1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# This will preserve generated .c files on errors if needed
|
|
|
|
#export HDF5_Make_Ignore=yes
|
|
|
|
#export HDF5_Make_Ignore=yes
|
|
|
|
export OMPI_MCA_rmaps_base_oversubscribe=1
|
|
|
|
export OMPI_MCA_rmaps_base_oversubscribe=1
|
|
|
|
# openmpi 5+
|
|
|
|
# openmpi 5+
|
|
|
|
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
|
|
|
|
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
|
|
|
|
|
|
|
|
# mpich test is taking longer
|
|
|
|
|
|
|
|
export HDF5_ALARM_SECONDS=8000
|
|
|
|
for mpi in %{?mpi_list}
|
|
|
|
for mpi in %{?mpi_list}
|
|
|
|
do
|
|
|
|
do
|
|
|
|
|
|
|
|
# t_pmulti_dset hangs sometimes with mpich-aarch64 so do not test on that architecture
|
|
|
|
|
|
|
|
# https://github.com/HDFGroup/hdf5/issues/3768
|
|
|
|
|
|
|
|
if [ "$mpi-%{_arch}" != mpich-aarch64 ]
|
|
|
|
|
|
|
|
then
|
|
|
|
module load mpi/$mpi-%{_arch}
|
|
|
|
module load mpi/$mpi-%{_arch}
|
|
|
|
# i686 & s390x mpich - testphdf5: malloc.c:4189: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
|
|
|
|
make -C $mpi check || exit $fail
|
|
|
|
%ifarch armv7hl %{ix86} s390x
|
|
|
|
|
|
|
|
make -C $mpi check || :
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
# Getting extraneous but hopefully harmless UCX output with openmpi
|
|
|
|
|
|
|
|
make -C $mpi check || :
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
module purge
|
|
|
|
module purge
|
|
|
|
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
# I have no idea why those get installed. But it's easier to just
|
|
|
|
# I have no idea why those get installed. But it's easier to just
|
|
|
@ -350,20 +386,19 @@ if [ %_libdir != /usr/lib ]; then
|
|
|
|
%{buildroot}/usr/lib/libhdf5*
|
|
|
|
%{buildroot}/usr/lib/libhdf5*
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc MANIFEST README.txt release_docs/RELEASE.txt
|
|
|
|
%doc ACKNOWLEDGMENTS README.md release_docs/RELEASE.txt
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
%{_bindir}/gif2h5
|
|
|
|
|
|
|
|
%{_bindir}/h52gif
|
|
|
|
|
|
|
|
%{_bindir}/h5clear
|
|
|
|
%{_bindir}/h5clear
|
|
|
|
%{_bindir}/h5copy
|
|
|
|
%{_bindir}/h5copy
|
|
|
|
%{_bindir}/h5debug
|
|
|
|
%{_bindir}/h5debug
|
|
|
|
%{_bindir}/h5diff
|
|
|
|
%{_bindir}/h5diff
|
|
|
|
|
|
|
|
%{_bindir}/h5delete
|
|
|
|
%{_bindir}/h5dump
|
|
|
|
%{_bindir}/h5dump
|
|
|
|
%{_bindir}/h5format_convert
|
|
|
|
%{_bindir}/h5format_convert
|
|
|
|
|
|
|
|
%{_bindir}/h5fuse
|
|
|
|
%{_bindir}/h5import
|
|
|
|
%{_bindir}/h5import
|
|
|
|
%{_bindir}/h5jam
|
|
|
|
%{_bindir}/h5jam
|
|
|
|
%{_bindir}/h5ls
|
|
|
|
%{_bindir}/h5ls
|
|
|
@ -374,16 +409,12 @@ fi
|
|
|
|
%{_bindir}/h5stat
|
|
|
|
%{_bindir}/h5stat
|
|
|
|
%{_bindir}/h5unjam
|
|
|
|
%{_bindir}/h5unjam
|
|
|
|
%{_bindir}/h5watch
|
|
|
|
%{_bindir}/h5watch
|
|
|
|
%{_bindir}/mirror_server
|
|
|
|
|
|
|
|
%{_bindir}/mirror_server_stop
|
|
|
|
|
|
|
|
%{_libdir}/libhdf5.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_cpp.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_cpp.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_fortran.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_fortran.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5hl_fortran.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5hl_fortran.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_hl.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_hl.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_hl_cpp.so.%{so_version}*
|
|
|
|
%{_libdir}/libhdf5_hl_cpp.so.%{so_version}*
|
|
|
|
%{_mandir}/man1/gif2h5.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/h52gif.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/h5copy.1*
|
|
|
|
%{_mandir}/man1/h5copy.1*
|
|
|
|
%{_mandir}/man1/h5diff.1*
|
|
|
|
%{_mandir}/man1/h5diff.1*
|
|
|
|
%{_mandir}/man1/h5dump.1*
|
|
|
|
%{_mandir}/man1/h5dump.1*
|
|
|
@ -404,10 +435,10 @@ fi
|
|
|
|
%{_bindir}/h5fc*
|
|
|
|
%{_bindir}/h5fc*
|
|
|
|
%{_bindir}/h5redeploy
|
|
|
|
%{_bindir}/h5redeploy
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
|
|
|
%{_includedir}/*.inc
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.settings
|
|
|
|
%{_libdir}/*.settings
|
|
|
|
%{_fmoddir}/*.mod
|
|
|
|
%{_fmoddir}/*.mod
|
|
|
|
%{_datadir}/hdf5_examples/
|
|
|
|
|
|
|
|
%{_mandir}/man1/h5c++.1*
|
|
|
|
%{_mandir}/man1/h5c++.1*
|
|
|
|
%{_mandir}/man1/h5cc.1*
|
|
|
|
%{_mandir}/man1/h5cc.1*
|
|
|
|
%{_mandir}/man1/h5debug.1*
|
|
|
|
%{_mandir}/man1/h5debug.1*
|
|
|
@ -417,23 +448,25 @@ fi
|
|
|
|
%files static
|
|
|
|
%files static
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with java}
|
|
|
|
%files -n java-hdf5
|
|
|
|
%files -n java-hdf5
|
|
|
|
%{_jnidir}/hdf5.jar
|
|
|
|
%{_jnidir}/hdf5.jar
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
%{_libdir}/%{name}/
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mpich}
|
|
|
|
%if %{with_mpich}
|
|
|
|
%files mpich
|
|
|
|
%files mpich
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc MANIFEST README.txt release_docs/RELEASE.txt
|
|
|
|
%doc README.md release_docs/RELEASE.txt
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
%{_libdir}/mpich/bin/gif2h5
|
|
|
|
|
|
|
|
%{_libdir}/mpich/bin/h52gif
|
|
|
|
|
|
|
|
%{_libdir}/mpich/bin/h5clear
|
|
|
|
%{_libdir}/mpich/bin/h5clear
|
|
|
|
%{_libdir}/mpich/bin/h5copy
|
|
|
|
%{_libdir}/mpich/bin/h5copy
|
|
|
|
%{_libdir}/mpich/bin/h5debug
|
|
|
|
%{_libdir}/mpich/bin/h5debug
|
|
|
|
|
|
|
|
%{_libdir}/mpich/bin/h5delete
|
|
|
|
%{_libdir}/mpich/bin/h5diff
|
|
|
|
%{_libdir}/mpich/bin/h5diff
|
|
|
|
%{_libdir}/mpich/bin/h5dump
|
|
|
|
%{_libdir}/mpich/bin/h5dump
|
|
|
|
%{_libdir}/mpich/bin/h5format_convert
|
|
|
|
%{_libdir}/mpich/bin/h5format_convert
|
|
|
|
|
|
|
|
%{_libdir}/mpich/bin/h5fuse
|
|
|
|
%{_libdir}/mpich/bin/h5import
|
|
|
|
%{_libdir}/mpich/bin/h5import
|
|
|
|
%{_libdir}/mpich/bin/h5jam
|
|
|
|
%{_libdir}/mpich/bin/h5jam
|
|
|
|
%{_libdir}/mpich/bin/h5ls
|
|
|
|
%{_libdir}/mpich/bin/h5ls
|
|
|
@ -446,9 +479,8 @@ fi
|
|
|
|
%{_libdir}/mpich/bin/h5stat
|
|
|
|
%{_libdir}/mpich/bin/h5stat
|
|
|
|
%{_libdir}/mpich/bin/h5unjam
|
|
|
|
%{_libdir}/mpich/bin/h5unjam
|
|
|
|
%{_libdir}/mpich/bin/h5watch
|
|
|
|
%{_libdir}/mpich/bin/h5watch
|
|
|
|
%{_libdir}/mpich/bin/mirror_server
|
|
|
|
|
|
|
|
%{_libdir}/mpich/bin/mirror_server_stop
|
|
|
|
|
|
|
|
%{_libdir}/mpich/bin/ph5diff
|
|
|
|
%{_libdir}/mpich/bin/ph5diff
|
|
|
|
|
|
|
|
%{_libdir}/mpich/hdf5/
|
|
|
|
%{_libdir}/mpich/lib/*.so.%{so_version}*
|
|
|
|
%{_libdir}/mpich/lib/*.so.%{so_version}*
|
|
|
|
|
|
|
|
|
|
|
|
%files mpich-devel
|
|
|
|
%files mpich-devel
|
|
|
@ -458,7 +490,6 @@ fi
|
|
|
|
%{_libdir}/mpich/bin/h5pfc
|
|
|
|
%{_libdir}/mpich/bin/h5pfc
|
|
|
|
%{_libdir}/mpich/lib/lib*.so
|
|
|
|
%{_libdir}/mpich/lib/lib*.so
|
|
|
|
%{_libdir}/mpich/lib/lib*.settings
|
|
|
|
%{_libdir}/mpich/lib/lib*.settings
|
|
|
|
%{_libdir}/mpich/share/hdf5_examples/
|
|
|
|
|
|
|
|
%{_libdir}/mpich/share/man/man1/h5pcc.1*
|
|
|
|
%{_libdir}/mpich/share/man/man1/h5pcc.1*
|
|
|
|
%{_libdir}/mpich/share/man/man1/h5pfc.1*
|
|
|
|
%{_libdir}/mpich/share/man/man1/h5pfc.1*
|
|
|
|
|
|
|
|
|
|
|
@ -469,16 +500,16 @@ fi
|
|
|
|
%if %{with_openmpi}
|
|
|
|
%if %{with_openmpi}
|
|
|
|
%files openmpi
|
|
|
|
%files openmpi
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc MANIFEST README.txt release_docs/RELEASE.txt
|
|
|
|
%doc README.md release_docs/RELEASE.txt
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
%doc release_docs/HISTORY*.txt
|
|
|
|
%{_libdir}/openmpi/bin/gif2h5
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/bin/h52gif
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/bin/h5clear
|
|
|
|
%{_libdir}/openmpi/bin/h5clear
|
|
|
|
%{_libdir}/openmpi/bin/h5copy
|
|
|
|
%{_libdir}/openmpi/bin/h5copy
|
|
|
|
%{_libdir}/openmpi/bin/h5debug
|
|
|
|
%{_libdir}/openmpi/bin/h5debug
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/bin/h5delete
|
|
|
|
%{_libdir}/openmpi/bin/h5diff
|
|
|
|
%{_libdir}/openmpi/bin/h5diff
|
|
|
|
%{_libdir}/openmpi/bin/h5dump
|
|
|
|
%{_libdir}/openmpi/bin/h5dump
|
|
|
|
%{_libdir}/openmpi/bin/h5format_convert
|
|
|
|
%{_libdir}/openmpi/bin/h5format_convert
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/bin/h5fuse
|
|
|
|
%{_libdir}/openmpi/bin/h5import
|
|
|
|
%{_libdir}/openmpi/bin/h5import
|
|
|
|
%{_libdir}/openmpi/bin/h5jam
|
|
|
|
%{_libdir}/openmpi/bin/h5jam
|
|
|
|
%{_libdir}/openmpi/bin/h5ls
|
|
|
|
%{_libdir}/openmpi/bin/h5ls
|
|
|
@ -491,9 +522,8 @@ fi
|
|
|
|
%{_libdir}/openmpi/bin/h5stat
|
|
|
|
%{_libdir}/openmpi/bin/h5stat
|
|
|
|
%{_libdir}/openmpi/bin/h5unjam
|
|
|
|
%{_libdir}/openmpi/bin/h5unjam
|
|
|
|
%{_libdir}/openmpi/bin/h5watch
|
|
|
|
%{_libdir}/openmpi/bin/h5watch
|
|
|
|
%{_libdir}/openmpi/bin/mirror_server
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/bin/mirror_server_stop
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/bin/ph5diff
|
|
|
|
%{_libdir}/openmpi/bin/ph5diff
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/hdf5/
|
|
|
|
%{_libdir}/openmpi/lib/*.so.%{so_version}*
|
|
|
|
%{_libdir}/openmpi/lib/*.so.%{so_version}*
|
|
|
|
|
|
|
|
|
|
|
|
%files openmpi-devel
|
|
|
|
%files openmpi-devel
|
|
|
@ -503,7 +533,6 @@ fi
|
|
|
|
%{_libdir}/openmpi/bin/h5pfc
|
|
|
|
%{_libdir}/openmpi/bin/h5pfc
|
|
|
|
%{_libdir}/openmpi/lib/lib*.so
|
|
|
|
%{_libdir}/openmpi/lib/lib*.so
|
|
|
|
%{_libdir}/openmpi/lib/lib*.settings
|
|
|
|
%{_libdir}/openmpi/lib/lib*.settings
|
|
|
|
%{_libdir}/openmpi/share/hdf5_examples/
|
|
|
|
|
|
|
|
%{_libdir}/openmpi/share/man/man1/h5pcc.1*
|
|
|
|
%{_libdir}/openmpi/share/man/man1/h5pcc.1*
|
|
|
|
%{_libdir}/openmpi/share/man/man1/h5pfc.1*
|
|
|
|
%{_libdir}/openmpi/share/man/man1/h5pfc.1*
|
|
|
|
|
|
|
|
|
|
|
@ -513,8 +542,54 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri May 27 2022 Orion Poplawski <orion@nwra.com> - 1.12.1-7.1
|
|
|
|
* Tue Dec 24 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 1.14.5-1
|
|
|
|
- Ignore openmpi test failure for now - should be harmless
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 02 2024 Orion Poplawski <orion@nwra.com> - 1.14.3-1
|
|
|
|
|
|
|
|
- Update to 1.14.5
|
|
|
|
|
|
|
|
- Use SPDX License tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 2 2024 Miroslav Suchý <msuchy@redhat.com> - 1.12.1-21
|
|
|
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-20
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 29 2024 Liu Yang <Yang.Liu.sn@gmail.com> - 1.12.1-19
|
|
|
|
|
|
|
|
- Disable failed tests for riscv64.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 1.12.1-18
|
|
|
|
|
|
|
|
- Rebuilt for java-21-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-17
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-16
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Oct 29 2023 Orion Poplawski <orion@nwra.com> - 1.12.1-15
|
|
|
|
|
|
|
|
- Rebuild for openmpi 5.0.0, drops support for i686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 26 2023 Orion Poplawski <orion@nwra.com> - 1.12.1-14
|
|
|
|
|
|
|
|
- Apply upstream fix for CVE-2021-37501 buffer overflow in h5dump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 11 2023 Florian Weimer <fweimer@redhat.com> - 1.12.1-12
|
|
|
|
|
|
|
|
- Apply upstream patch to fix C99 compatibility issue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 10 2022 Orion Poplawski <orion@nwra.com> - 1.12.1-9
|
|
|
|
|
|
|
|
- Drop java for i686 (bz#2104046)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 25 2022 Orion Poplawski <orion@nwra.com> - 1.12.1-8
|
|
|
|
|
|
|
|
- Define and create default plugin directory
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 9 2022 Orion Poplawski <orion@nwra.com> - 1.12.1-7
|
|
|
|
* Mon May 9 2022 Orion Poplawski <orion@nwra.com> - 1.12.1-7
|
|
|
|
- Fix fortran module include dir in h5fc (bz#1971826)
|
|
|
|
- Fix fortran module include dir in h5fc (bz#1971826)
|