]> git.pld-linux.org Git - packages/dap-server.git/blob - dap-server.spec
- built from bes.spec now
[packages/dap-server.git] / dap-server.spec
1 # NOTE: for versions >= 4.2.3 see bes.spec
2 #
3 # Conditional build:
4 %bcond_without  tests   # make check
5 #
6 Summary:        Basic request handling for OPeNDAP servers
7 Summary(pl.UTF-8):      Podstawowa obsługa żądań dla serwerów OPeNDAP
8 Name:           dap-server
9 Version:        4.1.6
10 Release:        1
11 License:        LGPL v2.1+
12 Group:          Daemons
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)
28
29 %description
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.
34
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.
41
42 %prep
43 %setup -q
44
45 %build
46 # rebuild autotools for -as-needed to work
47 %{__libtoolize}
48 %{__aclocal} -I conf
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
53 %{__make}
54
55 %{?with_tests:%{__make} check}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
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.*
This page took 0.081871 seconds and 3 git commands to generate.