Accepting request 415427 from science:unstable

version update

OBS-URL: https://build.opensuse.org/request/show/415427
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=31
This commit is contained in:
Matthias Mailänder
2016-07-27 17:24:50 +00:00
committed by Git OBS Bridge
parent a7997d7351
commit d4b81c5dac
10 changed files with 100 additions and 92 deletions

View File

@@ -27,22 +27,22 @@
# TODO: The so numbers autodetected by update_so_version.sh
# do not match the so numbers that are actually buit.
%define sonum 10
%define sonum_CXX 12
%define sonum_F 10
%define sonum_HL 10
%define sonum_HL_CXX 11
%define sonum_HL_F 10
%define sonum_TOOLS 10
%define sonum 100
%define sonum_CXX 100
%define sonum_F 100
%define sonum_HL 100
%define sonum_HL_CXX 100
%define sonum_HL_F 100
%define sonum_TOOLS 100
Name: hdf5
Version: 1.8.17
Version: 1.10.0
Release: 0
Summary: Command-line programs for the HDF5 scientific data format
License: BSD-3-Clause
Group: Productivity/Scientific/Other
Url: http://www.hdfgroup.org/HDF5/
Source0: http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-%{version}/src/hdf5-%{version}.tar.bz2
Source0: http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-%{version}/src/hdf5-%{version}-patch1.tar.bz2
Source1000: baselibs.conf
Source1001: baselibs.conf.in
Source1002: update_so_version.sh
@@ -765,7 +765,7 @@ processing, visualization, and archiving.
This package provides examples of HDF5 library use.
%prep
%setup -q
%setup -q -n %name-%version-patch1
%patch0 -p1 -b .LD_LIBRARY_PATH
%patch1 -p0 -b .non_void_return
%patch2 -p0 -b .abort_unknown_host_config
@@ -816,7 +816,7 @@ pushd build
--enable-shared \
--enable-cxx \
--enable-threadsafe \
--enable-production \
--enable-build-mode=production \
--with-pthread
make V=1 %{?_smp_mflags}
@@ -845,7 +845,7 @@ export LD_LIBRARY_PATH="%{_libdir}/mpi/gcc/$mpi/%_lib"
--enable-shared \
--enable-threadsafe \
--enable-parallel \
--enable-production \
--enable-build-mode=production \
--with-pthread
make %{?_smp_mflags}
@@ -940,10 +940,12 @@ done
%defattr(-,root,root)
%{_bindir}/gif2h5
%{_bindir}/h52gif
%{_bindir}/h5clear
%{_bindir}/h5copy
%{_bindir}/h5debug
%{_bindir}/h5diff
%{_bindir}/h5dump
%{_bindir}/h5format_convert
%{_bindir}/h5import
%{_bindir}/h5jam
%{_bindir}/h5ls
@@ -954,12 +956,12 @@ done
%{_bindir}/h5repart
%{_bindir}/h5stat
%{_bindir}/h5unjam
%{_bindir}/h5watch
%files -n libhdf5-%{sonum}
%defattr(-,root,root)
%doc COPYING ACKNOWLEDGMENTS README.txt
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt
%doc release_docs/HISTORY-1_8.txt
%doc release_docs/HISTORY-1_8_0-1_10_0.txt
%doc release_docs/RELEASE.txt
%defattr(0755,root,root)
%{_libdir}/libhdf5.so.%{sonum}
@@ -1006,6 +1008,9 @@ done
%files devel
%defattr(-,root,root)
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt
%doc release_docs/RELEASE.txt
%doc ACKNOWLEDGMENTS README.txt
%{_bindir}/h5c++
%{_bindir}/h5cc
%{_bindir}/h5fc
@@ -1027,10 +1032,12 @@ done
%defattr(-,root,root)
%{_libdir}/mpi/gcc/openmpi/bin/gif2h5
%{_libdir}/mpi/gcc/openmpi/bin/h52gif
%{_libdir}/mpi/gcc/openmpi/bin/h5clear
%{_libdir}/mpi/gcc/openmpi/bin/h5copy
%{_libdir}/mpi/gcc/openmpi/bin/h5debug
%{_libdir}/mpi/gcc/openmpi/bin/h5diff
%{_libdir}/mpi/gcc/openmpi/bin/h5dump
%{_libdir}/mpi/gcc/openmpi/bin/h5format_convert
%{_libdir}/mpi/gcc/openmpi/bin/h5import
%{_libdir}/mpi/gcc/openmpi/bin/h5jam
%{_libdir}/mpi/gcc/openmpi/bin/h5ls
@@ -1043,13 +1050,11 @@ done
%{_libdir}/mpi/gcc/openmpi/bin/h5stat
%{_libdir}/mpi/gcc/openmpi/bin/h5unjam
%{_libdir}/mpi/gcc/openmpi/bin/ph5diff
%{_libdir}/mpi/gcc/openmpi/bin/h5watch
%files -n libhdf5-%{sonum}-openmpi
%defattr(-,root,root)
%doc COPYING ACKNOWLEDGMENTS README.txt
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt
%doc release_docs/HISTORY-1_8.txt
%doc release_docs/RELEASE.txt
%defattr(0755,root,root)
%{_libdir}/mpi/gcc/openmpi/%{_lib}/libhdf5.so.%{sonum}
%{_libdir}/mpi/gcc/openmpi/%{_lib}/libhdf5.so.%{sonum}.*
@@ -1113,10 +1118,7 @@ done
%files -n libhdf5-%{sonum}-mvapich2
%defattr(-,root,root)
%doc COPYING ACKNOWLEDGMENTS README.txt
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt
%doc release_docs/HISTORY-1_8.txt
%doc release_docs/RELEASE.txt
%doc COPYING
%defattr(0755,root,root)
%{_libdir}/mpi/gcc/mvapich2/%{_lib}/libhdf5.so.%{sonum}
%{_libdir}/mpi/gcc/mvapich2/%{_lib}/libhdf5.so.%{sonum}.*