]> git.pld-linux.org Git - packages/opendap-fileout_gdal.git/blame - opendap-fileout_gdal.spec
- release 2 (by relup.sh)
[packages/opendap-fileout_gdal.git] / opendap-fileout_gdal.spec
CommitLineData
11b5fc22
JB
1#
2# Conditional build:
3%bcond_with tests # make check (requires BES server)
4#
5Summary: OPeNDAP server module to return a GeoTiff, JP2k, etc., file for a DAP Data response
6Summary(pl.UTF-8): Moduł serwera OPeNDAP zwracający pliki GeoTiff, JP2k itp. jako odpowiedź DAP
7Name: opendap-fileout_gdal
daea5e7a 8Version: 0.9.4
fa5caaf9 9Release: 2
11b5fc22
JB
10License: LGPL v2.1+
11Group: Daemons
12Source0: http://www.opendap.org/pub/source/fileout_gdal-%{version}.tar.gz
daea5e7a 13# Source0-md5: 85428b7c475f4cbd8b79e28aaba0bfd0
11b5fc22
JB
14Patch0: %{name}-includes.patch
15URL: http://opendap.org/
16BuildRequires: autoconf >= 2.61
17BuildRequires: automake >= 1:1.10
38ae03b7
JB
18%{?with_tests:BuildRequires: bes >= 3.13.0}
19BuildRequires: bes-devel >= 3.13.0
11b5fc22 20BuildRequires: gdal-devel >= 1.9.0
38ae03b7 21BuildRequires: libdap-devel >= 3.13.0
11b5fc22
JB
22BuildRequires: libstdc++-devel
23BuildRequires: libtool >= 2:1.5
24BuildRequires: pkgconfig
38ae03b7 25Requires: bes >= 3.13.0
11b5fc22 26Requires: gdal >= 1.9.0
38ae03b7 27Requires: libdap >= 3.13.0
11b5fc22
JB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This is the fileout GDAL response handler for Hyrax - the OPeNDAP data
32server. With this handler a server can easily be configured to return
33data packaged in a GeoTiff, JP2, etc., file.
34
35%description -l pl.UTF-8
36Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący
37odpowiedzi fileout GDAL. Przy jego użyciu można łatwo skonfigurować
38serwer, aby zwracał dane spakowane w pliku GeoTiff, JP2 itp.
39
40%prep
41%setup -q -n fileout_gdal-%{version}
42%patch0 -p1
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
58rm -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
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
70%doc ChangeLog NEWS README
71%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fong.conf
72%attr(755,root,root) %{_libdir}/bes/libfong_module.so
This page took 0.135358 seconds and 4 git commands to generate.