Compare commits

...

127 Commits
el6 ... master

Author SHA1 Message Date
Fedora Release Engineering 68fe77b12e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:29:59 +00:00
Orion Poplawski d504bdb448 Update to 4.7.0 2019-06-17 06:59:07 -06:00
Orion Poplawski 1277d0f9ec Update to 4.6.3 2019-03-16 08:26:32 -06:00
Orion Poplawski aaefcf4cbe Allow openmpi to run with more processes than cores 2019-02-14 06:46:53 -07:00
Orion Poplawski 3a258961b8 Rebuild for openmpi 3.1.3 2019-02-13 22:32:19 -07:00
Fedora Release Engineering ae534097dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 12:11:52 +00:00
Igor Gnatenko b666cb3475 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:18 +01:00
Igor Gnatenko d186805f7c
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:29 +01:00
Fedora Release Engineering 8d64c4db7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:30:15 +00:00
Orion Poplawski 31c4b7cc39 Run libtoolize to not strip link flags (bug #1548732) 2018-04-09 20:54:47 -06:00
Fedora Release Engineering 7f44b30141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 04:01:55 +00:00
Orion Poplawski be72d79ead Link to tirpc 2018-02-05 11:18:51 -07:00
Orion Poplawski e317286170 Rebuild for gcc 8.0 2018-02-02 08:04:24 -07:00
Fedora Release Engineering 9c64e92ba0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:53:15 +00:00
Fedora Release Engineering 3b694e267f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:48:51 +00:00
Fedora Release Engineering 13220cd74d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 22:11:58 +00:00
Dan Horák 87ff6a3415 - Enable openmpi for s390(x) on F>=26 2016-12-08 22:07:07 +01:00
Orion Poplawski a8caef4f46 Rebuild for hdf5 1.8.18 2016-12-06 11:43:34 -07:00
Orion Poplawski 5aa8cfa638 Add patch to fix mpi tests compilation 2016-11-29 11:52:09 -07:00
Orion Poplawski 5a4851a658 Update to 4.4.1.1 2016-11-29 10:45:48 -07:00
Orion Poplawski 57398e6eed Rebuild for openmpi 2.0 2016-10-21 17:18:32 -06:00
Orion Poplawski 5aa606effe No valgrind on MIPS
- Enable valgrind on arm
2016-08-12 11:51:57 -06:00
Orion Poplawski a37c838d19 Add upstream patch to fix hashmap issue 2016-07-07 08:02:45 -06:00
Orion Poplawski e29d7e7aad Upload 4.4.1 2016-06-30 14:16:29 -06:00
Orion Poplawski 7be77dcc75 Update to 4.4.1 2016-06-29 08:51:49 -06:00
Orion Poplawski b18ae29143 Drop mpiexec hack 2016-06-28 16:29:20 -06:00
Fedora Release Engineering 0909d5e1af - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 09:14:32 +00:00
Orion Poplawski 50eaf64b4d Rebuild ncx.c to fix arm build 2016-01-22 13:27:31 -07:00
Orion Poplawski bafec73dd6 mpich should be working now; arm is failing tests 2016-01-22 10:18:52 -07:00
Orion Poplawski dc4e54fc79 Ignore failing mpich on the koji builders for now 2016-01-21 15:49:29 -07:00
Orion Poplawski 56911484c2 Try to handle builders that can't resolve their own name 2016-01-21 13:53:11 -07:00
Orion Poplawski 9af8c97972 Use __arm__ conditional in patch 2016-01-21 12:39:21 -07:00
Orion Poplawski dc5d7ac316 Actually apply patch 2016-01-21 12:25:31 -07:00
Orion Poplawski b74934a727 Add patch to fix incorrect char definitions 2016-01-21 11:57:27 -07:00
Orion Poplawski b154b5db72 Update changelog date 2016-01-21 11:21:37 -07:00
Orion Poplawski e0da44cc3a Update to 4.4.0 2016-01-14 09:46:48 -07:00
Rex Dieter 27da26afce rebuild (hdf) 2015-11-07 08:19:36 -06:00
Orion Poplawski cfab33be5d Rebuild for openmpi 1.10.0 2015-09-15 18:57:44 -06:00
Sandro Mani 0fdb651254 RPM MPI Requires Provides 2015-08-11 00:07:18 -04:00
Karsten Hopp d5f12e3cd6 mpich is available on ppc64 now 2015-07-29 17:01:29 +02:00
Dennis Gilmore 5f5c2ff192 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 21:40:23 +00:00
Orion Poplawski 42c72dc725 Rebuild for hdf5 1.8.15 2015-05-17 14:52:54 -06:00
Orion Poplawski 0b99a3b6ea Update to 4.3.3.1 2015-03-11 19:24:48 -06:00
Orion Poplawski 597495de3d Update to 4.3.3 2015-02-13 22:09:28 -07:00
Orion Poplawski 4a6e46edce Fix up provides/requires for mpi packages, use %{?_isa}. 2015-01-27 16:33:09 -07:00
Orion Poplawski fdd985ad22 Rebuild for hdf5 1.8.14 2015-01-07 11:42:18 -07:00
Peter Robinson 059f1f611e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 11:31:03 +00:00
Orion Poplawski 4b244ac0e0 Enable tests on s390; disable parallel tests on s390(x) due to hangs 2014-07-24 09:34:12 -06:00
Orion Poplawski f619cae32e Add patch for hdf5 1.8.13 support 2014-06-09 14:13:23 -06:00
Orion Poplawski 68b3285458 Drop USE_PARALLEL_POSIX for hdf5 1.8.13 2014-06-09 11:05:12 -06:00
Orion Poplawski 661b6c08ee Rebuild for hdf5 1.8.13 2014-06-09 10:08:29 -06:00
Dennis Gilmore 995778a155 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 07:29:29 -05:00
Orion Poplawski 632c50fd7a Update to 4.3.2
- Drop utf8 patch fixed upstream
- Re-enable MPI tests
2014-04-23 23:01:29 -06:00
Orion Poplawski 42326e5152 Strip UTF-8 character from netcdf.h for now, causes problems with
netcdf4-python build.
2014-03-07 11:58:25 -07:00
Deji Akingunola 8454756b1b Rebuild for mpich-3.1 2014-02-22 13:59:22 -05:00
Orion Poplawski 28d1aaf2c7 Enable mpich on ppc64 for rhel7 2014-02-06 19:13:10 -07:00
Orion Poplawski 40b80f66a0 Add BR m4 2014-02-06 11:08:59 -07:00
Orion Poplawski ccfbfc5055 Update to 4.3.1.1 2014-02-06 10:57:58 -07:00
Orion Poplawski 680b7957a5 Bump release 2013-12-27 15:29:31 -07:00
Orion Poplawski 9bae9dce08 Rebuild for hdf5 1.8.12 2013-12-27 15:24:31 -07:00
Orion Poplawski b15420b41a Use BR hdf-static (bug #1038280) 2013-12-05 11:34:59 -07:00
Orion Poplawski 3693b01be9 Fix changelog dates 2013-11-04 19:53:40 -07:00
Orion Poplawski 86e6c03814 Enable hdf4 support 2013-11-04 19:44:59 -07:00
Dennis Gilmore 3ce63b8877 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 08:04:37 -05:00
Deji Akingunola 2fd7325afa Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0 2013-07-21 18:50:32 -04:00
Orion Poplawski 0030e22055 Rebuild for openmpi 1.7.2 2013-07-11 22:40:12 -06:00
Orion Poplawski 494fe9d2a7 Rebuild for hdf5 1.8.11 2013-05-16 10:45:21 -06:00
Orion Poplawski f2becdd79c Upload 4.3.0 source 2013-05-13 16:41:56 -06:00
Orion Poplawski 102b609800 Update to 4.3.0 final; use explicit soname 2013-05-13 16:33:34 -06:00
Orion Poplawski 168c54c9ce 4.3.0-rc3 2013-03-21 14:41:26 -06:00
Dennis Gilmore a14093229a - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 02:09:33 -06:00
Orion Poplawski 1fe8d17489 Disable make check of the mpi code, it is hanging for some reason 2012-12-04 11:02:04 -07:00
Orion Poplawski 8346b29711 Rebuild for hdf5 2012-12-03 14:00:08 -07:00
Orion Poplawski b8c2f95f78 Use new mpi module location 2012-11-01 14:18:03 -06:00
Orion Poplawski 63dd85c99a Fix year typo 2012-11-01 13:56:08 -06:00
Orion Poplawski 2022ee47c0 Rebuild for openmpi and mpich2 soname bumps 2012-11-01 13:55:31 -06:00
Orion Poplawski 15ad37466a Update to 4.2.1.1 2012-08-03 21:52:07 -06:00
Orion Poplawski a3c15e43d9 Update to 4.2.1 final 2012-07-22 06:38:24 -06:00
Dennis Gilmore b7c578e68c - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 23:28:05 -05:00
Orion Poplawski b01c6112f9 Update to 4.2.1 rc1
Rebase pkgconfig patch
Drop fflags patch, upstream now calls nf-config
2012-07-11 15:05:02 -06:00
Dan Horák 88d03f5d1a temporarily disable checks on s390 (memory corruption and stuck build) 2012-06-13 11:02:24 +02:00
Orion Poplawski 498253f12d Rebuild with hdf5 1.8.9 2012-05-15 15:53:23 -06:00
Orion Poplawski cd049ab5c9 Merge in mpi update 2012-03-21 14:24:46 -06:00
Orion Poplawski dff0534ad1 Update to real 4.2 final 2012-03-21 14:23:29 -06:00
Dan Horák a9c4117027 use %{mpi_list} also in %check 2012-03-20 09:33:01 +01:00
Orion Poplawski d17626f243 Update to 4.2 final 2012-03-16 16:07:38 -06:00
Orion Poplawski d1c2b79658 Ship examples with -devel 2012-03-07 11:50:18 -07:00
Orion Poplawski f5068e6baa Enable MPI builds, merged from f16 2012-03-07 10:21:18 -07:00
Orion Poplawski 2ed38aff02 Merge releng rebuild 2012-03-06 15:48:13 -07:00
Orion Poplawski 8438a69a60 Update to 4.2-rc2 2012-03-06 15:46:48 -07:00
Dennis Gilmore b088cbdd90 - Rebuilt for c++ ABI breakage 2012-02-28 13:19:45 -06:00
Orion Poplawski b9d7608ce6 Enable MPI builds 2012-02-10 11:16:08 -07:00
Orion Poplawski a5c9892dd6 Reorder sub-package components 2012-02-01 12:33:46 -07:00
Orion Poplawski cf142b3df9 Merge in rebuild changelog 2012-01-13 11:07:45 -07:00
Dennis Gilmore a9c810b19c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 05:00:59 -06:00
Orion Poplawski b993a49b99 Update to 4.2-rc1
Fortran and C++ APIs are now in separate packages
2012-01-12 13:25:37 -07:00
Orion Poplawski aa38cdaf9d Fix typo 2011-11-18 14:55:06 -07:00
Orion Poplawski df6dc9b077 Rebuild for hdf5 1.8.8, add explicit requires 2011-11-18 14:52:12 -07:00
Peter Robinson 114b6e0de3 Add ARM to valgrind excludes 2011-08-11 16:52:21 +01:00
Peter Robinson b4ab52a18d Add ARM to valgrind excludes 2011-08-11 16:51:26 +01:00
Orion Poplawski eb8a1979fe Remove snapshot dir from setup macro 2011-06-21 10:39:08 -06:00
Orion Poplawski 7381f5f430 Merge with 4.1.2-2 changes 2011-06-21 10:23:59 -06:00
Orion Poplawski 38fd9ada8a Update to 4.1.3
Update pkgconfig and fflags patches
Drop libm patch fixed upstream
2011-06-21 10:22:54 -06:00
Orion Poplawski 4589ce86fe Rebuild for hdf5 1.8.7 2011-05-17 21:29:06 -06:00
Orion Poplawski 5ace19ab71 Add netcdf-4.1.2-fflags.patch 2011-03-31 12:42:02 -06:00
Orion Poplawski 3b56eb5bad Add netcdf-4.1.2-pkgconfig.patch 2011-03-31 12:34:54 -06:00
Orion Poplawski c055834de8 Update to 4.1.2 (soname bump)
Add patch to add -lm to libnetcdf4
2011-03-31 12:04:37 -06:00
Orion Poplawski cdf7f78362 Update to 4.1.2 (soname bump)
Add patch to add -lm to libnetcdf4
2011-03-31 12:00:28 -06:00
Dennis Gilmore 7948fab22f - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 17:46:56 -06:00
Fedora Release Engineering e047dc1436 dist-git conversion 2010-07-29 04:15:57 +00:00
Dan Horák f1064d065b - no valgrind on s390(x) 2010-07-19 08:12:48 +00:00
Orion Poplawski a1f8e12b86 Fix up hdf5 patch 2010-04-19 20:25:26 +00:00
Orion Poplawski b7e04885f8 - Explicitly link libnetcdf.so against -lhdf5_hl -lhdf5 2010-04-19 17:47:36 +00:00
Orion Poplawski 1169240208 Oops, wrong patch 2010-04-09 21:22:17 +00:00
Orion Poplawski fda5c162a3 - Add patch to cleanup nc-config --fflags 2010-04-09 21:20:57 +00:00
Orion Poplawski dc922e4aa0 - Update to 4.1.1 2010-04-08 20:08:27 +00:00
Orion Poplawski 588a175975 - Update to 4.1.0 final 2010-02-05 23:24:19 +00:00
Orion Poplawski b87c46a485 - Update snapshot, pkgconfig patch
- Re-enable make check
2010-02-01 23:59:52 +00:00
Orion Poplawski ddacba8864 - Leave include files in /usr/include 2009-12-05 18:09:45 +00:00
Orion Poplawski 3e4ebcdaed Update snapshot - hopefully will build 2009-12-01 18:46:25 +00:00
Orion Poplawski 56f5075843 - Update snapshot, removes SZIP defines from header 2009-11-30 18:27:24 +00:00
Bill Nottingham 7572ca7689 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:20:07 +00:00
Orion Poplawski f66476747d - Explicitly link libnetcdf to the hdf libraries, don't link with -lcurl 2009-11-12 03:37:07 +00:00
Orion Poplawski 2483934fcb - Add Requires: libcurl-devel to devel package 2009-11-11 23:10:50 +00:00
Orion Poplawski f785407446 - Drop hdf4 support - too problematic with linking all required libraries 2009-11-11 22:15:48 +00:00
Orion Poplawski 2c92e10b5e - Add patch to use proper hdf4 libraries
- Add Requires: hdf-devel, hdf5-devel to devel package
- Move nc-config to devel package
2009-11-11 22:01:40 +00:00
Orion Poplawski 71e50c3a4f - Update to 4.1.0 beta 2 snapshot
- Enable: netcdf-4, dap, hdf4, ncgen4, a lot more tests
2009-11-11 17:36:08 +00:00
6 changed files with 561 additions and 97 deletions

View File

@ -1 +0,0 @@
netcdf-4.0.1.tar.gz

20
.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
netcdf-4.1.1.tar.gz
/netcdf-4.1.2.tar.gz
/netcdf-4.1.3.tar.gz
/netcdf-4.2-rc1.tar.gz
/netcdf-4.2-rc2.tar.gz
/netcdf-4.2.tar.gz
/netcdf-4.2.1-rc1.tar.gz
/netcdf-4.2.1.tar.gz
/netcdf-4.2.1.1.tar.gz
/netcdf-4.3.0.tar.gz
/v4.3.1.1.tar.gz
/netcdf-4.3.2.tar.gz
/netcdf-4.3.3.tar.gz
/netcdf-4.3.3.1.tar.gz
/netcdf-4.4.0.tar.gz
/netcdf-4.4.1.tar.gz
/netcdf-4.4.1.1.tar.gz
/netcdf-4.6.2.1.tar.gz
/netcdf-4.6.3.tar.gz
/netcdf-4.7.0.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: netcdf
# $Id$
NAME := netcdf
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,11 +0,0 @@
diff -urN netcdf-4.0-beta2-ORIG/examples/CXX4/sfc_pres_temp_rd.cpp netcdf-4.0-beta2/examples/CXX4/sfc_pres_temp_rd.cpp
--- netcdf-4.0-beta2-ORIG/examples/CXX4/sfc_pres_temp_rd.cpp 2007-07-29 20:18:22.000000000 -0400
+++ netcdf-4.0-beta2/examples/CXX4/sfc_pres_temp_rd.cpp 2008-05-08 00:30:54.000000000 -0400
@@ -17,6 +17,7 @@
*/
#include <iostream>
+#include <cstring>
#include <netcdfcpp4.h>
using namespace std;

View File

@ -1,31 +1,46 @@
Name: netcdf
Version: 4.0.1
Version: 4.7.0
Release: 2%{?dist}
Summary: Libraries for the Unidata network Common Data Form
Group: Applications/Engineering
License: NetCDF
URL: http://my.unidata.ucar.edu/content/software/netcdf/index.html
Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%{version}.tar.gz
Patch0: netcdf-4.0.0-gcc4.3-cstring.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.unidata.ucar.edu/software/netcdf/
Source0: https://github.com/Unidata/netcdf-c/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-gfortran, gawk
BuildRequires: libtool
BuildRequires: chrpath
BuildRequires: doxygen
BuildRequires: hdf-static
BuildRequires: hdf5-devel
BuildRequires: gawk
BuildRequires: libcurl-devel
BuildRequires: m4
BuildRequires: zlib-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
#mpiexec segfaults if ssh is not present
#https://trac.mcs.anl.gov/projects/mpich2/ticket/1576
BuildRequires: openssh-clients
Requires: hdf5%{?_isa} = %{_hdf5_version}
%package devel
Summary: Development files for netcdf
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%global with_mpich 1
%global with_openmpi 1
%if 0%{?rhel} && 0%{?rhel} <= 6
%ifarch ppc64
# No mpich on ppc64 in EL6
%global with_mpich 0
%endif
%endif
%package static
Summary: Static libs for netcdf
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%if %{with_mpich}
%global mpi_list mpich
%endif
%if %{with_openmpi}
%global mpi_list %{?mpi_list} openmpi
%endif
%description
NetCDF (network Common Data Form) is an interface for array-oriented
data access and a freely-distributed collection of software libraries
for C, Fortran, C++, and perl that provides an implementation of the
@ -56,80 +71,542 @@ NetCDF data is:
o Sharable: One writer and multiple readers may simultaneously
access the same NetCDF file.
%package devel
Summary: Development files for netcdf
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig%{?_isa}
Requires: hdf5-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
%description devel
This package contains the netCDF header files, shared devel libs, and
This package contains the netCDF C header files, shared devel libs, and
man pages.
%package static
Summary: Static libs for netcdf
Requires: %{name}%{?_isa} = %{version}-%{release}
%description static
This package contains the netCDF static libs.
This package contains the netCDF C static libs.
%if %{with_mpich}
%package mpich
Summary: NetCDF mpich libraries
Requires: hdf5-mpich%{?_isa} = %{_hdf5_version}
BuildRequires: mpich-devel
BuildRequires: hdf5-mpich-devel >= 1.8.4
Provides: %{name}-mpich2 = %{version}-%{release}
Obsoletes: %{name}-mpich2 < 4.3.0-4
%description mpich
NetCDF parallel mpich libraries
%package mpich-devel
Summary: NetCDF mpich development files
Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
Requires: pkgconfig%{?_isa}
Requires: hdf5-mpich-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
Provides: %{name}-mpich2-devel = %{version}-%{release}
Obsoletes: %{name}-mpich2-devel < 4.3.0-4
%description mpich-devel
NetCDF parallel mpich development files
%package mpich-static
Summary: NetCDF mpich static libraries
Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release}
Provides: %{name}-mpich2-static = %{version}-%{release}
Obsoletes: %{name}-mpich2-static < 4.3.0-4
%description mpich-static
NetCDF parallel mpich static libraries
%endif
%if %{with_openmpi}
%package openmpi
Summary: NetCDF openmpi libraries
Requires: hdf5-openmpi%{?_isa} = %{_hdf5_version}
BuildRequires: openmpi-devel
BuildRequires: hdf5-openmpi-devel >= 1.8.4
%description openmpi
NetCDF parallel openmpi libraries
%package openmpi-devel
Summary: NetCDF openmpi development files
Requires: %{name}-openmpi%{_isa} = %{version}-%{release}
Requires: openmpi-devel%{?_isa}
Requires: pkgconfig%{?_isa}
Requires: hdf5-openmpi-devel%{?_isa}
Requires: libcurl-devel%{?_isa}
%description openmpi-devel
NetCDF parallel openmpi development files
%package openmpi-static
Summary: NetCDF openmpi static libraries
Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release}
%description openmpi-static
NetCDF parallel openmpi static libraries
%endif
%prep
%setup -q
%patch0 -p1
%autosetup -p1 -n %{name}-c-%{version}
%build
export FC="gfortran"
export F90="gfortran"
export CPPFLAGS="-fPIC"
export FFLAGS="-fPIC ${RPM_OPT_FLAGS}"
export F90FLAGS="$FFLAGS"
export FCFLAGS="$FFLAGS"
%configure --enable-shared
# parallel build is broken, .mod file hasn't right deps %%{?_smp_mflags}
make
#Do out of tree builds
%global _configure ../configure
#Common configure options
export LDFLAGS="%{__global_ldflags} -L%{_libdir}/hdf"
%global configure_opts \\\
--enable-shared \\\
--enable-netcdf-4 \\\
--enable-dap \\\
--enable-extra-example-tests \\\
CPPFLAGS=-I%{_includedir}/hdf \\\
LIBS="-ltirpc" \\\
--enable-hdf4 \\\
--disable-dap-remote-tests \\\
%{nil}
# Serial build
mkdir build
pushd build
ln -s ../configure .
%configure %{configure_opts}
%make_build
popd
# MPI builds
export CC=mpicc
for mpi in %{mpi_list}
do
mkdir $mpi
pushd $mpi
module load mpi/$mpi-%{_arch}
ln -s ../configure .
# parallel tests hang on s390(x)
%configure %{configure_opts} \
--libdir=%{_libdir}/$mpi/lib \
--bindir=%{_libdir}/$mpi/bin \
--sbindir=%{_libdir}/$mpi/sbin \
--includedir=%{_includedir}/$mpi-%{_arch} \
--datarootdir=%{_libdir}/$mpi/share \
--mandir=%{_libdir}/$mpi/share/man \
--enable-parallel-tests
%make_build
module purge
popd
done
%install
make install DESTDIR=${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/netcdf
mkdir -p ${RPM_BUILD_ROOT}%{_fmoddir}
/bin/mv ${RPM_BUILD_ROOT}%{_includedir}/*.mod \
${RPM_BUILD_ROOT}%{_fmoddir}
/bin/mv ${RPM_BUILD_ROOT}%{_includedir}/*.* \
${RPM_BUILD_ROOT}%{_includedir}/netcdf
make -C build install DESTDIR=${RPM_BUILD_ROOT}
/bin/rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
chrpath --delete ${RPM_BUILD_ROOT}/%{_bindir}/nc{copy,dump,gen,gen3}
/bin/rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
for mpi in %{mpi_list}
do
module load mpi/$mpi-%{_arch}
make -C $mpi install DESTDIR=${RPM_BUILD_ROOT}
rm $RPM_BUILD_ROOT/%{_libdir}/$mpi/lib/*.la
chrpath --delete ${RPM_BUILD_ROOT}/%{_libdir}/$mpi/bin/nc{copy,dump,gen,gen3}
module purge
done
%check
make check
# Set to 1 to fail if tests fail
fail=1
make -C build check || ( cat build/*/test-suite.log && exit $fail )
# Allow openmpi to run with more processes than cores
export OMPI_MCA_rmaps_base_oversubscribe=1
for mpi in %{mpi_list}
do
module load mpi/$mpi-%{_arch}
make -C $mpi check || ( cat $mpi/*/test-suite.log && exit $fail )
module purge
done
%clean
rm -rf ${RPM_BUILD_ROOT}
%ldconfig_scriptlets
%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/netcdf.info \
%{_infodir}/dir 2>/dev/null || :
%postun
/sbin/ldconfig
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/netcdf.info \
%{_infodir}/dir 2>/dev/null || :
fi
%files
%defattr(-,root,root,-)
%doc COPYRIGHT README
%{_bindir}/*
%{_libdir}/*.so.*
%license COPYRIGHT
%doc README.md RELEASE_NOTES.md
%{_bindir}/nccopy
%{_bindir}/ncdump
%{_bindir}/ncgen
%{_bindir}/ncgen3
%{_libdir}/*.so.15*
%{_mandir}/man1/*
%{_infodir}/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/netcdf
%{_fmoddir}/*.mod
%doc examples
%{_bindir}/nc-config
%{_includedir}/netcdf.h
%{_includedir}/netcdf_aux.h
%{_includedir}/netcdf_filter.h
%{_includedir}/netcdf_meta.h
%{_includedir}/netcdf_mem.h
%{_libdir}/libnetcdf.settings
%{_libdir}/*.so
%{_libdir}/pkgconfig/netcdf.pc
%{_mandir}/man3/*
%files static
%defattr(-,root,root,-)
%{_libdir}/*.a
%if %{with_mpich}
%files mpich
%license COPYRIGHT
%doc README.md RELEASE_NOTES.md
%{_libdir}/mpich/bin/nccopy
%{_libdir}/mpich/bin/ncdump
%{_libdir}/mpich/bin/ncgen
%{_libdir}/mpich/bin/ncgen3
%{_libdir}/mpich/lib/*.so.15*
%doc %{_libdir}/mpich/share/man/man1/*.1*
%files mpich-devel
%{_libdir}/mpich/bin/nc-config
%{_includedir}/mpich-%{_arch}/netcdf.h
%{_includedir}/mpich-%{_arch}/netcdf_aux.h
%{_includedir}/mpich-%{_arch}/netcdf_filter.h
%{_includedir}/mpich-%{_arch}/netcdf_meta.h
%{_includedir}/mpich-%{_arch}/netcdf_mem.h
%{_includedir}/mpich-%{_arch}/netcdf_par.h
%{_libdir}/mpich/lib/libnetcdf.settings
%{_libdir}/mpich/lib/*.so
%{_libdir}/mpich/lib/pkgconfig/%{name}.pc
%doc %{_libdir}/mpich/share/man/man3/*.3*
%files mpich-static
%{_libdir}/mpich/lib/*.a
%endif
%if %{with_openmpi}
%files openmpi
%license COPYRIGHT
%doc README.md RELEASE_NOTES.md
%{_libdir}/openmpi/bin/nccopy
%{_libdir}/openmpi/bin/ncdump
%{_libdir}/openmpi/bin/ncgen
%{_libdir}/openmpi/bin/ncgen3
%{_libdir}/openmpi/lib/*.so.15*
%doc %{_libdir}/openmpi/share/man/man1/*.1*
%files openmpi-devel
%{_libdir}/openmpi/bin/nc-config
%{_includedir}/openmpi-%{_arch}/netcdf.h
%{_includedir}/openmpi-%{_arch}/netcdf_aux.h
%{_includedir}/openmpi-%{_arch}/netcdf_filter.h
%{_includedir}/openmpi-%{_arch}/netcdf_meta.h
%{_includedir}/openmpi-%{_arch}/netcdf_mem.h
%{_includedir}/openmpi-%{_arch}/netcdf_par.h
%{_libdir}/openmpi/lib/libnetcdf.settings
%{_libdir}/openmpi/lib/*.so
%{_libdir}/openmpi/lib/pkgconfig/%{name}.pc
%doc %{_libdir}/openmpi/share/man/man3/*.3*
%files openmpi-static
%{_libdir}/openmpi/lib/*.a
%endif
%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 17 2019 Orion Poplawski <orion@nwra.com> - 4.7.0-1
- Update to 4.7.0
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 4.6.3-1
- Update to 4.6.3
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 4.4.1.1-12
- Rebuild for openmpi 3.1.3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Apr 09 2018 Orion Poplawski <orion@nwra.com> - 4.4.1.1-9
- Run libtoolize to not strip link flags (bug #1548732)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Orion Poplawski <orion@cora.nwra.com> - 4.4.1.1-7
- Rebuild for gcc 8.0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 08 2016 Dan Horák <dan[at]danny.cz> - 4.4.1.1-3
- Enable openmpi for s390(x) on F>=26
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1.1-2
- Rebuild for hdf5 1.8.18
* Tue Nov 29 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1.1-1
- Update to 4.4.1.1
- Add patch to fix mpi tests compilation
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-4
- Rebuild for openmpi 2.0
* Fri Aug 12 2016 Michal Toman <mtoman@fedoraproject.org> - 4.4.1-3
- No valgrind on MIPS
- Enable valgrind on arm
* Thu Jul 7 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-2
- Add upstream patch to fix hashmap issue
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-1
- Update to 4.4.1
* Tue Jun 28 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-4
- Drop mpiexec hack
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 22 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-2
- Rebuild ncx.c to fix arm build
* Thu Jan 21 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.0-1
- Update to 4.4.0
- Add patch to fix incorrect char definitions
* Sat Nov 07 2015 Rex Dieter <rdieter@fedoraproject.org> 4.3.3.1-7
- rebuild (hdf)
* Wed Sep 16 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3.1-6
- Rebuild for openmpi 1.10.0
* Mon Aug 10 2015 Sandro Mani <manisandro@gmail.com> - 4.3.3.1-5
- Rebuild for RPM MPI Requires Provides Change
* Wed Jul 29 2015 Karsten Hopp <karsten@redhat.com> 4.3.3.1-4
- mpich is available on ppc64 now
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3.1-2
- Rebuild for hdf5 1.8.15
* Wed Mar 11 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3.1-1
- Update to 4.3.3.1
* Fri Feb 13 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.3-1
- Update to 4.3.3
* Tue Jan 27 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-7
- Fix up provides/requires for mpi packages, use %%{?_isa}.
* Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-6
- Rebuild for hdf5 1.8.14
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jul 24 2014 Jakub Čajka <jcajka@redhat.com> - 4.3.2-4
- Enabled tests on s390
- Disabled parallel tests on s390(x) as they hang
* Mon Jun 9 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-3
- Rebuild for hdf5 1.8.13, add patch for support
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Apr 23 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.2-1
- Update to 4.3.2
- Drop utf8 patch fixed upstream
- Re-enable MPI tests
* Fri Mar 7 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.1.1-3
- Strip UTF-8 character from netcdf.h for now, causes problems with
netcdf4-python build
* Sat Feb 22 2014 Deji Akingunola <dakingun@gmail.com> - 4.3.1.1-2
- Rebuild for mpich-3.1
* Thu Feb 6 2014 Orion Poplawski <orion@cora.nwra.com> - 4.3.1.1-1
- Update to 4.3.1.1
- Add BR m4
* Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-8
- Rebuild for hdf5 1.8.12
* Thu Dec 5 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-7
- Use BR hdf-static (bug #1038280)
* Mon Nov 4 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-6
- Enable hdf4 support
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Jul 20 2013 Deji Akingunola <dakingun@gmail.com> - 4.3.0-4
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
* Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-3
- Rebuild for openmpi 1.7.2
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-2
- Rebuild for hdf5 1.8.11
* Mon May 13 2013 Orion Poplawski <orion@cora.nwra.com> - 4.3.0-1
- Update to 4.3.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Dec 03 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1.1-3
- Rebuild for hdf5 1.8.10
- Disable make check of the mpi code, it is hanging for some reason
* Thu Nov 1 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1.1-2
- Rebuild for openmpi and mpich2 soname bumps
- Use new mpi module location
* Fri Aug 3 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1.1-1
- Update to 4.2.1.1
* Sun Jul 22 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-1
- Update to 4.2.1 final
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-0.2.rc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jul 11 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-0.1.rc1
- Update to 4.2.1 rc1
- Rebase pkgconfig patch
- Drop fflags patch, upstream now calls nf-config
* Wed Jun 13 2012 Dan Horák <dan[at]danny.cz> - 4.2-5
- temporarily disable checks on s390 (memory corruption and stuck build)
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-4
- Rebuild with hdf5 1.8.9
* Wed Mar 21 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-3
- Update to real 4.2 final
* Tue Mar 20 2012 Dan Horák <dan[at]danny.cz> - 4.2-2
- use %%{mpi_list} also in %%check
* Fri Mar 16 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-1
- Update to 4.2 final
* Wed Mar 7 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-0.4.rc2
- Ship examples with -devel
* Wed Mar 7 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-0.3.rc2
- Enable MPI builds
* Tue Mar 6 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-0.2.rc2
- Update to 4.2-rc2
- Fortran and C++ APIs are now in separate packages
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-5
- Rebuilt for c++ ABI breakage
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Nov 18 2011 Orion Poplawski <orion@cora.nwra.com> - 4.1.3-3
- Rebuild for hdf5 1.8.8, add explicit requires
* Thu Aug 11 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 4.1.3-2
- Add ARM to valgrind excludes
* Tue Jun 21 2011 Orion Poplawski <orion@cora.nwra.com> - 4.1.3-1
- Update to 4.1.3
- Update pkgconfig and fflags patches
- Drop libm patch fixed upstream
* Tue May 17 2011 Orion Poplawski <orion@cora.nwra.com> - 4.1.2-2
- Rebuild for hdf5 1.8.7
* Thu Mar 31 2011 Orion Poplawski <orion@cora.nwra.com> - 4.1.2-1
- Update to 4.1.2 (soname bump)
- Add patch to add -lm to libnetcdf4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jul 19 2010 Dan Horák <dan[at]danny.cz> - 4.1.1-4
- no valgrind on s390(x)
* Mon Apr 19 2010 Orion Poplawski <orion@cora.nwra.com> - 4.1.1-3
- Explicitly link libnetcdf.so against -lhdf5_hl -lhdf5
* Fri Apr 9 2010 Orion Poplawski <orion@cora.nwra.com> - 4.1.1-2
- Add patch to cleanup nc-config --fflags
* Thu Apr 8 2010 Orion Poplawski <orion@cora.nwra.com> - 4.1.1-1
- Update to 4.1.1
* Fri Feb 5 2010 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-1
- Update to 4.1.0 final
* Mon Feb 1 2010 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.8.2010020100
- Update snapshot, pkgconfig patch
- Re-enable make check
* Sat Dec 5 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.7.2009120100
- Leave include files in /usr/include
* Tue Dec 1 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.6.2009120100
- Update snapshot, removes SZIP defines from header
* Fri Nov 13 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.5.2009111309
- Update snapshot
- Docs are installed now
* Wed Nov 11 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.5.2009111008
- Explicitly link libnetcdf to the hdf libraries, don't link with -lcurl
* Wed Nov 11 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.4.2009111008
- Add Requires: libcurl-devel to devel package
* Wed Nov 11 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.3.2009111008
- Drop hdf4 support - too problematic with linking all required libraries
* Wed Nov 11 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.2.2009111008
- Add patch to use proper hdf4 libraries
- Add Requires: hdf-devel, hdf5-devel to devel package
- Move nc-config to devel package
* Wed Nov 11 2009 Orion Poplawski <orion@cora.nwra.com> - 4.1.0-0.1.2009111008
- Update to 4.1.0 beta 2 snapshot
- Enable: netcdf-4, dap, hdf4, ncgen4, a lot more tests
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@ -208,10 +685,10 @@ fi
- building the library twice (once each for g77 and gfortran)
fixes an annoying problem for people who need both compilers
* Fri Sep 29 2005 Ed Hill <ed@eh3.com> - 3.6.0-7.p1
* Fri Sep 30 2005 Ed Hill <ed@eh3.com> - 3.6.0-7.p1
- add FFLAGS="-fPIC"
* Fri Jun 13 2005 Ed Hill <ed@eh3.com> - 3.6.0-6.p1
* Fri Jun 10 2005 Ed Hill <ed@eh3.com> - 3.6.0-6.p1
- rebuild
* Fri Jun 3 2005 Ed Hill <ed@eh3.com> - 3.6.0-5.p1
@ -220,7 +697,7 @@ fi
* Mon May 9 2005 Ed Hill <ed@eh3.com> - 3.6.0-4.p1
- remove hard-coded dist/fedora macros
* Wed May 5 2005 Ed Hill <ed@eh3.com> - 3.6.0-3.p1
* Wed May 4 2005 Ed Hill <ed@eh3.com> - 3.6.0-3.p1
- make netcdf-devel require netcdf (bug #156748)
- cleanup environment and paths

View File

@ -1 +1 @@
a251453c5477599f050fa4e593295186 netcdf-4.0.1.tar.gz
SHA512 (netcdf-4.7.0.tar.gz) = 6602799780105c60ac8c873ed4055c1512dc8bebf98de01e1cce572d113ffb3bf3ca522475b93255c415340f672c55dc6785e0bdbcc39055314683da1d02141a