]> git.pld-linux.org Git - packages/opendap-wcs_gateway_module.git/blob - opendap-wcs_gateway_module.spec
- release 2 (by relup.sh)
[packages/opendap-wcs_gateway_module.git] / opendap-wcs_gateway_module.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # make check (requires BES server)
4 #
5 Summary:        WCS Request module for the OPeNDAP data server
6 Summary(pl.UTF-8):      Moduł żądań WCS dla serwera danych OPeNDAP
7 Name:           opendap-wcs_gateway_module
8 Version:        1.1.0
9 Release:        2
10 License:        LGPL v2.1+
11 Group:          Daemons
12 Source0:        http://www.opendap.org/pub/source/wcs_gateway_module-%{version}.tar.gz
13 # Source0-md5:  1527f2207b30dd8528745a61dc6574aa
14 Patch0:         %{name}-versions.patch
15 Patch1:         %{name}-includes.patch
16 URL:            http://opendap.org/
17 BuildRequires:  autoconf >= 2.59
18 BuildRequires:  automake >= 1:1.10
19 %{?with_tests:BuildRequires:    bes >= 3.8.0}
20 BuildRequires:  bes-devel >= 3.8.0
21 %{?with_tests:BuildRequires:    cppunit-devel >= 1.12.0}
22 BuildRequires:  curl-devel >= 7.10.6
23 BuildRequires:  libdap-devel >= 3.10.0
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  libtool >= 2:1.5
26 BuildRequires:  libxml2-devel >= 1:2.5.7
27 BuildRequires:  pkgconfig
28 Requires:       bes >= 3.8.0
29 Requires:       curl >= 7.10.6
30 Requires:       libdap >= 3.10.0
31 Requires:       libxml2 >= 1:2.5.7
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 This is the WCS request module that is to be loaded in to the OPeNDAP
36 Back-End Server (BES). It makes a WCS request, which returns a netcdf
37 or hdf file, then reads the reponse files and returns DAP responses
38 that are compatible with DAP2 and the dap-server software.
39
40 %description -l pl.UTF-8
41 Ten pakiet zawiera moduł żądań WCS ładowany do serwera backendu danych
42 (BES) OPeNDAP. Tworzy żądania WCS, zwracające pliki netcdf lub hdf, a
43 następnie odczytuje pliki odpowiedzi i zwraca odpowiedzi DAP zgodne z
44 oprogramowaniem DAP2 i dap-server.
45
46 %prep
47 %setup -q -n wcs_gateway_module-%{version}
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 %{__libtoolize}
53 %{__aclocal} -I conf
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure \
58         --disable-static
59 %{__make}
60
61 %{?with_tests:%{__make} check}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc COPYRIGHT_URI ChangeLog NEWS README
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/wcsg.conf
78 %attr(755,root,root) %{_libdir}/bes/libwcs_gateway_module.so
This page took 0.097587 seconds and 3 git commands to generate.