|
|
|
|
@ -31,11 +31,8 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Libraries |
|
|
|
|
License: Open Source |
|
|
|
|
Version: 4.4.1 |
|
|
|
|
Release: 20161222 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_cxx yes |
|
|
|
|
Version: 4.6.0 |
|
|
|
|
Release: 20180125 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%{version}.tar.gz |
|
|
|
|
@ -43,9 +40,6 @@ Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%{version}.tar.gz
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, make, gcc |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
%if "%{with_cxx}" == "yes" |
|
|
|
|
BuildPreReq: gcc::with_cxx = yes |
|
|
|
|
%endif |
|
|
|
|
BuildPreReq: hdf |
|
|
|
|
PreReq: hdf |
|
|
|
|
|
|
|
|
|
@ -78,14 +72,8 @@ PreReq: hdf
|
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--mandir=%{l_prefix}/man \ |
|
|
|
|
--infodir=%{l_prefix}/info \ |
|
|
|
|
%if "%{with_cxx}" == "yes" |
|
|
|
|
--enable-cxx \ |
|
|
|
|
%else |
|
|
|
|
--disable-cxx \ |
|
|
|
|
%endif |
|
|
|
|
--disable-f77 \ |
|
|
|
|
--disable-f90 \ |
|
|
|
|
--disable-dynamic-loading \ |
|
|
|
|
--disable-dap \ |
|
|
|
|
--disable-shared \ |
|
|
|
|
--disable-examples |
|
|
|
|
%{l_make} %{l_mflags} |
|
|
|
|
|