]> git.pld-linux.org Git - SPECS.git/blob - opendap-fileout_gdal.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / opendap-fileout_gdal.spec
1 # NOTE: for versions >= 0.9.8 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 GeoTiff, JP2k, etc., file for a DAP Data response
7 Summary(pl.UTF-8):      Moduł serwera OPeNDAP zwracający pliki GeoTiff, JP2k itp. jako odpowiedź DAP
8 Name:           opendap-fileout_gdal
9 Version:        0.9.4
10 Release:        2
11 License:        LGPL v2.1+
12 Group:          Daemons
13 Source0:        http://www.opendap.org/pub/source/fileout_gdal-%{version}.tar.gz
14 # Source0-md5:  85428b7c475f4cbd8b79e28aaba0bfd0
15 Patch0:         %{name}-includes.patch
16 URL:            http://opendap.org/
17 BuildRequires:  autoconf >= 2.61
18 BuildRequires:  automake >= 1:1.10
19 %{?with_tests:BuildRequires:    bes >= 3.13.0}
20 BuildRequires:  bes-devel >= 3.13.0
21 BuildRequires:  bes-devel < 3.14
22 BuildRequires:  gdal-devel >= 1.9.0
23 BuildRequires:  libdap-devel >= 3.13.0
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  libtool >= 2:1.5
26 BuildRequires:  pkgconfig
27 Requires:       bes >= 3.13.0
28 Requires:       gdal >= 1.9.0
29 Requires:       libdap >= 3.13.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This is the fileout GDAL response handler for Hyrax - the OPeNDAP data
34 server. With this handler a server can easily be configured to return
35 data packaged in a GeoTiff, JP2, etc., file.
36
37 %description -l pl.UTF-8
38 Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący
39 odpowiedzi fileout GDAL. Przy jego użyciu można łatwo skonfigurować
40 serwer, aby zwracał dane spakowane w pliku GeoTiff, JP2 itp.
41
42 %prep
43 %setup -q -n fileout_gdal-%{version}
44 %patch0 -p1
45
46 %build
47 # rebuild autotools for -as-needed to work
48 %{__libtoolize}
49 %{__aclocal} -I conf
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --with-openjpeg-prefix=/usr
55 %{__make}
56
57 %{?with_tests:%{__make} check}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc ChangeLog NEWS README
73 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fong.conf
74 %attr(755,root,root) %{_libdir}/bes/libfong_module.so
This page took 0.050422 seconds and 3 git commands to generate.