]> git.pld-linux.org Git - packages/opendap-netcdf_handler.git/blob - opendap-netcdf_handler.spec
- updated to 3.10.4
[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.4
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:  2e7f1a6f2f24653355833e4413cbd64b
14 URL:            http://opendap.org/
15 BuildRequires:  autoconf >= 2.61
16 BuildRequires:  automake >= 1:1.10
17 %{?with_tests:BuildRequires:    bes >= 3.13.0}
18 BuildRequires:  bes-devel >= 3.13.0
19 BuildRequires:  libdap-devel >= 3.13.0
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool >= 2:2
22 BuildRequires:  netcdf-devel >= 4
23 BuildRequires:  pkgconfig
24 Requires:       bes >= 3.13.0
25 Requires:       libdap >= 3.13.0
26 Requires:       netcdf >= 4
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.064349 seconds and 3 git commands to generate.