]> git.pld-linux.org Git - packages/opendap-gdal_handler.git/blame - opendap-gdal_handler.spec
- updated to 0.9.4
[packages/opendap-gdal_handler.git] / opendap-gdal_handler.spec
CommitLineData
35946254
JB
1#
2# Conditional build:
3%bcond_with tests # make check (requires BES server)
4#
5Summary: GDAL data handler module for the OPeNDAP data server
6Summary(pl.UTF-8): Moduł obsługujący dane GDAL dla serwera danych OPeNDAP
7Name: opendap-gdal_handler
7608b78c 8Version: 0.9.4
35946254
JB
9Release: 1
10License: LGPL v2.1+
11Group: Daemons
12Source0: http://www.opendap.org/pub/source/gdal_handler-%{version}.tar.gz
7608b78c 13# Source0-md5: fe320903fa1fae1e0da1df6e3e4b3534
35946254
JB
14URL: http://opendap.org/
15BuildRequires: autoconf >= 2.61
16BuildRequires: automake >= 1:1.10
7608b78c
JB
17%{?with_tests:BuildRequires: bes >= 3.13.0}
18BuildRequires: bes-devel >= 3.13.0
19BuildRequires: gdal-devel >= 1.10
20BuildRequires: libdap-devel >= 3.13.0
35946254
JB
21BuildRequires: libstdc++-devel
22BuildRequires: libtool >= 2:2
23BuildRequires: pkgconfig
7608b78c
JB
24Requires: bes >= 3.13.0
25Requires: gdal >= 1.10
26Requires: libdap >= 3.13.0
35946254
JB
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This is the GDAL data handler module for the OPeNDAP data server. It
31should be able to serve any file that can be read using the GDAL
32library.
33
34%description -l pl.UTF-8
35Ten pakiet zawiera moduł obsługujący dane GDAL dla serwera danych
36OPeNDAP. Powinien być w stanie zaserwować dowolny plik, który można
37odczytać 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
56rm -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
64rm -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.081715 seconds and 4 git commands to generate.