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