Accepting request 648226 from home:eeich:branches:science

- Create main master package, fix dependencies.

OBS-URL: https://build.opensuse.org/request/show/648226
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=84
This commit is contained in:
Egbert Eich 2018-11-11 14:48:21 +00:00 committed by Git OBS Bridge
parent 5daaa9f016
commit 67691f34f4
2 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 11 12:15:14 UTC 2018 - eich@suse.com
- Create main master package, fix dependencies.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 21 14:50:12 UTC 2018 - Stefan Brüns <stefan.bruens@rwth-aachen.de> Fri Sep 21 14:50:12 UTC 2018 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -241,6 +241,12 @@ Requires: lib%{pname}_hl%{sonum_HL} = %{version}
Requires: lib%{pname}hl_fortran%{sonum_HL_F} = %{version} Requires: lib%{pname}hl_fortran%{sonum_HL_F} = %{version}
%else # hpc %else # hpc
%hpc_requires %hpc_requires
Requires: %{libname -l _cpp}
Requires: %{libname -l _fortran}
Requires: %{libname -l _hl_cpp}
Requires: %{libname -l _hl}
Requires: %{libname -l hl_fortran}
Requires: %{libname}
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
BuildRequires: lua-lmod BuildRequires: lua-lmod
BuildRequires: suse-hpc >= 0.2 BuildRequires: suse-hpc >= 0.2
@ -254,16 +260,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
HDF5 is a data model, library, and file format for storing and HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes. managing data. It supports an unlimited variety of datatypes.
This package contains the %{flavor} version utility functions for working This package contains the %{flavor} version utility functions for working
with HDF5 files. with HDF5 files.
%{?with_hpc:%{hpc_master_package}}
%package -n %{libname -s %{sonum}} %package -n %{libname -s %{sonum}}
Summary: Shared libraries for the HDF5 scientific data format Summary: Shared libraries for the HDF5 scientific data format
# To avoid unresolvable errors due to multiple providers of the library # To avoid unresolvable errors due to multiple providers of the library
Group: System/Libraries Group: System/Libraries
Provides: %{libname} = %{version} Provides: %{libname} = %{version}
Obsoletes: %{libname} < %{version} Obsoletes: %{libname} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
%{?with_hpc:Requires: %{name}-module = %version} %{?with_hpc:Requires: %{name}-module = %version}
%description -n %{libname -s %{sonum}} %description -n %{libname -s %{sonum}}
@ -280,7 +287,6 @@ Summary: High-level shared libraries for the HDF5 scientific data format
Group: System/Libraries Group: System/Libraries
Provides: %{libname -l _hl} = %{version} Provides: %{libname -l _hl} = %{version}
Obsoletes: %{libname -l _hl} < %{version} Obsoletes: %{libname -l _hl} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
%{?with_hpc:Requires: %{name}-module = %version} %{?with_hpc:Requires: %{name}-module = %version}
%description -n %{libname -l _hl -s %{sonum_HL}} %description -n %{libname -l _hl -s %{sonum_HL}}
@ -298,7 +304,6 @@ Summary: Shared libraries for the HDF5 scientific data format
Group: System/Libraries Group: System/Libraries
Provides: %{libname -l _cpp} = %{version} Provides: %{libname -l _cpp} = %{version}
Obsoletes: %{libname -l _cpp} < %{version} Obsoletes: %{libname -l _cpp} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
%{?with_hpc:Requires: %{name}-module = %version} %{?with_hpc:Requires: %{name}-module = %version}
%description -n %{libname -l _cpp -s %{sonum_CXX}} %description -n %{libname -l _cpp -s %{sonum_CXX}}
@ -315,7 +320,6 @@ Summary: High-level shared libraries for the HDF5 scientific data format
Group: System/Libraries Group: System/Libraries
Provides: %{libname -l _hl_cpp} = %{version} Provides: %{libname -l _hl_cpp} = %{version}
Obsoletes: %{libname -l _hl_cpp} < %{version} Obsoletes: %{libname -l _hl_cpp} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
%{?with_hpc:Requires: %{name}-module = %version} %{?with_hpc:Requires: %{name}-module = %version}
%description -n %{libname -l _hl_cpp -s %{sonum_HL_CXX}} %description -n %{libname -l _hl_cpp -s %{sonum_HL_CXX}}
@ -332,7 +336,6 @@ Summary: Shared libraries for the HDF5 scientific data format
Group: System/Libraries Group: System/Libraries
Provides: %{libname -l _fortran} = %{version} Provides: %{libname -l _fortran} = %{version}
Obsoletes: %{libname -l _fortran} < %{version} Obsoletes: %{libname -l _fortran} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
%{?with_hpc:Requires: %{name}-module = %version} %{?with_hpc:Requires: %{name}-module = %version}
%description -n %{libname -l _fortran -s %{sonum_F}} %description -n %{libname -l _fortran -s %{sonum_F}}
@ -349,7 +352,6 @@ Summary: High-level shared libraries for the HDF5 scientific data format
Group: System/Libraries Group: System/Libraries
Provides: %{libname -l hl_fortran} = %{version} Provides: %{libname -l hl_fortran} = %{version}
Obsoletes: %{libname -l hl_fortran} < %{version} Obsoletes: %{libname -l hl_fortran} < %{version}
%{?with_hpc:Provides: libhdf5%{?with_mpi:-%{mpi_flavor}}-hpc = %{version}}
%{?with_hpc:Requires: %{name}-module = %version} %{?with_hpc:Requires: %{name}-module = %version}
%description -n %{libname -l hl_fortran -s %{sonum_HL_F}} %description -n %{libname -l hl_fortran -s %{sonum_HL_F}}
@ -428,6 +430,7 @@ This package provides examples of HDF5 library use.
Summary: Module files for %{name} Summary: Module files for %{name}
Group: Development/Libraries/Parallel Group: Development/Libraries/Parallel
Provides: %{name}-module = %version Provides: %{name}-module = %version
Requires: lua-lmod
%description module %description module
HDF5 is a data model, library, and file format for storing and HDF5 is a data model, library, and file format for storing and