1 # NOTE: for versions >= 1.4.0 see bes.spec
4 %bcond_with tests # make check (requires BES server)
6 Summary: OPeNDAP server module to return a NetCDF file for a DAP Data response
7 Summary(pl.UTF-8): Moduł serwera OPeNDAP zwracający pliki NetCDF jako odpowiedź DAP
8 Name: opendap-fileout_netcdf
13 Source0: http://www.opendap.org/pub/source/fileout_netcdf-%{version}.tar.gz
14 # Source0-md5: bb1c9a39262900ac6d2d095f751cbeac
15 URL: http://opendap.org/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.10
18 %{?with_tests:BuildRequires: bes >= 3.13.0}
19 BuildRequires: bes-devel >= 3.13.0
20 BuildRequires: bes-devel < 3.14
21 BuildRequires: libdap-devel >= 3.13.0
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool >= 2:2
24 BuildRequires: netcdf-devel >= 4.0.0
25 BuildRequires: pkgconfig
26 Requires: bes >= 3.13.0
27 Requires: libdap >= 3.13.0
28 Requires: netcdf >= 4.0.0
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This is the fileout netCDF response handler for Hyrax - the OPeNDAP
33 data server. With this handler a server can easily be configured to
34 return data packaged in a netCDF 3 file.
36 %description -l pl.UTF-8
37 Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący
38 odpowiedzi fileout netCDF. Przy jego użyciu można łatwo skonfigurować
39 serwer, aby zwracał dane spakowane w pliku netCDF 3.
42 %setup -q -n fileout_netcdf-%{version}
45 # rebuild autotools for -as-needed to work
52 --with-openjpeg-prefix=/usr
55 %{?with_tests:%{__make} check}
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc COPYRIGHT ChangeLog NEWS README
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fonc.conf
72 %attr(755,root,root) %{_libdir}/bes/libfonc_module.so