From dbcbfde8678afa07b54d5d6adcbc275b847283836f5a3d43431759030f4dbe64 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 15 Jun 2018 07:16:32 +0000 Subject: [PATCH] Accepting request 617024 from home:Guillaume_G:branches:Application:Geo - Add optional filegdb_api support, disabled by default OBS-URL: https://build.opensuse.org/request/show/617024 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=65 --- gdal.changes | 5 +++++ gdal.spec | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/gdal.changes b/gdal.changes index a48f028..5bd552c 100644 --- a/gdal.changes +++ b/gdal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 14 08:36:31 UTC 2018 - guillaume.gardet@opensuse.org + +- Add optional filegdb_api support, disabled by default + ------------------------------------------------------------------- Fri Jun 1 10:04:15 UTC 2018 - opensuse@dstoecker.de diff --git a/gdal.spec b/gdal.spec index 5cd5a3b..1229559 100644 --- a/gdal.spec +++ b/gdal.spec @@ -22,6 +22,7 @@ %define sourcename gdal %bcond_with ecw_support %bcond_with ecw5_support +%bcond_with fgdb_support Name: gdal Version: 2.3.0 Release: 0 @@ -42,6 +43,9 @@ BuildRequires: curl-devel BuildRequires: dos2unix BuildRequires: doxygen >= 1.4.2 BuildRequires: fdupes +%if %{with fgdb_support} +BuildRequires: filegdb_api-devel +%endif BuildRequires: gcc-c++ BuildRequires: geos-devel >= 3 BuildRequires: giflib-devel @@ -242,6 +246,10 @@ autoreconf -fi CFLAGS="$CFLAGS -pthread" \ %endif %endif +%if %{with fgdb_support} + --with-fgdb \ + --with-static-proj4 \ +%endif %if 0%{?suse_version} > 1320 --with-opencl \ %endif