1 # NOTE: for versions >= 4.2.3 see bes.spec
4 %bcond_without tests # make check
6 Summary: Basic request handling for OPeNDAP servers
7 Summary(pl.UTF-8): Podstawowa obsługa żądań dla serwerów OPeNDAP
13 Source0: http://www.opendap.org/pub/source/%{name}-%{version}.tar.gz
14 # Source0-md5: 871bf62d2d7f184dcabc7645ed013158
15 URL: http://opendap.org/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.10
18 BuildRequires: bes-devel >= 3.9.0
19 BuildRequires: bes-devel < 3.14
20 %{?with_tests:BuildRequires: cppunit-devel >= 1.12.0}
21 BuildRequires: libdap-devel >= 3.11.0
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: pkgconfig
25 Requires: bes >= 3.9.0
26 Requires: libdap >= 3.11.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This package contains general purpose handlers for use with the new
31 Hyrax data server. These are the Usage, ASCII and HTML form handlers.
32 Each takes input from a 'data handler' and returns a HTML or plain
33 text response - something other than a DAP response object.
35 %description -l pl.UTF-8
36 Ten pakiet zawiera kilka procedur obsługi ogólnego przeznaczenia dla
37 nowego serwera danych Hyrax. Są to procedury obsługi Usage, ASCII oraz
38 formularzy HTML. Każdy z nich pobiera wejście z procedury obsługi
39 danych i zwraca odpowiedź w formacie HTML lub czystego tekstu - czegoś
40 innego, niż obiekt odpowiedzi DAP.
46 # rebuild autotools for -as-needed to work
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/dap-server.conf
72 %attr(755,root,root) %{_libdir}/bes/libascii_module.so
73 %attr(755,root,root) %{_libdir}/bes/libusage_module.so
74 %attr(755,root,root) %{_libdir}/bes/libwww_module.so
75 %{_datadir}/bes/dap-server_help.*