SHA256
1
0
forked from pool/gdal

Accepting request 348133 from Application:Geo

- Enable opencl and freexl support
- Update dependencies

OBS-URL: https://build.opensuse.org/request/show/348133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdal?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2015-12-13 08:39:54 +00:00 committed by Git OBS Bridge
commit 51a9f11c8c
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 9 16:05:00 UTC 2015 - mpluskal@suse.com
- Enable opencl and freexl support
- Update dependencies
-------------------------------------------------------------------
Fri Sep 25 11:29:38 UTC 2015 - ecsos@opensuse.org

View File

@ -53,6 +53,7 @@ BuildRequires: libspatialite-devel
BuildRequires: libtiff-devel >= 3.6.0
BuildRequires: libtool
BuildRequires: libxerces-c-devel
BuildRequires: libxml2-devel
BuildRequires: netcdf-devel
BuildRequires: openjpeg2-devel
BuildRequires: poppler-devel
@ -71,10 +72,14 @@ BuildRequires: libecwj2-devel
%if 0%{?suse_version} >= 1310
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: freexl-devel
BuildRequires: hdf5-devel
%endif
%if 0%{?suse_version} > 1310 && 0%{?suse_version} != 1315
BuildRequires: libwebp-devel
%endif
%if 0%{?suse_version} > 1320
BuildRequires: libjson-c-devel
BuildRequires: ocl-icd-devel
BuildRequires: opencl-headers
BuildRequires: perl-ExtUtils-MakeMaker
%else
BuildRequires: hdf-devel >= 4.0
@ -160,7 +165,7 @@ rm -r man
%build
# need to regenerate (old one does not accpet CFLAGS)
%if 0%{?suse_version} >= 1310
autoreconf -fi
autoreconf -fiv
%endif
%configure \
@ -196,6 +201,7 @@ autoreconf -fi
--with-python \
--with-perl \
--with-mysql \
--with-freexl \
--with-xerces=yes \
--with-xerces-lib="-lxerces-c" \
--with-xerces-inc=%{_includedir}/xercesc \
@ -203,6 +209,9 @@ autoreconf -fi
--with-ecw \
CFLAGS="$CFLAGS -pthread" \
%endif
%if 0%{?suse_version} > 1320
--with-opencl \
%endif
%if 0%{?suse_version} > 1310
--without-hdf4 \
--with-hdf5 \