Accepting request 319005 from home:TheBlackCat:branches:science

- Update subpackage groups
- Make subpackage summaries and descriptions more consistent
- Provide rpm macros for version identification
- Spec file cleanups

OBS-URL: https://build.opensuse.org/request/show/319005
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=7
This commit is contained in:
Todd R 2015-07-27 16:01:54 +00:00 committed by Git OBS Bridge
parent 423a45aab4
commit 23afd06433
2 changed files with 456 additions and 226 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 27 11:11:12 UTC 2015 - toddrme2178@gmail.com
- Update subpackage groups
- Make subpackage summaries and descriptions more consistent
- Provide rpm macros for version identification
- Spec file cleanups
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 27 10:06:49 UTC 2015 - toddrme2178@gmail.com Mon Jul 27 10:06:49 UTC 2015 - toddrme2178@gmail.com

672
hdf5.spec
View File

@ -16,9 +16,6 @@
# #
%define hdf5_libver 10
%define libname libhdf5
%if 0%{?sles_version} %if 0%{?sles_version}
%define _mvapich2 1 %define _mvapich2 1
%endif %endif
@ -29,11 +26,13 @@
%define _mpi %{?_openmpi:openmpi} %{?_mvapich2:mvapich2} %define _mpi %{?_openmpi:openmpi} %{?_mvapich2:mvapich2}
Name: hdf5 Name: hdf5
%define libname libhdf5
Version: 1.8.15 Version: 1.8.15
Release: 0 Release: 0
Summary: A general purpose library and file format for storing scientific data %define sonum 10
Summary: Command-line programs for the HDF5 scientific data format
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/Other Group: Productivity/Scientific/Other
Url: http://www.hdfgroup.org/HDF5/ 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}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
@ -62,227 +61,450 @@ BuildRequires: openmpi-devel
%if 0%{?_mvapich2} %if 0%{?_mvapich2}
BuildRequires: mvapich2-devel BuildRequires: mvapich2-devel
%endif %endif
Requires: %{libname}-%{hdf5_libver} = %{version} Requires: %{libname}-%{sonum} = %{version}
Requires: %{libname}_hl%{hdf5_libver} = %{version} Requires: %{libname}_hl%{sonum} = %{version}
%description %description
HDF5 is a general purpose library and file format for storing scientific data. HDF5 is a data model, library, and file format for storing and
HDF5 can store two primary objects: datasets and groups. A dataset is managing data. It supports an unlimited variety of datatypes, and
essentially a multidimensional array of data elements, and a group is a is designed for flexible and efficient I/O and for high volume and
structure for organizing objects in an HDF5 file. Using these two basic complex data. HDF5 is portable and is extensible, allowing
objects, one can create and store almost any kind of scientific data applications to evolve in their use of HDF5.
structure, such as images, arrays of vectors, and structured and unstructured
grids. You can also mix and match them in HDF5 files according to your needs.
%package -n %{libname}-%{hdf5_libver} The HDF5 technology suite is designed to organize, store, discover,
Summary: HDF 5 runtime libraries access, analyze, share, and preserve diverse, complex data in
Group: System/Libraries continuously evolving heterogeneous computing and storage environments.
%description -n %{libname}-%{hdf5_libver} HDF5 supports all types of data stored digitally, regardless of origin
The HDF project involves the development and support of software and or size. Petabytes of remote sensing data collected by satellites,
file formats for scientific data management. The HDF software includes terabytes of computational results from nuclear testing models, and
I/O libraries and tools for analyzing, visualizing, and converting megabytes of high-resolution MRI brain scans are stored in HDF5 files,
scientific data. together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains utility functions for working with HDF5 files.
%package -n %{name}-openmpi
Summary: Command-line programs for the HDF5 scientific data format
Group: Productivity/Scientific/Other
Requires: %{libname}-%{sonum}-openmpi = %{version}
Requires: %{libname}_hl%{sonum}-openmpi = %{version}
%description -n %{name}-openmpi
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the openmpi version utility functions for working
with HDF5 files.
%package -n %{name}-mvapich2
Summary: Command-line programs for the HDF5 scientific data format
Group: Productivity/Scientific/Other
Requires: %{libname}-%{sonum}-mvapich2 = %{version}
Requires: %{libname}_hl%{sonum}-mvapich2 = %{version}
%description -n %{name}-mvapich2
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the mvapich2 version utility functions for working
with HDF5 files.
%package -n %{libname}-%{sonum}
Summary: Shared libraries for the HDF5 scientific data format
Group: Productivity/Scientific/Other
%description -n %{libname}-%{sonum}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the HDF5 runtime libraries. This package contains the HDF5 runtime libraries.
%package -n %{libname}_hl%{hdf5_libver} %package -n %{libname}-%{sonum}-openmpi
Summary: HDF 5 runtimelibraries Summary: Shared libraries for the HDF5 scientific data format
Group: System/Libraries Group: Productivity/Scientific/Other
%description -n %{libname}_hl%{hdf5_libver} %description -n %{libname}-%{sonum}-openmpi
The HDF project involves the development and support of software and HDF5 is a data model, library, and file format for storing and
file formats for scientific data management. The HDF software includes managing data. It supports an unlimited variety of datatypes, and
I/O libraries and tools for analyzing, visualizing, and converting is designed for flexible and efficient I/O and for high volume and
scientific data. complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
This package contains the HDF 5 runtime libraries. The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the openmpi version of the HDF5 runtime libraries.
%package -n %{libname}-%{sonum}-mvapich2
Summary: Shared libraries for the HDF5 scientific data format
Group: Productivity/Scientific/Other
%description -n %{libname}-%{sonum}-mvapich2
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the mvapich2 version of the HDF5 runtime libraries.
%package -n %{libname}_hl%{sonum}
Summary: High-level shared libraries for the HDF5 scientific data format
Group: Productivity/Scientific/Other
%description -n %{libname}_hl%{sonum}
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the the high-level HDF5 runtime libraries.
%package -n %{libname}_hl%{sonum}-openmpi
Summary: High-level shared libraries for the HDF5 scientific data format
Group: Productivity/Scientific/Other
%description -n %{libname}_hl%{sonum}-openmpi
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the openmpi version of the high-level HDF5
runtime libraries.
%package -n %{libname}_hl%{sonum}-mvapich2
Summary: High-level shared libraries for the HDF5 scientific data format
Group: Productivity/Scientific/Other
%description -n %{libname}_hl%{sonum}-mvapich2
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains the mvapich2 version of the high-level HDF5
runtime libraries.
%package devel-data
Summary: Development data files for %{name}
Group: Development/Libraries/Other
%description devel-data
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains generic files needed to create projects that use
any version of HDF5.
%package devel %package devel
Summary: Hierarchical Data File Format Version 5 Summary: Development files for %{name}
Group: Development/Libraries/Parallel Group: Development/Libraries/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: %{name}-devel-data = %{version}
# Required by Fortran programs? # Required by Fortran programs?
Requires: %{libname}-%{hdf5_libver} = %{version} Requires: %{libname}-%{sonum} = %{version}
Requires: %{libname}_hl%{hdf5_libver} = %{version} Requires: %{libname}_hl%{sonum} = %{version}
%description devel %description devel
The HDF project involves the development and support of software and HDF5 is a data model, library, and file format for storing and
file formats for scientific data management. The HDF software includes managing data. It supports an unlimited variety of datatypes, and
I/O libraries and tools for analyzing, visualizing, and converting is designed for flexible and efficient I/O and for high volume and
scientific data. complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains all files needed to create projects that use This package contains all files needed to create projects that use
hdf5. HDF5.
%package openmpi-devel
Summary: Development files for %{name}-openmpi
Group: Development/Libraries/Parallel
Requires: %{name}-openmpi = %{version}
Requires: %{name}-devel-data = %{version}
# Required by Fortran programs?
Requires: %{libname}-%{sonum}-openmpi = %{version}
Requires: %{libname}_hl%{sonum}-openmpi = %{version}
%description openmpi-devel
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains all files needed to create projects that use
the openmpi version of HDF5.
%package mvapich2-devel
Summary: Development files for %{name}-mvapich2
Group: Development/Libraries/Parallel
Requires: %{name}-mvapich2 = %{version}
Requires: %{name}-devel-data = %{version}
# Required by Fortran programs?
Requires: %{libname}-%{sonum}-mvapich2 = %{version}
Requires: %{libname}_hl%{sonum}-mvapich2 = %{version}
%description mvapich2-devel
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package contains all files needed to create projects that use
the mvapich2 version of HDF5.
%package devel-static %package devel-static
Summary: Hierarchical Data File Format Version 5 - static libraries Summary: Static development files for %{name}
Group: Development/Libraries/C and C++ Group: Development/Libraries/Other
Requires: %{name}-devel = %{version} Requires: %{name}-devel = %{version}
%description devel-static %description devel-static
The HDF project involves the development and support of software and HDF5 is a data model, library, and file format for storing and
file formats for scientific data management. The HDF software includes managing data. It supports an unlimited variety of datatypes, and
I/O libraries and tools for analyzing, visualizing, and converting is designed for flexible and efficient I/O and for high volume and
scientific data. complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
This package provides the static libraries. The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
%package examples HDF5 supports all types of data stored digitally, regardless of origin
Summary: Examples for HDF5 or size. Petabytes of remote sensing data collected by satellites,
Group: Development/Libraries/Parallel terabytes of computational results from nuclear testing models, and
Requires: %{libname}-%{hdf5_libver} = %{version} megabytes of high-resolution MRI brain scans are stored in HDF5 files,
Requires: %{libname}_hl%{hdf5_libver} = %{version} together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
%description examples This package provides the static libraries for HDF5.
Examples of HDF5 library use.
%if 0%{?_openmpi}
%package -n %{name}-openmpi
Summary: A general purpose library and file format for storing scientific data
Group: Development/Libraries/Other
Requires: %{libname}-%{hdf5_libver}-openmpi = %{version}
Requires: %{libname}_hl%{hdf5_libver}-openmpi = %{version}
%description -n %{name}-openmpi
HDF5 is a general purpose library and file format for storing scientific data.
HDF5 can store two primary objects: datasets and groups. A dataset is
essentially a multidimensional array of data elements, and a group is a
structure for organizing objects in an HDF5 file. Using these two basic
objects, one can create and store almost any kind of scientific data
structure, such as images, arrays of vectors, and structured and unstructured
grids. You can also mix and match them in HDF5 files according to your needs.
%package -n %{libname}-%{hdf5_libver}-openmpi
Summary: HDF 5 runtime libraries
Group: System/Libraries
%description -n %{libname}-%{hdf5_libver}-openmpi
The HDF project involves the development and support of software and
file formats for scientific data management. The HDF software includes
I/O libraries and tools for analyzing, visualizing, and converting
scientific data.
This package contains the HDF 5 runtime libraries.
%package -n %{libname}_hl%{hdf5_libver}-openmpi
Summary: HDF 5 runtimelibraries
Group: System/Libraries
%description -n %{libname}_hl%{hdf5_libver}-openmpi
The HDF project involves the development and support of software and
file formats for scientific data management. The HDF software includes
I/O libraries and tools for analyzing, visualizing, and converting
scientific data.
This package contains the HDF 5 runtime libraries.
%package openmpi-devel
Summary: Hierarchical Data File Format Version 5
Group: Development/Libraries/Parallel
Requires: %{name}-openmpi = %{version}
# Required by Fortran programs?
Requires: %{libname}-%{hdf5_libver}-openmpi = %{version}
Requires: %{libname}_hl%{hdf5_libver}-openmpi = %{version}
%description openmpi-devel
The HDF project involves the development and support of software and
file formats for scientific data management. The HDF software includes
I/O libraries and tools for analyzing, visualizing, and converting
scientific data.
This package contains all files needed to create projects that use
hdf5.
%package openmpi-devel-static %package openmpi-devel-static
Summary: Hierarchical Data File Format Version 5 - static libraries Summary: Static development files for %{name}-openmpi
Group: Development/Libraries/C and C++ Group: Development/Libraries/Parallel
Requires: %{name}-openmpi-devel = %{version} Requires: %{name}-openmpi-devel = %{version}
%description openmpi-devel-static %description openmpi-devel-static
The HDF project involves the development and support of software and HDF5 is a data model, library, and file format for storing and
file formats for scientific data management. The HDF software includes managing data. It supports an unlimited variety of datatypes, and
I/O libraries and tools for analyzing, visualizing, and converting is designed for flexible and efficient I/O and for high volume and
scientific data. complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
This package provides the static libraries. The HDF5 technology suite is designed to organize, store, discover,
%endif access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
%package -n %{name}-mvapich2 HDF5 supports all types of data stored digitally, regardless of origin
Summary: A general purpose library and file format for storing scientific data or size. Petabytes of remote sensing data collected by satellites,
Group: Development/Libraries/Other terabytes of computational results from nuclear testing models, and
Requires: %{libname}-%{hdf5_libver}-mvapich2 = %{version} megabytes of high-resolution MRI brain scans are stored in HDF5 files,
Requires: %{libname}_hl%{hdf5_libver}-mvapich2 = %{version} together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
%description -n %{name}-mvapich2 This package provides the static libraries for the openmpi version of HDF5.
HDF5 is a general purpose library and file format for storing scientific data.
HDF5 can store two primary objects: datasets and groups. A dataset is
essentially a multidimensional array of data elements, and a group is a
structure for organizing objects in an HDF5 file. Using these two basic
objects, one can create and store almost any kind of scientific data
structure, such as images, arrays of vectors, and structured and unstructured
grids. You can also mix and match them in HDF5 files according to your needs.
%package -n %{libname}-%{hdf5_libver}-mvapich2
Summary: HDF 5 runtime libraries
Group: System/Libraries
%description -n %{libname}-%{hdf5_libver}-mvapich2
The HDF project involves the development and support of software and
file formats for scientific data management. The HDF software includes
I/O libraries and tools for analyzing, visualizing, and converting
scientific data.
This package contains the HDF 5 runtime libraries.
%package -n %{libname}_hl%{hdf5_libver}-mvapich2
Summary: HDF 5 runtimelibraries
Group: System/Libraries
%description -n %{libname}_hl%{hdf5_libver}-mvapich2
The HDF project involves the development and support of software and
file formats for scientific data management. The HDF software includes
I/O libraries and tools for analyzing, visualizing, and converting
scientific data.
This package contains the HDF 5 runtime libraries.
%package mvapich2-devel
Summary: Hierarchical Data File Format Version 5
Group: Development/Libraries/Parallel
Requires: %{name}-mvapich2 = %{version}
# Required by Fortran programs?
Requires: %{libname}-%{hdf5_libver}-mvapich2 = %{version}
Requires: %{libname}_hl%{hdf5_libver}-mvapich2 = %{version}
%description mvapich2-devel
The HDF project involves the development and support of software and
file formats for scientific data management. The HDF software includes
I/O libraries and tools for analyzing, visualizing, and converting
scientific data.
This package contains all files needed to create projects that use
hdf5.
%package mvapich2-devel-static %package mvapich2-devel-static
Summary: Hierarchical Data File Format Version 5 - static libraries Summary: Static development files for %{name}-mvapich2
Group: Development/Libraries/C and C++ Group: Development/Libraries/Parallel
Requires: %{name}-mvapich2-devel = %{version} Requires: %{name}-mvapich2-devel = %{version}
%description mvapich2-devel-static %description mvapich2-devel-static
The HDF project involves the development and support of software and HDF5 is a data model, library, and file format for storing and
file formats for scientific data management. The HDF software includes managing data. It supports an unlimited variety of datatypes, and
I/O libraries and tools for analyzing, visualizing, and converting is designed for flexible and efficient I/O and for high volume and
scientific data. complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
This package provides the static libraries. The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package provides the static libraries for the mvapich2 version of HDF5.
%package examples
Summary: Examples for %{name}
Group: Documentation/Other
Requires: %{libname}-%{sonum} = %{version}
Requires: %{libname}_hl%{sonum} = %{version}
%description examples
HDF5 is a data model, library, and file format for storing and
managing data. It supports an unlimited variety of datatypes, and
is designed for flexible and efficient I/O and for high volume and
complex data. HDF5 is portable and is extensible, allowing
applications to evolve in their use of HDF5.
The HDF5 technology suite is designed to organize, store, discover,
access, analyze, share, and preserve diverse, complex data in
continuously evolving heterogeneous computing and storage environments.
HDF5 supports all types of data stored digitally, regardless of origin
or size. Petabytes of remote sensing data collected by satellites,
terabytes of computational results from nuclear testing models, and
megabytes of high-resolution MRI brain scans are stored in HDF5 files,
together with metadata necessary for efficient data sharing,
processing, visualization, and archiving.
This package provides examples of HDF5 library use.
%prep %prep
%setup -q %setup -q
# don't forget to increase hdf5_libver, see also baselibs.conf # don't forget to increase sonum, see also baselibs.conf
LT_VERS_INTERFACE=$(sed -n 's/^ *LT_VERS_INTERFACE *= *//p' config/lt_vers.am) LT_VERS_INTERFACE=$(sed -n 's/^ *LT_VERS_INTERFACE *= *//p' config/lt_vers.am)
test "%{hdf5_libver}" = "${LT_VERS_INTERFACE}" || exit 1 test "%{sonum}" = "${LT_VERS_INTERFACE}" || exit 1
%patch0 -p1 -b .LD_LIBRARY_PATH %patch0 -p1 -b .LD_LIBRARY_PATH
%patch1 -p0 -b .non_void_return %patch1 -p0 -b .non_void_return
%patch2 -p0 -b .abort_unknown_host_config %patch2 -p0 -b .abort_unknown_host_config
@ -340,7 +562,7 @@ popd
for mpi in %_mpi; for mpi in %_mpi;
do do
cd $mpi pushd $mpi
export CC="%{_libdir}/mpi/gcc/$mpi/bin/mpicc" export CC="%{_libdir}/mpi/gcc/$mpi/bin/mpicc"
export FC="%{_libdir}/mpi/gcc/$mpi/bin/mpif90" export FC="%{_libdir}/mpi/gcc/$mpi/bin/mpif90"
export F77="%{_libdir}/mpi/gcc/$mpi/bin/mpif77" export F77="%{_libdir}/mpi/gcc/$mpi/bin/mpif77"
@ -366,7 +588,7 @@ export LD_LIBRARY_PATH="%{_libdir}/mpi/gcc/$mpi/%_lib"
--with-pthread --with-pthread
make %{?_smp_mflags} make %{?_smp_mflags}
cd .. popd
done done
%install %install
@ -376,7 +598,7 @@ for build_dir in %_mpi build; do
make install DESTDIR="%buildroot" -C "$build_dir" make install DESTDIR="%buildroot" -C "$build_dir"
done done
find "%buildroot/%_libdir" -type f -name "*.la" | xargs rm -f find "%buildroot/%{_libdir}" -type f -name "*.la" | xargs rm -f
find %{buildroot}%{_datadir}/hdf5_examples -type f \ find %{buildroot}%{_datadir}/hdf5_examples -type f \
| grep -v ".sh$" | xargs chmod 644 | grep -v ".sh$" | xargs chmod 644
# delete examples from parallel builds # delete examples from parallel builds
@ -389,12 +611,9 @@ rm -rf %{buildroot}%{_libdir}/mpi/gcc/*/share/hdf5_examples
mkdir -p %{buildroot}%{_sysconfdir}/rpm mkdir -p %{buildroot}%{_sysconfdir}/rpm
cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <<EOF cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <<EOF
# #
# RPM macros for R packaging # RPM macros for hdf5 packaging
#
#
# Make R search index.txt
# #
%_hdf5_sonum %{sonum}
%_hdf5_version %{version} %_hdf5_version %{version}
EOF EOF
@ -410,39 +629,30 @@ for mpi in %_mpi; do
make -C $mpi check make -C $mpi check
done done
%post -n %{libname}-%{hdf5_libver} -p /sbin/ldconfig %post -n %{libname}-%{sonum} -p /sbin/ldconfig
%postun -n %{libname}-%{sonum} -p /sbin/ldconfig
%postun -n %{libname}-%{hdf5_libver} -p /sbin/ldconfig %post -n %{libname}_hl%{sonum} -p /sbin/ldconfig
%postun -n %{libname}_hl%{sonum} -p /sbin/ldconfig
%post -n %{libname}_hl%{hdf5_libver} -p /sbin/ldconfig
%postun -n %{libname}_hl%{hdf5_libver} -p /sbin/ldconfig
%if 0%{?_openmpi} %if 0%{?_openmpi}
%post -n %{libname}-%{hdf5_libver}-openmpi -p /sbin/ldconfig %post -n %{libname}-%{sonum}-openmpi -p /sbin/ldconfig
%postun -n %{libname}-%{sonum}-openmpi -p /sbin/ldconfig
%postun -n %{libname}-%{hdf5_libver}-openmpi -p /sbin/ldconfig %post -n %{libname}_hl%{sonum}-openmpi -p /sbin/ldconfig
%postun -n %{libname}_hl%{sonum}-openmpi -p /sbin/ldconfig
%post -n %{libname}_hl%{hdf5_libver}-openmpi -p /sbin/ldconfig
%postun -n %{libname}_hl%{hdf5_libver}-openmpi -p /sbin/ldconfig
%endif %endif
%if 0%{?_mvapich2} %if 0%{?_mvapich2}
%post -n %{libname}-%{hdf5_libver}-mvapich2 -p /sbin/ldconfig %post -n %{libname}-%{sonum}-mvapich2 -p /sbin/ldconfig
%postun -n %{libname}-%{sonum}-mvapich2 -p /sbin/ldconfig
%postun -n %{libname}-%{hdf5_libver}-mvapich2 -p /sbin/ldconfig %post -n %{libname}_hl%{sonum}-mvapich2 -p /sbin/ldconfig
%postun -n %{libname}_hl%{sonum}-mvapich2 -p /sbin/ldconfig
%post -n %{libname}_hl%{hdf5_libver}-mvapich2 -p /sbin/ldconfig
%postun -n %{libname}_hl%{hdf5_libver}-mvapich2 -p /sbin/ldconfig
%endif %endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt release_docs/HISTORY-1_8.txt
%doc release_docs/RELEASE.txt
%{_bindir}/gif2h5 %{_bindir}/gif2h5
%{_bindir}/h52gif %{_bindir}/h52gif
%{_bindir}/h5copy %{_bindir}/h5copy
@ -460,7 +670,12 @@ done
%{_bindir}/h5stat %{_bindir}/h5stat
%{_bindir}/h5unjam %{_bindir}/h5unjam
%files -n %{libname}-%{hdf5_libver} %files -n %{libname}-%{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/RELEASE.txt
%defattr(0755,root,root) %defattr(0755,root,root)
%{_libdir}/libhdf5.so.* %{_libdir}/libhdf5.so.*
%{_libdir}/libhdf5_cpp.so.* %{_libdir}/libhdf5_cpp.so.*
@ -468,7 +683,7 @@ done
%{_libdir}/libhdf5_fortran.so.* %{_libdir}/libhdf5_fortran.so.*
%endif %endif
%files -n libhdf5_hl%{hdf5_libver} %files -n libhdf5_hl%{sonum}
%defattr(0755,root,root) %defattr(0755,root,root)
%{_libdir}/libhdf5_hl.so.* %{_libdir}/libhdf5_hl.so.*
%{_libdir}/libhdf5_hl_cpp.so.* %{_libdir}/libhdf5_hl_cpp.so.*
@ -476,9 +691,12 @@ done
%{_libdir}/libhdf5hl_fortran.so.* %{_libdir}/libhdf5hl_fortran.so.*
%endif %endif
%files devel-data
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/rpm/macros.hdf5
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/rpm/macros.hdf5
%{_bindir}/h5c++ %{_bindir}/h5c++
%{_bindir}/h5cc %{_bindir}/h5cc
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
@ -502,9 +720,6 @@ done
%if 0%{?_openmpi} %if 0%{?_openmpi}
%files -n %{name}-openmpi %files -n %{name}-openmpi
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt release_docs/HISTORY-1_8.txt
%doc release_docs/RELEASE.txt
%{_libdir}/mpi/gcc/openmpi/bin/gif2h5 %{_libdir}/mpi/gcc/openmpi/bin/gif2h5
%{_libdir}/mpi/gcc/openmpi/bin/h52gif %{_libdir}/mpi/gcc/openmpi/bin/h52gif
%{_libdir}/mpi/gcc/openmpi/bin/h5copy %{_libdir}/mpi/gcc/openmpi/bin/h5copy
@ -524,14 +739,19 @@ done
%{_libdir}/mpi/gcc/openmpi/bin/h5unjam %{_libdir}/mpi/gcc/openmpi/bin/h5unjam
%{_libdir}/mpi/gcc/openmpi/bin/ph5diff %{_libdir}/mpi/gcc/openmpi/bin/ph5diff
%files -n %{libname}-%{hdf5_libver}-openmpi %files -n %{libname}-%{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) %defattr(0755,root,root)
%{_libdir}/mpi/gcc/openmpi/%_lib/libhdf5.so.* %{_libdir}/mpi/gcc/openmpi/%_lib/libhdf5.so.*
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
%{_libdir}/mpi/gcc/openmpi/%_lib/libhdf5_fortran.so.* %{_libdir}/mpi/gcc/openmpi/%_lib/libhdf5_fortran.so.*
%endif %endif
%files -n libhdf5_hl%{hdf5_libver}-openmpi %files -n libhdf5_hl%{sonum}-openmpi
%defattr(0755,root,root) %defattr(0755,root,root)
%{_libdir}/mpi/gcc/openmpi/%_lib/libhdf5_hl.so.* %{_libdir}/mpi/gcc/openmpi/%_lib/libhdf5_hl.so.*
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
@ -559,9 +779,6 @@ done
%if 0%{?_mvapich2} %if 0%{?_mvapich2}
%files -n %{name}-mvapich2 %files -n %{name}-mvapich2
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt release_docs/HISTORY-1_8.txt
%doc release_docs/RELEASE.txt
%{_libdir}/mpi/gcc/mvapich2/bin/gif2h5 %{_libdir}/mpi/gcc/mvapich2/bin/gif2h5
%{_libdir}/mpi/gcc/mvapich2/bin/h52gif %{_libdir}/mpi/gcc/mvapich2/bin/h52gif
%{_libdir}/mpi/gcc/mvapich2/bin/h5copy %{_libdir}/mpi/gcc/mvapich2/bin/h5copy
@ -581,14 +798,19 @@ done
%{_libdir}/mpi/gcc/mvapich2/bin/h5unjam %{_libdir}/mpi/gcc/mvapich2/bin/h5unjam
%{_libdir}/mpi/gcc/mvapich2/bin/ph5diff %{_libdir}/mpi/gcc/mvapich2/bin/ph5diff
%files -n %{libname}-%{hdf5_libver}-mvapich2 %files -n %{libname}-%{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
%defattr(0755,root,root) %defattr(0755,root,root)
%{_libdir}/mpi/gcc/mvapich2/%_lib/libhdf5.so.* %{_libdir}/mpi/gcc/mvapich2/%_lib/libhdf5.so.*
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
%{_libdir}/mpi/gcc/mvapich2/%_lib/libhdf5_fortran.so.* %{_libdir}/mpi/gcc/mvapich2/%_lib/libhdf5_fortran.so.*
%endif %endif
%files -n libhdf5_hl%{hdf5_libver}-mvapich2 %files -n libhdf5_hl%{sonum}-mvapich2
%defattr(0755,root,root) %defattr(0755,root,root)
%{_libdir}/mpi/gcc/mvapich2/%_lib/libhdf5_hl.so.* %{_libdir}/mpi/gcc/mvapich2/%_lib/libhdf5_hl.so.*
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140