]>
Commit | Line | Data |
---|---|---|
d35862d8 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # make check | |
4 | # | |
5 | Summary: Basic request handling for OPeNDAP servers | |
6 | Summary(pl.UTF-8): Podstawowa obsługa żądań dla serwerów OPeNDAP | |
7 | Name: dap-server | |
8 | Version: 4.1.3 | |
9 | Release: 1 | |
10 | License: LGPL v2.1+ | |
11 | Group: Daemons | |
12 | Source0: http://www.opendap.org/pub/source/%{name}-%{version}.tar.gz | |
13 | # Source0-md5: 4f11130d6d84c4d22ba2f116efcf6ef1 | |
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) | |
26 | ||
27 | %description | |
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. | |
32 | ||
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. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | # rebuild autotools for -as-needed to work | |
45 | %{__libtoolize} | |
46 | %{__aclocal} -I conf | |
47 | %{__autoconf} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
50 | %configure | |
51 | %{__make} | |
52 | ||
53 | %{?with_tests:%{__make} check} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files | |
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.* |