]> git.pld-linux.org Git - packages/opendap-gateway_module.git/blob - opendap-gateway_module.spec
ce11a5a7794e8af58d86201ada94bb77b9cf624f
[packages/opendap-gateway_module.git] / opendap-gateway_module.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # make check (requires BES server)
4 #
5 Summary:        Gateway module for the OPeNDAP data server
6 Summary(pl.UTF-8):      Moduł bramki dla serwera danych OPeNDAP
7 Name:           opendap-gateway_module
8 Version:        1.1.1
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Daemons
12 Source0:        http://www.opendap.org/pub/source/gateway_module-%{version}.tar.gz
13 # Source0-md5:  ab84958865ad4c6f6d12aa58186231c1
14 Patch0:         %{name}-includes.patch
15 Patch1:         %{name}-link.patch
16 URL:            http://opendap.org/
17 BuildRequires:  autoconf >= 2.59
18 BuildRequires:  automake >= 1:1.10
19 %{?with_tests:BuildRequires:    bes >= 3.9.0}
20 BuildRequires:  bes-devel >= 3.9.0
21 BuildRequires:  curl-devel
22 BuildRequires:  libdap-devel >= 3.11.0
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libtool >= 2:1.5
25 BuildRequires:  pkgconfig
26 Requires:       bes >= 3.9.0
27 Requires:       libdap >= 3.11.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This is the Gateway module for the OPeNDAP data server. It allows a
32 remote URL to be passed as a container to the BES, have that remote
33 URL accessed, and served locally.
34
35 %description -l pl.UTF-8
36 Ten pakiet zawiera moduł bramki (Gateway) dla serwera danych OPeNDAP.
37 Pozwala na przekazanie zdalnego URL-a jako kontenera do BES, który
38 odwołuje się do tego zdalnego URL-a i serwuje go lokalnie.
39
40 %prep
41 %setup -q -n gateway_module-%{version}
42 %patch0 -p1
43 %patch1 -p1
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/gateway.conf
72 %attr(755,root,root) %{_libdir}/bes/libgateway_module.so
This page took 0.092619 seconds and 2 git commands to generate.