]> git.pld-linux.org Git - packages/opendap-gateway_module.git/blame - opendap-gateway_module.spec
- updated to 1.1.2
[packages/opendap-gateway_module.git] / opendap-gateway_module.spec
CommitLineData
343e8808
JB
1#
2# Conditional build:
3%bcond_with tests # make check (requires BES server)
4#
5Summary: Gateway module for the OPeNDAP data server
6Summary(pl.UTF-8): Moduł bramki dla serwera danych OPeNDAP
7Name: opendap-gateway_module
393fe8f2 8Version: 1.1.2
343e8808
JB
9Release: 1
10License: LGPL v2.1+
11Group: Daemons
12Source0: http://www.opendap.org/pub/source/gateway_module-%{version}.tar.gz
393fe8f2 13# Source0-md5: bf91212327e59bbd7eeb168b4cfb818a
343e8808
JB
14Patch0: %{name}-includes.patch
15Patch1: %{name}-link.patch
16URL: http://opendap.org/
17BuildRequires: autoconf >= 2.59
18BuildRequires: automake >= 1:1.10
393fe8f2
JB
19%{?with_tests:BuildRequires: bes >= 3.13.0}
20BuildRequires: bes-devel >= 3.13.0
343e8808 21BuildRequires: curl-devel
393fe8f2 22BuildRequires: libdap-devel >= 3.13.0
343e8808
JB
23BuildRequires: libstdc++-devel
24BuildRequires: libtool >= 2:1.5
25BuildRequires: pkgconfig
393fe8f2
JB
26Requires: bes >= 3.13.0
27Requires: libdap >= 3.13.0
343e8808
JB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This is the Gateway module for the OPeNDAP data server. It allows a
32remote URL to be passed as a container to the BES, have that remote
33URL accessed, and served locally.
34
35%description -l pl.UTF-8
36Ten pakiet zawiera moduł bramki (Gateway) dla serwera danych OPeNDAP.
37Pozwala na przekazanie zdalnego URL-a jako kontenera do BES, który
38odwoł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
58rm -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
66rm -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.097583 seconds and 4 git commands to generate.