]> git.pld-linux.org Git - SPECS.git/blob - opendap-fileout_netcdf.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / opendap-fileout_netcdf.spec
1 # NOTE: for versions >= 1.4.0 see bes.spec
2 #
3 # Conditional build:
4 %bcond_with     tests   # make check (requires BES server)
5 #
6 Summary:        OPeNDAP server module to return a NetCDF file for a DAP Data response
7 Summary(pl.UTF-8):      Moduł serwera OPeNDAP zwracający pliki NetCDF jako odpowiedź DAP
8 Name:           opendap-fileout_netcdf
9 Version:        1.2.4
10 Release:        2
11 License:        LGPL v2.1+
12 Group:          Daemons
13 Source0:        http://www.opendap.org/pub/source/fileout_netcdf-%{version}.tar.gz
14 # Source0-md5:  bb1c9a39262900ac6d2d095f751cbeac
15 URL:            http://opendap.org/
16 BuildRequires:  autoconf >= 2.59
17 BuildRequires:  automake >= 1:1.10
18 %{?with_tests:BuildRequires:    bes >= 3.13.0}
19 BuildRequires:  bes-devel >= 3.13.0
20 BuildRequires:  bes-devel < 3.14
21 BuildRequires:  libdap-devel >= 3.13.0
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  libtool >= 2:2
24 BuildRequires:  netcdf-devel >= 4.0.0
25 BuildRequires:  pkgconfig
26 Requires:       bes >= 3.13.0
27 Requires:       libdap >= 3.13.0
28 Requires:       netcdf >= 4.0.0
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 This is the fileout netCDF response handler for Hyrax - the OPeNDAP
33 data server. With this handler a server can easily be configured to
34 return data packaged in a netCDF 3 file.
35
36 %description -l pl.UTF-8
37 Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący
38 odpowiedzi fileout netCDF. Przy jego użyciu można łatwo skonfigurować
39 serwer, aby zwracał dane spakowane w pliku netCDF 3.
40
41 %prep
42 %setup -q -n fileout_netcdf-%{version}
43
44 %build
45 # rebuild autotools for -as-needed to work
46 %{__libtoolize}
47 %{__aclocal} -I conf
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --with-openjpeg-prefix=/usr
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/fonc.conf
72 %attr(755,root,root) %{_libdir}/bes/libfonc_module.so
This page took 1.749187 seconds and 3 git commands to generate.