3 %bcond_without tests # make check
5 Summary: Basic request handling for OPeNDAP servers
6 Summary(pl.UTF-8): Podstawowa obsługa żądań dla serwerów OPeNDAP
12 Source0: http://www.opendap.org/pub/source/%{name}-%{version}.tar.gz
13 # Source0-md5: 871bf62d2d7f184dcabc7645ed013158
14 URL: http://opendap.org/
15 BuildRequires: autoconf >= 2.59
16 BuildRequires: automake >= 1:1.10
17 BuildRequires: bes-devel >= 3.9.0
18 %{?with_tests:BuildRequires: cppunit-devel >= 1.12.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 package contains general purpose handlers for use with the new
29 Hyrax data server. These are the Usage, ASCII and HTML form handlers.
30 Each takes input from a 'data handler' and returns a HTML or plain
31 text response - something other than a DAP response object.
33 %description -l pl.UTF-8
34 Ten pakiet zawiera kilka procedur obsługi ogólnego przeznaczenia dla
35 nowego serwera danych Hyrax. Są to procedury obsługi Usage, ASCII oraz
36 formularzy HTML. Każdy z nich pobiera wejście z procedury obsługi
37 danych i zwraca odpowiedź w formacie HTML lub czystego tekstu - czegoś
38 innego, niż obiekt odpowiedzi DAP.
44 # rebuild autotools for -as-needed to work
53 %{?with_tests:%{__make} check}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
61 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc COPYRIGHT_* ChangeLog NEWS README
69 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/dap-server.conf
70 %attr(755,root,root) %{_libdir}/bes/libascii_module.so
71 %attr(755,root,root) %{_libdir}/bes/libusage_module.so
72 %attr(755,root,root) %{_libdir}/bes/libwww_module.so
73 %{_datadir}/bes/dap-server_help.*