Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0

epel9
Deji Akingunola 12 years ago
parent cc39ad0682
commit a9e79f9530

@ -4,7 +4,7 @@
# 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.8.11 Version: 1.8.11
Release: 3%{?dist} Release: 4%{?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
Group: System Environment/Libraries Group: System Environment/Libraries
@ -21,12 +21,12 @@ BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
# Needed for mpi tests # Needed for mpi tests
BuildRequires: openssh-clients BuildRequires: openssh-clients
%global with_mpich2 1 %global with_mpich 1
%global with_openmpi 1 %global with_openmpi 1
%if 0%{?rhel} %if 0%{?rhel}
%ifarch ppc64 %ifarch ppc64
# No mpich2 on ppc64 in EL # No mpich2 on ppc64 in EL
%global with_mpich2 0 %global with_mpich 0
%endif %endif
%endif %endif
%ifarch s390 s390x %ifarch s390 s390x
@ -34,8 +34,8 @@ BuildRequires: openssh-clients
%global with_openmpi 0 %global with_openmpi 0
%endif %endif
%if %{with_mpich2} %if %{with_mpich}
%global mpi_list mpich2 %global mpi_list mpich
%endif %endif
%if %{with_openmpi} %if %{with_openmpi}
%global mpi_list %{?mpi_list} openmpi %global mpi_list %{?mpi_list} openmpi
@ -70,34 +70,40 @@ Requires: %{name}-devel = %{version}-%{release}
HDF5 static libraries. HDF5 static libraries.
%if %{with_mpich2} %if %{with_mpich}
%package mpich2 %package mpich
Summary: HDF5 mpich2 libraries Summary: HDF5 mpich libraries
Group: Development/Libraries Group: Development/Libraries
Requires: mpich2 Requires: mpich
BuildRequires: mpich2-devel BuildRequires: mpich-devel
Provides: %{name}-mpich2 = %{version}-%{release}
Obsoletes: %{name}-mpich2 < 1.8.11-4
%description mpich2 %description mpich
HDF5 parallel mpich2 libraries HDF5 parallel mpich libraries
%package mpich2-devel %package mpich-devel
Summary: HDF5 mpich2 development files Summary: HDF5 mpich development files
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-mpich2%{?_isa} = %{version}-%{release} Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
Requires: mpich2 Requires: mpich
Provides: %{name}-mpich2-devel = %{version}-%{release}
Obsoletes: %{name}-mpich2-devel < 1.8.11-4
%description mpich2-devel %description mpich-devel
HDF5 parallel mpich2 development files HDF5 parallel mpich development files
%package mpich2-static %package mpich-static
Summary: HDF5 mpich2 static libraries Summary: HDF5 mpich static libraries
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-mpich2-devel%{?_isa} = %{version}-%{release} Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release}
Provides: %{name}-mpich2-static = %{version}-%{release}
Obsoletes: %{name}-mpich2-static < 1.8.11-4
%description mpich2-static %description mpich-static
HDF5 parallel mpich2 static libraries HDF5 parallel mpich static libraries
%endif %endif
@ -323,39 +329,39 @@ done
%files static %files static
%{_libdir}/*.a %{_libdir}/*.a
%if %{with_mpich2} %if %{with_mpich}
%files mpich2 %files mpich
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt %doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
%doc release_docs/HISTORY*.txt %doc release_docs/HISTORY*.txt
%{_libdir}/mpich2/bin/gif2h5 %{_libdir}/mpich/bin/gif2h5
%{_libdir}/mpich2/bin/h52gif %{_libdir}/mpich/bin/h52gif
%{_libdir}/mpich2/bin/h5copy %{_libdir}/mpich/bin/h5copy
%{_libdir}/mpich2/bin/h5debug %{_libdir}/mpich/bin/h5debug
%{_libdir}/mpich2/bin/h5diff %{_libdir}/mpich/bin/h5diff
%{_libdir}/mpich2/bin/h5dump %{_libdir}/mpich/bin/h5dump
%{_libdir}/mpich2/bin/h5import %{_libdir}/mpich/bin/h5import
%{_libdir}/mpich2/bin/h5jam %{_libdir}/mpich/bin/h5jam
%{_libdir}/mpich2/bin/h5ls %{_libdir}/mpich/bin/h5ls
%{_libdir}/mpich2/bin/h5mkgrp %{_libdir}/mpich/bin/h5mkgrp
%{_libdir}/mpich2/bin/h5redeploy %{_libdir}/mpich/bin/h5redeploy
%{_libdir}/mpich2/bin/h5repack %{_libdir}/mpich/bin/h5repack
%{_libdir}/mpich2/bin/h5perf %{_libdir}/mpich/bin/h5perf
%{_libdir}/mpich2/bin/h5perf_serial %{_libdir}/mpich/bin/h5perf_serial
%{_libdir}/mpich2/bin/h5repart %{_libdir}/mpich/bin/h5repart
%{_libdir}/mpich2/bin/h5stat %{_libdir}/mpich/bin/h5stat
%{_libdir}/mpich2/bin/h5unjam %{_libdir}/mpich/bin/h5unjam
%{_libdir}/mpich2/bin/ph5diff %{_libdir}/mpich/bin/ph5diff
%{_libdir}/mpich2/lib/*.so.* %{_libdir}/mpich/lib/*.so.*
%files mpich2-devel %files mpich-devel
%{_includedir}/mpich2-%{_arch} %{_includedir}/mpich-%{_arch}
%{_libdir}/mpich2/bin/h5pcc %{_libdir}/mpich/bin/h5pcc
%{_libdir}/mpich2/bin/h5pfc %{_libdir}/mpich/bin/h5pfc
%{_libdir}/mpich2/lib/lib*.so %{_libdir}/mpich/lib/lib*.so
%{_libdir}/mpich2/lib/lib*.settings %{_libdir}/mpich/lib/lib*.settings
%files mpich2-static %files mpich-static
%{_libdir}/mpich2/lib/*.a %{_libdir}/mpich/lib/*.a
%endif %endif
%if %{with_openmpi} %if %{with_openmpi}
@ -395,6 +401,9 @@ done
%changelog %changelog
* Sat Jul 20 2013 Deji Akingunola <dakingun@gmail.com> - 1.8.11-4
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
* Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-3 * Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-3
- Rebuild for openmpi 1.7.2 - Rebuild for openmpi 1.7.2

Loading…
Cancel
Save