SHA256
1
0
forked from pool/gdal

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
This commit is contained in:
Martin Pluskal 2018-06-15 07:16:32 +00:00 committed by Git OBS Bridge
parent f19ac9226d
commit dbcbfde867
2 changed files with 13 additions and 0 deletions

View File

@ -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 Fri Jun 1 10:04:15 UTC 2018 - opensuse@dstoecker.de

View File

@ -22,6 +22,7 @@
%define sourcename gdal %define sourcename gdal
%bcond_with ecw_support %bcond_with ecw_support
%bcond_with ecw5_support %bcond_with ecw5_support
%bcond_with fgdb_support
Name: gdal Name: gdal
Version: 2.3.0 Version: 2.3.0
Release: 0 Release: 0
@ -42,6 +43,9 @@ BuildRequires: curl-devel
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: doxygen >= 1.4.2 BuildRequires: doxygen >= 1.4.2
BuildRequires: fdupes BuildRequires: fdupes
%if %{with fgdb_support}
BuildRequires: filegdb_api-devel
%endif
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: geos-devel >= 3 BuildRequires: geos-devel >= 3
BuildRequires: giflib-devel BuildRequires: giflib-devel
@ -242,6 +246,10 @@ autoreconf -fi
CFLAGS="$CFLAGS -pthread" \ CFLAGS="$CFLAGS -pthread" \
%endif %endif
%endif %endif
%if %{with fgdb_support}
--with-fgdb \
--with-static-proj4 \
%endif
%if 0%{?suse_version} > 1320 %if 0%{?suse_version} > 1320
--with-opencl \ --with-opencl \
%endif %endif