]> git.pld-linux.org Git - packages/opendap-gdal_handler.git/blob - opendap-gdal_handler.spec
- updated to 0.9.4
[packages/opendap-gdal_handler.git] / opendap-gdal_handler.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # make check (requires BES server)
4 #
5 Summary:        GDAL data handler module for the OPeNDAP data server
6 Summary(pl.UTF-8):      Moduł obsługujący dane GDAL dla serwera danych OPeNDAP
7 Name:           opendap-gdal_handler
8 Version:        0.9.4
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Daemons
12 Source0:        http://www.opendap.org/pub/source/gdal_handler-%{version}.tar.gz
13 # Source0-md5:  fe320903fa1fae1e0da1df6e3e4b3534
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:  gdal-devel >= 1.10
20 BuildRequires:  libdap-devel >= 3.13.0
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libtool >= 2:2
23 BuildRequires:  pkgconfig
24 Requires:       bes >= 3.13.0
25 Requires:       gdal >= 1.10
26 Requires:       libdap >= 3.13.0
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This is the GDAL data handler module for the OPeNDAP data server. It
31 should be able to serve any file that can be read using the GDAL
32 library.
33
34 %description -l pl.UTF-8
35 Ten pakiet zawiera moduł obsługujący dane GDAL dla serwera danych
36 OPeNDAP. Powinien być w stanie zaserwować dowolny plik, który można
37 odczytać przy użyciu biblioteki GDAL.
38
39 %prep
40 %setup -q -n gdal_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         --disable-static
51 %{__make}
52
53 %{?with_tests:%{__make} check}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc ChangeLog NEWS README
69 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/gdal.conf
70 %attr(755,root,root) %{_libdir}/bes/libgdal_module.so
71 %dir %{_datadir}/hyrax/data/gdal
72 %{_datadir}/hyrax/data/gdal/*.bz2
73 %{_datadir}/hyrax/data/gdal/*.jp2
74 %{_datadir}/hyrax/data/gdal/*.jpg
75 %{_datadir}/hyrax/data/gdal/*.lgo
76 %{_datadir}/hyrax/data/gdal/*.tif
77 %{_datadir}/hyrax/data/gdal/*.TIF
78 %{_datadir}/hyrax/data/gdal/*.txt
79 %doc %{_datadir}/hyrax/data/gdal/README
This page took 0.077573 seconds and 3 git commands to generate.