]> git.pld-linux.org Git - packages/opendap-netcdf_handler.git/blob - opendap-netcdf_handler.spec
2cffc3f012769a605100338a415bcabde663d228
[packages/opendap-netcdf_handler.git] / opendap-netcdf_handler.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # make check (requires BES server)
4 #
5 Summary:        NetCDF 3 data handler module for the OPeNDAP data server
6 Summary(pl.UTF-8):      Moduł obsługujący dane NetCDF 3 dla serwera danych OPeNDAP
7 Name:           opendap-netcdf_handler
8 Version:        3.10.3
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Daemons
12 Source0:        http://www.opendap.org/pub/source/netcdf_handler-%{version}.tar.gz
13 # Source0-md5:  a4453fbf1f2a73ede4aa399cd02021c3
14 URL:            http://opendap.org/
15 BuildRequires:  autoconf >= 2.61
16 BuildRequires:  automake >= 1:1.10
17 %{?with_tests:BuildRequires:    bes >= 3.9.0}
18 BuildRequires:  bes-devel >= 3.9.0
19 BuildRequires:  libdap-devel >= 3.11.0
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool >= 2:2
22 BuildRequires:  netcdf-devel >= 3.6
23 BuildRequires:  pkgconfig
24 Requires:       bes >= 3.9.0
25 Requires:       libdap >= 3.11.0
26 Requires:       netcdf >= 3.6
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This is the NetCDF data handler module for the OPeNDAP data server. It
31 reads NetCDF 3 files and returns DAP responses that are compatible
32 with DAP2 and the dap-server software.
33
34 %description -l pl.UTF-8
35 Ten pakiet zawiera moduł obsługujący dane NetCDF dla serwera danych
36 OPeNDAP. Odczytuje pliki NetCDF 3 i zwraca odpowiedzi DAP zgodne z
37 oprogramowaniem DAP2 i dap-server.
38
39 %prep
40 %setup -q -n netcdf_handler-%{version}
41
42 %build
43 # rebuild autotools for -as-needed to work
44 %{__libtoolize}
45 %{__aclocal} -I conf
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %{?with_tests:%{__make} check}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc COPYRIGHT ChangeLog NEWS README
68 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/nc.conf
69 %attr(755,root,root) %{_libdir}/bes/libnc_module.so
70 %dir %{_datadir}/hyrax/data/nc
71 %{_datadir}/hyrax/data/nc/*.das
72 %{_datadir}/hyrax/data/nc/*.nc
73 %doc %{_datadir}/hyrax/data/nc/*.nc.html
This page took 0.058467 seconds and 2 git commands to generate.