3 %bcond_with tests # make check (requires BES server)
5 Summary: WCS Request module for the OPeNDAP data server
6 Summary(pl.UTF-8): Moduł żądań WCS dla serwera danych OPeNDAP
7 Name: opendap-wcs_gateway_module
12 Source0: http://www.opendap.org/pub/source/wcs_gateway_module-%{version}.tar.gz
13 # Source0-md5: 1527f2207b30dd8528745a61dc6574aa
14 Patch0: %{name}-versions.patch
15 Patch1: %{name}-includes.patch
16 URL: http://opendap.org/
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake >= 1:1.10
19 %{?with_tests:BuildRequires: bes >= 3.8.0}
20 BuildRequires: bes-devel >= 3.8.0
21 %{?with_tests:BuildRequires: cppunit-devel >= 1.12.0}
22 BuildRequires: curl-devel >= 7.10.6
23 BuildRequires: libdap-devel >= 3.10.0
24 BuildRequires: libstdc++-devel
25 BuildRequires: libtool >= 2:1.5
26 BuildRequires: libxml2-devel >= 1:2.5.7
27 BuildRequires: pkgconfig
28 Requires: bes >= 3.8.0
29 Requires: curl >= 7.10.6
30 Requires: libdap >= 3.10.0
31 Requires: libxml2 >= 1:2.5.7
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 This is the WCS request module that is to be loaded in to the OPeNDAP
36 Back-End Server (BES). It makes a WCS request, which returns a netcdf
37 or hdf file, then reads the reponse files and returns DAP responses
38 that are compatible with DAP2 and the dap-server software.
40 %description -l pl.UTF-8
41 Ten pakiet zawiera moduł żądań WCS ładowany do serwera backendu danych
42 (BES) OPeNDAP. Tworzy żądania WCS, zwracające pliki netcdf lub hdf, a
43 następnie odczytuje pliki odpowiedzi i zwraca odpowiedzi DAP zgodne z
44 oprogramowaniem DAP2 i dap-server.
47 %setup -q -n wcs_gateway_module-%{version}
61 %{?with_tests:%{__make} check}
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
69 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc COPYRIGHT_URI ChangeLog NEWS README
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/wcsg.conf
78 %attr(755,root,root) %{_libdir}/bes/libwcs_gateway_module.so