|
|
@ -1,12 +1,12 @@
|
|
|
|
Name: netcdf
|
|
|
|
Name: netcdf
|
|
|
|
Version: 3.6.0
|
|
|
|
Version: 3.6.1
|
|
|
|
Release: 10.p1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Libraries for the Unidata network Common Data Form (NetCDF v3)
|
|
|
|
Summary: Libraries for the Unidata network Common Data Form (NetCDF v3)
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Engineering
|
|
|
|
Group: Applications/Engineering
|
|
|
|
License: NetCDF
|
|
|
|
License: NetCDF
|
|
|
|
URL: http://my.unidata.ucar.edu/content/software/netcdf/index.html
|
|
|
|
URL: http://my.unidata.ucar.edu/content/software/netcdf/index.html
|
|
|
|
Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.6.0-p1.tar.gz
|
|
|
|
Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.6.1.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-gfortran
|
|
|
|
BuildRequires: gcc-gfortran
|
|
|
@ -53,13 +53,14 @@ pages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n netcdf-3.6.0-p1
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
cd src
|
|
|
|
cd src
|
|
|
|
export FC="gfortran"
|
|
|
|
export FC="g77"
|
|
|
|
export CPPFLAGS="-fPIC"
|
|
|
|
export F90=
|
|
|
|
|
|
|
|
export CPPFLAGS="-fPIC -Df2cFortran"
|
|
|
|
export FFLAGS="-fPIC"
|
|
|
|
export FFLAGS="-fPIC"
|
|
|
|
%configure
|
|
|
|
%configure
|
|
|
|
# WARNING!
|
|
|
|
# WARNING!
|
|
|
@ -69,7 +70,9 @@ make
|
|
|
|
mkdir lib_g77
|
|
|
|
mkdir lib_g77
|
|
|
|
cp libsrc/libnetcdf.a lib_g77
|
|
|
|
cp libsrc/libnetcdf.a lib_g77
|
|
|
|
make clean
|
|
|
|
make clean
|
|
|
|
CPPFLAGS="-fPIC -DpgiFortran"
|
|
|
|
export FC="gfortran"
|
|
|
|
|
|
|
|
export F90="gfortran"
|
|
|
|
|
|
|
|
export CPPFLAGS="-fPIC -DpgiFortran"
|
|
|
|
%configure
|
|
|
|
%configure
|
|
|
|
make
|
|
|
|
make
|
|
|
|
# The below seems to work but I worry that it would lead to odd runtime
|
|
|
|
# The below seems to work but I worry that it would lead to odd runtime
|
|
|
@ -78,6 +81,7 @@ make
|
|
|
|
# one for the older g77 and one for gfortran.
|
|
|
|
# one for the older g77 and one for gfortran.
|
|
|
|
# ar cru libsrc/libnetcdf.a lib_g77/libnetcdf.a
|
|
|
|
# ar cru libsrc/libnetcdf.a lib_g77/libnetcdf.a
|
|
|
|
unset FC
|
|
|
|
unset FC
|
|
|
|
|
|
|
|
unset F90
|
|
|
|
unset CPPFLAGS
|
|
|
|
unset CPPFLAGS
|
|
|
|
unset FFLAGS
|
|
|
|
unset FFLAGS
|
|
|
|
|
|
|
|
|
|
|
@ -116,6 +120,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 21 2006 Ed Hill <ed@eh3.com> - 3.6.1-1
|
|
|
|
|
|
|
|
- update to upstream 3.6.1
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 16 2006 Ed Hill <ed@eh3.com> - 3.6.0-10.p1
|
|
|
|
* Thu Feb 16 2006 Ed Hill <ed@eh3.com> - 3.6.0-10.p1
|
|
|
|
- rebuild for new GCC
|
|
|
|
- rebuild for new GCC
|
|
|
|
|
|
|
|
|
|
|
|