Accepting request 347578 from home:pluskalm:branches:Application:Geo
- Enable opencl and freexl support - Update dependencies OBS-URL: https://build.opensuse.org/request/show/347578 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=21
This commit is contained in:
parent
f744c2e1b0
commit
c555fefb10
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 5 16:05:16 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Enable opencl and freexl support
|
||||||
|
- Update dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 25 11:29:38 UTC 2015 - ecsos@opensuse.org
|
Fri Sep 25 11:29:38 UTC 2015 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
13
gdal.spec
13
gdal.spec
@ -53,6 +53,7 @@ BuildRequires: libspatialite-devel
|
|||||||
BuildRequires: libtiff-devel >= 3.6.0
|
BuildRequires: libtiff-devel >= 3.6.0
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxerces-c-devel
|
BuildRequires: libxerces-c-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: netcdf-devel
|
BuildRequires: netcdf-devel
|
||||||
BuildRequires: openjpeg2-devel
|
BuildRequires: openjpeg2-devel
|
||||||
BuildRequires: poppler-devel
|
BuildRequires: poppler-devel
|
||||||
@ -71,10 +72,14 @@ BuildRequires: libecwj2-devel
|
|||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
BuildRequires: freexl-devel
|
||||||
BuildRequires: hdf5-devel
|
BuildRequires: hdf5-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1310 && 0%{?suse_version} != 1315
|
%if 0%{?suse_version} > 1320
|
||||||
|
BuildRequires: libjson-c-devel
|
||||||
BuildRequires: libwebp-devel
|
BuildRequires: libwebp-devel
|
||||||
|
BuildRequires: ocl-icd-devel
|
||||||
|
BuildRequires: opencl-headers
|
||||||
BuildRequires: perl-ExtUtils-MakeMaker
|
BuildRequires: perl-ExtUtils-MakeMaker
|
||||||
%else
|
%else
|
||||||
BuildRequires: hdf-devel >= 4.0
|
BuildRequires: hdf-devel >= 4.0
|
||||||
@ -160,7 +165,7 @@ rm -r man
|
|||||||
%build
|
%build
|
||||||
# need to regenerate (old one does not accpet CFLAGS)
|
# need to regenerate (old one does not accpet CFLAGS)
|
||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
autoreconf -fi
|
autoreconf -fiv
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
@ -196,6 +201,7 @@ autoreconf -fi
|
|||||||
--with-python \
|
--with-python \
|
||||||
--with-perl \
|
--with-perl \
|
||||||
--with-mysql \
|
--with-mysql \
|
||||||
|
--with-freexl \
|
||||||
--with-xerces=yes \
|
--with-xerces=yes \
|
||||||
--with-xerces-lib="-lxerces-c" \
|
--with-xerces-lib="-lxerces-c" \
|
||||||
--with-xerces-inc=%{_includedir}/xercesc \
|
--with-xerces-inc=%{_includedir}/xercesc \
|
||||||
@ -203,6 +209,9 @@ autoreconf -fi
|
|||||||
--with-ecw \
|
--with-ecw \
|
||||||
CFLAGS="$CFLAGS -pthread" \
|
CFLAGS="$CFLAGS -pthread" \
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
--with-opencl \
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1310
|
%if 0%{?suse_version} > 1310
|
||||||
--without-hdf4 \
|
--without-hdf4 \
|
||||||
--with-hdf5 \
|
--with-hdf5 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user