3 %bcond_with tests # make check (requires BES server)
5 Summary: FreeForm data handler module for the OPeNDAP data server
6 Summary(pl.UTF-8): Moduł obsługujący dane FreeForm dla serwera danych OPeNDAP
7 Name: opendap-freeform_handler
12 Source0: http://www.opendap.org/pub/source/freeform_handler-%{version}.tar.gz
13 # Source0-md5: f3c3ceab59db4c33492f5575c3a3cefb
14 URL: http://opendap.org/
15 BuildRequires: autoconf >= 2.63
16 BuildRequires: automake
17 %{?with_tests:BuildRequires: bes >= 3.9.0}
18 BuildRequires: bes-devel >= 3.9.0
19 BuildRequires: libdap-devel >= 3.11.0
20 BuildRequires: libstdc++-devel
21 BuildRequires: libtool >= 2:1.5
22 BuildRequires: pkgconfig
23 Requires: bes >= 3.9.0
24 Requires: libdap >= 3.11.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This is the FreeForm data handler module for the OPeNDAP data server.
29 It reads ASCII, binary and DB4 files which have been described using
30 FreeForm and returns DAP responses that are compatible with DAP2 and
31 the dap-server software.
33 %description -l pl.UTF-8
34 Ten pakiet zawiera moduł obsługujący dane FreeForm dla serwera danych
35 OPeNDAP. Odczytuje dane z plików ASCII, binarnych i DB4 opisane przy
36 użyciu FreeForm i zwraca odpowiedzi DAP zgodne z oprogramowaniem DAP2
40 %setup -q -n freeform_handler-%{version}
43 # rebuild autotools for -as-needed to work
52 %{?with_tests:%{__make} check}
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc COPYRIGHT ChangeLog NEWS README
68 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ff.conf
69 %attr(755,root,root) %{_libdir}/bes/libff_module.so
70 %dir %{_datadir}/hyrax/data/ff
71 %{_datadir}/hyrax/data/ff/*.dat
72 %{_datadir}/hyrax/data/ff/*.das
73 %{_datadir}/hyrax/data/ff/*.fmt