commit 1bbbeed940130a49d0e2b5999fdfa5bb2236545c Author: tigro Date: Wed Sep 20 21:10:46 2023 +0300 import gdal-3.4.3-1.el9 diff --git a/.gdal.metadata b/.gdal.metadata new file mode 100644 index 0000000..5c6bf80 --- /dev/null +++ b/.gdal.metadata @@ -0,0 +1,2 @@ +98aeeb4ced577aa3eb955f9938345ace521abb8a SOURCES/gdal-3.4.3-fedora.tar.xz +75352197abaa00dbc4490abc4bde7f6b61ac12b8 SOURCES/gdalautotest-3.4.3.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..42d4134 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/gdal-3.4.3-fedora.tar.xz +SOURCES/gdalautotest-3.4.3.tar.gz diff --git a/SOURCES/PROVENANCE.TXT-fedora b/SOURCES/PROVENANCE.TXT-fedora new file mode 100644 index 0000000..09700d5 --- /dev/null +++ b/SOURCES/PROVENANCE.TXT-fedora @@ -0,0 +1,38 @@ +gdal-1.9.1.tar.gz re-pack for Fedora + +All files with pending legal questions are stripped from the original tarball, +to form this tarball. Legal information is mainly from PROVENANCE.TXT + + +No files are manipulated. + +Please see the cleaning script clean-gdal.sh! + +This leaves GDAL short of a few formats, coordinate systems and the PHP bindings. + + Volker Fröhlich + + * updated to 1.9.1 by Volker Fröhlich + * updated to 1.9.0 by Volker Fröhlich + * updated to 1.7.3 by Viji V Nair + * updated to 1.7.2 by Sven Lankes + * updated to 1.7.1 by Balint Crisitan + * updated to 1.6.1 by Dan Horak + + +Removed files: +======================================== +# due to uncertain license issues +and derivative copy from ESRI (TM) and CubeWerx (TM): + +data/cubewerx_extra.wkt +data/esri_extra.wkt +data/ecw_cs.wkt + +Removed folders plus its contents: +======================================== +# due to uncertain license issues these formats +are removed and not suported in fedora pack: + +frmts/bsb <-- http://www.osgeo.org/pipermail/gdal-dev/2003-September/001097.html +swig/php <-- PHP license, incompatible mixture diff --git a/SOURCES/gdal-cleaner.sh b/SOURCES/gdal-cleaner.sh new file mode 100755 index 0000000..393ee2e --- /dev/null +++ b/SOURCES/gdal-cleaner.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +if [ $# -lt 1 ]; then + echo "Usage: $0 version" + exit 1 +fi + +VERSION="$1" + +wget https://github.com/OSGeo/gdal/releases/download/v$VERSION/gdal-$VERSION.tar.gz + +tar xvf gdal-"${VERSION}".tar.gz + +mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora + +rm data/cubewerx_extra.wkt +rm data/esri_extra.wkt +rm data/esri_Wisconsin_extra.wkt +rm data/esri_StatePlane_extra.wkt +rm data/ecw_cs.wkt + +#Really necessary? +rm -r swig/php + +popd + + +#TODO: Insert Provenance file + +tar cvfJ gdal-"${VERSION}"-fedora.tar.xz gdal-"${VERSION}"-fedora diff --git a/SOURCES/gdal-gcc11.patch b/SOURCES/gdal-gcc11.patch new file mode 100644 index 0000000..4660e2f --- /dev/null +++ b/SOURCES/gdal-gcc11.patch @@ -0,0 +1,33 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp +--- gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-04-22 11:03:21.000000000 +0200 ++++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/cadobjects.cpp 2022-05-04 16:04:12.433118621 +0200 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + //------------------------------------------------------------------------------ + // CADVector +diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +--- gdal-3.4.3-fedora/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-04-22 11:03:20.000000000 +0200 ++++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp 2022-05-04 16:04:12.434118533 +0200 +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + #if ((defined(__sun__) || defined(__FreeBSD__)) && __GNUC__ == 4 && __GNUC_MINOR__ == 8) || defined(__ANDROID__) + // gcc 4.8 on Solaris 11.3 or FreeBSD 11 doesn't have std::string +diff -rupN --no-dereference gdal-3.4.3-fedora/third_party/LercLib/Lerc2.h gdal-3.4.3-fedora-new/third_party/LercLib/Lerc2.h +--- gdal-3.4.3-fedora/third_party/LercLib/Lerc2.h 2022-04-22 11:02:29.000000000 +0200 ++++ gdal-3.4.3-fedora-new/third_party/LercLib/Lerc2.h 2022-05-04 16:04:12.434118533 +0200 +@@ -30,6 +30,7 @@ Contributors: Thomas Maurer + #include + #include + #include ++#include + #include "Defines.h" + #include "BitMask.h" + #include "BitStuffer2.h" diff --git a/SOURCES/gdal_autoconf270.patch b/SOURCES/gdal_autoconf270.patch new file mode 100644 index 0000000..76924ad --- /dev/null +++ b/SOURCES/gdal_autoconf270.patch @@ -0,0 +1,12 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/m4/lib-link.m4 gdal-3.4.3-fedora-new/m4/lib-link.m4 +--- gdal-3.4.3-fedora/m4/lib-link.m4 2022-04-22 11:03:37.000000000 +0200 ++++ gdal-3.4.3-fedora-new/m4/lib-link.m4 2022-05-04 16:04:12.870079834 +0200 +@@ -108,8 +108,6 @@ dnl acl_hardcode_direct, + dnl acl_hardcode_minus_L. + AC_DEFUN([AC_LIB_RPATH], + [ +- dnl Tell automake >= 1.10 to complain if config.rpath is missing. +- m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host diff --git a/SOURCES/gdal_installapps.patch b/SOURCES/gdal_installapps.patch new file mode 100644 index 0000000..0c11d2a --- /dev/null +++ b/SOURCES/gdal_installapps.patch @@ -0,0 +1,11 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/apps/GNUmakefile gdal-3.4.3-fedora-new/apps/GNUmakefile +--- gdal-3.4.3-fedora/apps/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/apps/GNUmakefile 2022-05-04 16:04:11.984158476 +0200 +@@ -232,6 +232,7 @@ gdal-config-inst: gdal-config.in ../GDAL + + install: default + for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done ++ for f in $(BIN_LIST) ; do $(INSTALL) .libs/$$f $(DESTDIR)$(INST_BIN) ; done + $(INSTALL_DATA) gdal_utils.h $(DESTDIR)$(INST_INCLUDE) + $(INSTALL) gdal-config-inst $(DESTDIR)$(INST_BIN)/gdal-config + diff --git a/SOURCES/gdal_iso8211.patch b/SOURCES/gdal_iso8211.patch new file mode 100644 index 0000000..af6e439 --- /dev/null +++ b/SOURCES/gdal_iso8211.patch @@ -0,0 +1,13 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/frmts/iso8211/GNUmakefile gdal-3.4.3-fedora-new/frmts/iso8211/GNUmakefile +--- gdal-3.4.3-fedora/frmts/iso8211/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/frmts/iso8211/GNUmakefile 2022-05-04 16:04:11.552196892 +0200 +@@ -23,8 +23,7 @@ dist-clean: clean + rm -rf $(DISTDIR) + + $(ISOLIB): $(OBJ:.o=.$(OBJ_EXT)) +- $(AR) r $(ISOLIB) $? +- $(RANLIB) $(ISOLIB) ++ $(SHELL) $(top_builddir)/libtool --mode=link gcc -static -o $(ISOLIB) $? + + 8211createfromxml$(EXE): 8211createfromxml.$(OBJ_EXT) + $(LD) $(LDFLAGS) 8211createfromxml.$(OBJ_EXT) $(CONFIG_LIBS) -o 8211createfromxml$(EXE) diff --git a/SOURCES/gdal_java.patch b/SOURCES/gdal_java.patch new file mode 100644 index 0000000..6817f9c --- /dev/null +++ b/SOURCES/gdal_java.patch @@ -0,0 +1,98 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/add_javadoc.c gdal-3.4.3-fedora-new/swig/java/add_javadoc.c +--- gdal-3.4.3-fedora/swig/java/add_javadoc.c 2022-04-22 11:02:06.000000000 +0200 ++++ gdal-3.4.3-fedora-new/swig/java/add_javadoc.c 2022-05-04 16:04:11.092237798 +0200 +@@ -142,21 +142,21 @@ int main(int argc, char* argv[]) + JavaDocInstance* instances = (JavaDocInstance*)calloc(sizeof(JavaDocInstance), 3000); + int nInstances = 0; + char szLine[512]; +- char szClass[256]; ++ char szClass[512]; + char javadoc[16384]; + szClass[0] = 0; +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + if (strstr(szLine, "/**") == NULL) continue; + begin: + strcpy(javadoc, szLine); +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + strcat(javadoc, szLine); + if (strstr(szLine, "*/")) + break; + } +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + if (szLine[0] == 10) + continue; +@@ -209,10 +209,10 @@ begin: + continue; + } + szClass[0] = 0; +- char szPackage[256]; ++ char szPackage[512]; + szPackage[0] = 0; + +- while(fgets(szLine, 255, fSrc)) ++ while(fgets(szLine, 511, fSrc)) + { + char szMethodName[1024]; + char* szOriLine = strdup(szLine); +@@ -255,7 +255,7 @@ begin: + strcpy(szMethodName, szLine); + do + { +- ignore_ret(fgets(szLine, 255, fSrc)); ++ ignore_ret(fgets(szLine, 511, fSrc)); + strcpy(szMethodName + strlen(szMethodName) - 1, szLine); + } while (!strchr(szMethodName,')')); + strcpy(szLine, szMethodName); +@@ -282,7 +282,7 @@ begin: + { + do + { +- ignore_ret(fgets(szLine, 255, fSrc)); ++ ignore_ret(fgets(szLine, 511, fSrc)); + } while (!strchr(szLine,'}')); + } + break; +@@ -310,7 +310,7 @@ begin: + nBrackets --; + } + } +- ignore_ret(fgets(szLine, 255, fSrc)); ++ ignore_ret(fgets(szLine, 511, fSrc)); + } while(bFoundOpen == FALSE || nBrackets > 0); + } + else +diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/javadoc.java gdal-3.4.3-fedora-new/swig/java/javadoc.java +--- gdal-3.4.3-fedora/swig/java/javadoc.java 2022-04-22 11:02:07.000000000 +0200 ++++ gdal-3.4.3-fedora-new/swig/java/javadoc.java 2022-05-04 16:04:11.094237621 +0200 +@@ -11982,12 +11982,12 @@ public interface osrConstants:public fin + public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM + + /** +- * Invalid input coordinate. e.g a latitude > 90°. ++ * Invalid input coordinate. e.g a latitude > 90 deg. + */ + public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_INVALID_COORD + + /** +- * Coordinate is outside of the projection domain. e.g approximate mercator with \|longitude - lon_0\| > 90°, ++ * Coordinate is outside of the projection domain. e.g approximate mercator with \|longitude - lon_0\| > 90 deg, + * or iterative convergence method failed. + */ + public interface osrConstants:public final static int PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN +diff -rupN --no-dereference gdal-3.4.3-fedora/swig/java/java.opt gdal-3.4.3-fedora-new/swig/java/java.opt +--- gdal-3.4.3-fedora/swig/java/java.opt 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/swig/java/java.opt 2022-05-04 16:04:11.094237621 +0200 +@@ -7,6 +7,6 @@ JAVADOC=$(JAVA_HOME)/bin/javadoc + JAVAC=$(JAVA_HOME)/bin/javac + JAVA=$(JAVA_HOME)/bin/java + JAR=$(JAVA_HOME)/bin/jar +-JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux ++JAVA_INCLUDE=-I/usr/lib/jvm/java/include/ -I/usr/lib/jvm/java/include/linux + + diff --git a/SOURCES/gdal_no-diag-disable.patch b/SOURCES/gdal_no-diag-disable.patch new file mode 100644 index 0000000..7443f3a --- /dev/null +++ b/SOURCES/gdal_no-diag-disable.patch @@ -0,0 +1,12 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/configure.ac gdal-3.4.3-fedora-new/configure.ac +--- gdal-3.4.3-fedora/configure.ac 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/configure.ac 2022-05-04 16:04:12.651099272 +0200 +@@ -73,7 +73,7 @@ dnl warning #2304: non-explicit construc + dnl warning #3280: declaration hides member + dnl remark #11074: Inlining inhibited by limit max-size + dnl remark #11076: To get full report use -qopt-report=4 -qopt-report-phase ipo +-AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) ++#AX_CHECK_COMPILE_FLAG([-diag-disable 188,1684,2259,2304,3280,11074,11076],[C_WFLAGS="$C_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076" CXX_WFLAGS="$CXX_WFLAGS -diag-disable 188,1684,2259,2304,3280,11074,11076"],,[$ERROR_ON_UNKNOWN_OPTIONS]) + + AX_CHECK_COMPILE_FLAG([-Wextra],[C_WFLAGS="$C_WFLAGS -Wextra" CXX_WFLAGS="$CXX_WFLAGS -Wextra"],,[$ERROR_ON_UNKNOWN_OPTIONS]) + AX_CHECK_COMPILE_FLAG([-Winit-self],[C_WFLAGS="$C_WFLAGS -Winit-self" CXX_WFLAGS="$CXX_WFLAGS -Winit-self"],,[$ERROR_ON_UNKNOWN_OPTIONS]) diff --git a/SOURCES/gdal_nopdf.patch b/SOURCES/gdal_nopdf.patch new file mode 100644 index 0000000..ff45da1 --- /dev/null +++ b/SOURCES/gdal_nopdf.patch @@ -0,0 +1,12 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/doc/source/index.rst gdal-3.4.3-fedora-new/doc/source/index.rst +--- gdal-3.4.3-fedora/doc/source/index.rst 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/doc/source/index.rst 2022-05-04 16:04:12.215137970 +0200 +@@ -4,8 +4,6 @@ GDAL + + .. include:: ./about_no_title.rst + +-This documentation is also available as a `PDF file `_. +- + .. toctree:: + :maxdepth: 2 + diff --git a/SOURCES/gdal_sphinx.patch b/SOURCES/gdal_sphinx.patch new file mode 100644 index 0000000..a806929 --- /dev/null +++ b/SOURCES/gdal_sphinx.patch @@ -0,0 +1,12 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/doc/Makefile gdal-3.4.3-fedora-new/doc/Makefile +--- gdal-3.4.3-fedora/doc/Makefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/doc/Makefile 2022-05-04 16:04:11.767177773 +0200 +@@ -2,7 +2,7 @@ + # + + # You can set these variables from the command line. +-SPHINXOPTS ?= --keep-going -j auto -W ++SPHINXOPTS ?= --keep-going + SPHINXBUILD = sphinx-build + SOURCEDIR = source + BUILDDIR = build diff --git a/SOURCES/gdal_tirpcinc.patch b/SOURCES/gdal_tirpcinc.patch new file mode 100644 index 0000000..a1a088f --- /dev/null +++ b/SOURCES/gdal_tirpcinc.patch @@ -0,0 +1,24 @@ +diff -rupN --no-dereference gdal-3.4.3-fedora/frmts/dods/GNUmakefile gdal-3.4.3-fedora-new/frmts/dods/GNUmakefile +--- gdal-3.4.3-fedora/frmts/dods/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/frmts/dods/GNUmakefile 2022-05-04 16:04:11.324217168 +0200 +@@ -4,7 +4,7 @@ include ../../GDALmake.opt + + OBJ = dodsdataset2.o + +-CPPFLAGS := $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) ++CPPFLAGS := $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -I/usr/include/tirpc + + default: $(OBJ:.o=.$(OBJ_EXT)) + +diff -rupN --no-dereference gdal-3.4.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile +--- gdal-3.4.3-fedora/ogr/ogrsf_frmts/dods/GNUmakefile 2022-04-22 11:02:04.000000000 +0200 ++++ gdal-3.4.3-fedora-new/ogr/ogrsf_frmts/dods/GNUmakefile 2022-05-04 16:04:11.324217168 +0200 +@@ -5,7 +5,7 @@ include ../../../GDALmake.opt + OBJ = ogrdodsdriver.o ogrdodsdatasource.o ogrdodslayer.o \ + ogrdodssequencelayer.o ogrdodsfielddefn.o ogrdodsgrid.o + +-CPPFLAGS := -iquote .. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL ++CPPFLAGS := -iquote .. $(CPPFLAGS) $(DODS_INC) $(LIBXML2_INC) -DDO_NOT_USE_DEBUG_BOOL -I/usr/include/tirpc + + default: $(O_OBJ:.o=.$(OBJ_EXT)) + diff --git a/SPECS/gdal.spec b/SPECS/gdal.spec new file mode 100644 index 0000000..6788e66 --- /dev/null +++ b/SPECS/gdal.spec @@ -0,0 +1,1446 @@ +#TODO: msg needs to have PublicDecompWT.zip from EUMETSAT, which is not free; +# Building without msg therefore +#TODO: e00compr bundled? +#TODO: There are tests for bindings -- at least for Perl +#TODO: Java has a directory with test data and a build target called test +# It uses %%{JAVA_RUN}; make test seems to work in the build directory +#TODO: e00compr source is the same in the package and bundled in GDAL +#TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO + +# Tests can be of a different version +%global testversion 3.4.3 +%global run_tests 1 + +%global bashcompletiondir %(pkg-config --variable=compatdir bash-completion) + +%if 0%{?bootstrap} +%global with_mysql 0 +%global mysql --without-mysql +%global with_poppler 0 +%global poppler --without-poppler +%global with_spatialite 0 +%global spatialite --without-spatialite +%else +# https://bugzilla.redhat.com/show_bug.cgi?id=1490492 +%global with_mysql 1 +%global mysql --with-mysql +# https://bugzilla.redhat.com/show_bug.cgi?id=1490492 +%global with_poppler 1 +%global poppler --with-poppler +%global with_spatialite 1 +%global spatialite "--with-spatialite" +%endif + +%bcond_without python3 + +# No ppc64 build for spatialite in EL6 +# https://bugzilla.redhat.com/show_bug.cgi?id=663938 +%if 0%{?rhel} == 6 +%ifnarch ppc64 +%global with_spatialite 0 +%global spatialite --without-spatialite +%endif +%endif + +Name: gdal +Version: 3.4.3 +Release: 1%{?dist} +Summary: GIS file format library +License: MIT +URL: http://www.gdal.org +# Source0: http://download.osgeo.org/gdal/%%{version}/gdal-%%{version}.tar.xz +# See PROVENANCE.TXT-fedora and the cleaner script for details! + +Source0: %{name}-%{version}-fedora.tar.xz +Source1: http://download.osgeo.org/%{name}/%{testversion}/%{name}autotest-%{testversion}.tar.gz + +# Cleaner script for the tarball +Source3: %{name}-cleaner.sh + +Source4: PROVENANCE.TXT-fedora + +# Java build fixes +Patch2: gdal_java.patch +# Ensure rpc/types.h is found by dods driver (indirectly required by libdap/XDRUtils.h) +Patch3: gdal_tirpcinc.patch +# Use libtool to create libiso8211.a, otherwise broken static lib is created since object files are compiled through libtool +Patch4: gdal_iso8211.patch +# Don't pass -W to sphinx, it causes it to error out on warnings +# Don't do parallel build, currently fails with "Sphinx parallel build error: NotImplementedError" +Patch5: gdal_sphinx.patch +# Fix makefiles installing libtool wrappers instead of actual executables +Patch6: gdal_installapps.patch +# Don't refer to PDF manual which is not built +Patch7: gdal_nopdf.patch +# Fix issues caught by gcc-11 +Patch8: %{name}-gcc11.patch +# Drop -diag-disable compile flag +Patch9: gdal_no-diag-disable.patch +# Fix build with autoconf 2.70 +Patch10: gdal_autoconf270.patch + + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: ant +BuildRequires: armadillo-devel +BuildRequires: bash-completion +BuildRequires: cfitsio-devel +#BuildRequires: CharLS-devel +BuildRequires: chrpath +BuildRequires: curl-devel +BuildRequires: doxygen +BuildRequires: expat-devel +BuildRequires: fontconfig-devel +BuildRequires: freexl-devel +BuildRequires: geos-devel >= 3.7.1 +BuildRequires: ghostscript +BuildRequires: hdf-devel +BuildRequires: hdf-static +BuildRequires: hdf5-devel +# No complete java yet in EL8 +%if 0%{?rhel} < 8 +BuildRequires: java-devel >= 1:1.6.0 +%endif +BuildRequires: jasper-devel +BuildRequires: jpackage-utils +# No complete java yet in EL8 +%if 0%{?rhel} < 8 +# For 'mvn_artifact' and 'mvn_install' +BuildRequires: javapackages-local +%endif +BuildRequires: json-c-devel +BuildRequires: libgeotiff-devel +BuildRequires: libgta-devel + +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libkml-devel + +%if %{with_spatialite} +BuildRequires: libspatialite-devel +%endif + +BuildRequires: libtiff-devel +BuildRequires: libwebp-devel +BuildRequires: libtool +BuildRequires: giflib-devel +BuildRequires: netcdf-devel +BuildRequires: libdap-devel +BuildRequires: librx-devel +%if 0%{?with_mysql} +BuildRequires: mariadb-connector-c-devel +%endif +BuildRequires: pcre-devel +BuildRequires: ogdi-devel +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: openjpeg2-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: %{_bindir}/pkg-config +%if 0%{?with_poppler} +BuildRequires: poppler-devel +%endif +BuildRequires: libpq-devel +BuildRequires: proj-devel >= 5.2.0 +%if %{with python3} +BuildRequires: python3-devel +BuildRequires: python3-numpy +BuildRequires: python3-setuptools +BuildRequires: python3dist(pytest) >= 3.6 +BuildRequires: python3dist(lxml) >= 4.5.1 +%endif +BuildRequires: sqlite-devel +BuildRequires: swig +BuildRequires: unixODBC-devel +BuildRequires: xerces-c-devel +BuildRequires: xz-devel +BuildRequires: zlib-devel +BuildRequires: libtirpc-devel + +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +BuildRequires: python3-breathe +BuildRequires: make + +# Run time dependency for gpsbabel driver +Requires: gpsbabel + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +# We have multilib triage +%if "%{_lib}" == "lib" + %global cpuarch 32 +%else + %global cpuarch 64 +%endif + +%description +Geospatial Data Abstraction Library (GDAL/OGR) is a cross platform +C++ translator library for raster and vector geospatial data formats. +As a library, it presents a single abstract data model to the calling +application for all supported formats. It also comes with a variety of +useful commandline utilities for data translation and processing. + +It provides the primary data access engine for many applications. +GDAL/OGR is the most widely used geospatial data access library. + + +%package devel +Summary: Development files for the GDAL file format library +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +This package contains development files for GDAL. + + +%package libs +Summary: GDAL file format library +# See frmts/grib/degrib/README.TXT +Provides: bundled(g2lib) = 1.6.0 +Provides: bundled(degrib) = 2.14 + +%description libs +This package contains the GDAL file format library. + + +# No complete java yet in EL8 +%if 0%{?rhel} < 8 +%package java +Summary: Java modules for the GDAL file format library +Requires: jpackage-utils +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description java +The GDAL Java modules provide support to handle multiple GIS file formats. + + +%package javadoc +Summary: Javadocs for %{name} +Requires: jpackage-utils +BuildArch: noarch + +%description javadoc +This package contains the API documentation for %{name}. +%endif + + +%package perl +Summary: Perl modules for the GDAL file format library +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description perl +The GDAL Perl modules provide support to handle multiple GIS file formats. + + +%if %{with python3} +%package -n python3-gdal +%{?python_provide:%python_provide python3-gdal} +Summary: Python modules for the GDAL file format library +Requires: python3-numpy +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Obsoletes: gdal-python3 < 2.3.1 +Provides: gdal-python3 = %version-%release + +%description -n python3-gdal +The GDAL Python 3 modules provide support to handle multiple GIS file formats. +%endif + + +%if %{with python3} +%package python-tools +Summary: Python tools for the GDAL file format library +Requires: python3-gdal + +%description python-tools +The GDAL Python package provides number of tools for programming and +manipulating GDAL file format library +%endif + + +%package doc +Summary: Documentation for GDAL +BuildArch: noarch + +%description doc +This package contains documentation for GDAL. + + +# We don't want to provide private Python extension libs +%if %{with_python3} +%global __provides_exclude_from ^%{python3_sitearch}/.*\.so$ +%endif + + +%prep +%autosetup -p1 -n %{name}-%{version}-fedora -a 1 + +# Delete bundled libraries +rm -rf frmts/zlib +rm -rf frmts/png/libpng +rm -rf frmts/gif/giflib +rm -rf frmts/jpeg/libjpeg +rm -rf frmts/jpeg/libjpeg12 +rm -rf frmts/gtiff/libgeotiff +rm -rf frmts/gtiff/libtiff + +# Copy in PROVENANCE.TXT-fedora +cp -p %SOURCE4 . + +# Adjust check for LibDAP version +# http://trac.osgeo.org/gdal/ticket/4545 +%if %cpuarch == 64 + sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure.ac +%endif + + +%build +# For future reference: +# epsilon: Stalled review -- https://bugzilla.redhat.com/show_bug.cgi?id=660024 +# Building without pgeo driver, because it drags in Java +autoreconf -ifv + +%configure \ + --with-autoload=%{_libdir}/%{name}plugins \ + --includedir=%{_includedir}/%{name}/ \ + --prefix=%{_prefix} \ + --with-bash-completion \ + --with-armadillo \ + --with-curl \ + --with-cfitsio \ + --with-dods-root=%{_prefix} \ + --with-expat \ + --with-freexl \ + --with-geos \ + --with-geotiff \ + --with-gif \ + --with-gta \ + --with-hdf4 \ + --with-hdf5 \ + --with-jasper \ +%if 0%{?rhel} < 8 + --with-java \ +%endif + --with-jpeg \ + --with-libjson-c \ + --without-jpeg12 \ + --with-liblzma \ + --with-libtiff \ + --with-libz \ + --without-mdb \ + --without-msg \ + %{mysql} \ + --with-netcdf \ + --with-odbc \ + --with-ogdi \ + --with-openjpeg \ + --with-pcraster \ + --with-pg \ + --with-png \ + %{poppler} \ + --with-proj \ + %{spatialite} \ + --with-sqlite3 \ + --with-threads \ + --with-webp \ + --with-xerces \ + --enable-shared \ + --with-libkml + +%make_build + +# Build some utilities, as requested in BZ #1271906 +make -C ogr/ogrsf_frmts/s57 all +make -C frmts/iso8211 all + +# Documentation +make man +make docs + +# No complete java yet in EL8 +%if 0%{?rhel} < 8 + +# Make Java module and documentation +pushd swig/java + make + ANT_OPTS="-Dfile.encoding=utf-8" ant maven +popd +%mvn_artifact swig/java/build/maven/gdal-%version.pom swig/java/build/maven/gdal-%version.jar +%endif + +# Make Python modules +pushd swig/python + %{?with_python3:%py3_build} +popd + +# Make Perl modules +pushd swig/perl + perl Makefile.PL INSTALLDIRS=vendor + %make_build +popd + + +%install +pushd swig/python + %{?with_python3:%py3_install} +popd + +%make_install -C swig/perl + +%make_install install-man + +# Drop gdal.pdf symlink, as we don't build the pdf documentation +rm doc/build/html/gdal.pdf + +install -pm 755 ogr/ogrsf_frmts/s57/s57dump %{buildroot}%{_bindir} +install -pm 755 frmts/iso8211/8211createfromxml %{buildroot}%{_bindir} +install -pm 755 frmts/iso8211/8211dump %{buildroot}%{_bindir} +install -pm 755 frmts/iso8211/8211view %{buildroot}%{_bindir} +# Rename for %%files doc below +mv frmts/iso8211/html frmts/iso8211/iso8211_html + +# Directory for auto-loading plugins +mkdir -p %{buildroot}%{_libdir}/%{name}plugins + +#TODO: Don't do that? +rm %{buildroot}%{perl_archlib}/perllocal.pod + +%if %{without python3} +rm %buildroot%_mandir/man1/{pct2rgb,rgb2pct}.1 +%endif + +# Correct permissions +#TODO and potential ticket: Why are the permissions not correct? +find %{buildroot}%{perl_vendorarch} -name "*.so" -exec chmod 755 '{}' \; +find %{buildroot}%{perl_vendorarch} -name "*.pm" -exec chmod 644 '{}' \; + +# No complete java yet in EL8 +%if 0%{?rhel} < 8 +# install Java plugin +%mvn_install -J swig/java/java + +# 775 on the .so? +# copy JNI libraries and links, non versioned link needed by JNI +# What is linked here? +mkdir -p %{buildroot}%{_jnidir}/%{name} +cp -pl swig/java/.libs/*.so* \ + %{buildroot}%{_jnidir}/%{name}/ +chrpath --delete %{buildroot}%{_jnidir}/%{name}/*jni.so* + +# Install Java API documentation in the designated place +mkdir -p %{buildroot}%{_javadocdir}/%{name} +cp -pr swig/java/java/org %{buildroot}%{_javadocdir}/%{name} +%endif + +#TODO: Header date lost during installation +# Install multilib cpl_config.h bz#430894 +install -p -D -m 644 port/cpl_config.h %{buildroot}%{_includedir}/%{name}/cpl_config-%{cpuarch}.h +# Create universal multilib cpl_config.h bz#341231 +# The problem is still there in 1.9. +#TODO: Ticket? + +#>>>>>>>>>>>>> +cat > %{buildroot}%{_includedir}/%{name}/cpl_config.h < + +#if __WORDSIZE == 32 +#include "gdal/cpl_config-32.h" +#else +#if __WORDSIZE == 64 +#include "gdal/cpl_config-64.h" +#else +#error "Unknown word size" +#endif +#endif +EOF +#<<<<<<<<<<<<< +touch -r NEWS.md port/cpl_config.h + + +# Multilib gdal-config +# Rename the original script to gdal-config-$arch (stores arch-specific information) +# and create a script to call one or the other -- depending on detected architecture +# TODO: The extra script will direct you to 64 bit libs on +# 64 bit systems -- whether you like that or not +mv %{buildroot}%{_bindir}/%{name}-config %{buildroot}%{_bindir}/%{name}-config-%{cpuarch} +#>>>>>>>>>>>>> +cat > %{buildroot}%{_bindir}/%{name}-config < - 3.4.3-1 +- Rebuilt for MSVSphere 9.2 + +* Sun Jul 16 2023 Orion Poplawski - 3.4.3-1 +- Update to 3.4.3 + +* Sun Nov 21 2021 Orion Poplawski - 3.4.0-2 +- Rebuild for hdf5 1.12.1 + +* Mon Nov 08 2021 Sandro Mani - 3.4.0-1 +- Update to 3.4.0 + +* Fri Oct 29 2021 Sandro Mani - 3.3.3-1 +- Update to 3.3.3 + +* Thu Oct 21 2021 Sandro Mani - 3.3.2-3 +- Rebuild (geos) + +* Tue Sep 14 2021 Sahana Prasad - 3.3.2-2 +- Rebuilt with OpenSSL 3.0.0 + +* Tue Sep 07 2021 Sandro Mani - 3.3.2-1 +- Update to 3.3.2 + +* Tue Aug 10 2021 Orion Poplawski - 3.3.1-5 +- Rebuild for hdf5 1.10.7/netcdf 4.8.0 + +* Mon Aug 02 2021 Sandro Mani - 3.3.1-4 +- Rebuild (poppler) + +* Wed Jul 21 2021 Fedora Release Engineering - 3.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jul 10 2021 Björn Esser - 3.3.1-2 +- Rebuild for versioned symbols in json-c + +* Mon Jul 05 2021 Sandro Mani - 3.3.1-1 +- Update to 3.3.1 + +* Fri Jun 04 2021 Python Maint - 3.3.0-7 +- Rebuilt for Python 3.10 + +* Mon May 24 2021 Jitka Plesnikova - 3.3.0-6 +- Perl 5.34 re-rebuild updated packages + +* Fri May 21 2021 Sandro Mani - 3.3.0-5 +- Rebuild (libgta) + +* Fri May 21 2021 Jitka Plesnikova - 3.3.0-4 +- Perl 5.34 rebuild + +* Thu May 20 2021 Richard Shaw - 3.3.0-3 +- Rebuilding for libgta 1.2.1. + +* Fri May 07 2021 Sandro Mani - 3.3.0-2 +- Rebuild (gdal) + +* Mon May 03 2021 Sandro Mani - 3.3.0-1 +- Update to 3.3.0 + +* Wed Mar 24 2021 Sandro Mani - 3.2.2-1 +- Update to 3.2.2 + +* Sun Mar 07 2021 Sandro Mani - 3.2.1-10 +- Rebuild (proj) + +* Tue Feb 23 2021 Elliott Sales de Andrade - 3.2.1-9 +- Fix compile against GEOS on s390x + +* Sat Feb 13 2021 Sandro Mani - 3.2.1-8 +- Rebuild (geos) + +* Sat Feb 13 2021 Sandro Mani - 3.2.1-7 +- Rebuild (geos) + +* Mon Feb 08 2021 Pavel Raiskup - 3.2.1-6 +- rebuild for libpq ABI fix rhbz#1908268 + +* Mon Feb 01 2021 Orion Poplawski - 3.2.1-5 +- Rebuild for cfitsio 3.490 + +* Tue Jan 26 2021 Fedora Release Engineering - 3.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 15 11:51:40 CET 2021 Sandro Mani - 3.2.1-3 +- Rebuild (poppler) + +* Tue Jan 5 18:08:07 WET 2021 José Matos - 3.2.1-2 +- rebuild for armadillo 10 + +* Mon Jan 04 2021 Sandro Mani - 3.2.1-1 +- Update to 3.2.1 + +* Thu Nov 05 2020 Sandro Mani - 3.2.0-1 +- Update to 3.2.0 + +* Mon Nov 02 2020 Sandro Mani - 3.1.4-1 +- Update to 3.1.4 + +* Wed Oct 28 2020 Jeff Law - 3.1.3-3 +- Fix missing #include for gcc-11 + +* Fri Oct 16 21:25:24 CEST 2020 Sandro Mani - 3.1.3-2 +- Rebuild (jasper) + +* Mon Sep 07 2020 Sandro Mani - 3.1.3-1 +- Update to 3.1.3 + +* Mon Jul 27 2020 Fedora Release Engineering - 3.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 22 09:48:50 GMT 2020 Sandro Mani - 3.1.2-5 +- Rebuild (poppler) + +* Thu Jul 16 2020 Jiri Vanek - 3.1.2-4 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jul 15 15:55:55 GMT 2020 Sandro Mani - 3.1.2-3 +- Rebuild (poppler) + +* Fri Jul 10 2020 Jiri Vanek - 3.1.2-2 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Tue Jul 07 2020 Sandro Mani - 3.1.2-1 +- Update to 3.1.2 + +* Tue Jun 30 2020 Sandro Mani - 3.1.1-1 +- Update to 3.1.1 + +* Sat Jun 27 2020 Jitka Plesnikova - 3.1.0-5 +- Perl 5.32 re-rebuild updated packages + +* Fri Jun 26 2020 Orion Poplawski - 3.1.0-4 +- Rebuild for hdf5 1.10.6 + +* Thu Jun 25 2020 Jitka Plesnikova - 3.1.0-3 +- Perl 5.32 rebuild + +* Tue May 26 2020 Miro Hrončok - 3.1.0-2 +- Rebuilt for Python 3.9 + +* Tue May 12 2020 Sandro Mani - 3.1.0-1 +- Update to 3.1.0 + +* Sat May 09 2020 Markus Neteler - 3.0.4-5 +* disabled JAVA and LaTeX support for EPEL8, due to (yet) missing dependencies + +* Wed Apr 22 2020 Björn Esser - 3.0.4-4 +- Re-enable annobin + +* Tue Apr 21 2020 Björn Esser - 3.0.4-3 +- Rebuild (json-c) +- Temporarily disable annobin, as it is broken + +* Tue Mar 03 2020 Sandro Mani - 3.0.4-2 +- Fix libtool wrappers installed for gdal utilities instead of actual binaries + +* Wed Feb 05 2020 Sandro Mani - 3.0.4-1 +- Update to 3.0.4 + +* Tue Jan 28 2020 Fedora Release Engineering - 2.3.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jan 18 2020 Rich Mattes - 2.3.2-15 +- Patch out include that was removed in newer poppler +- Remove comment following an endif in the specfile + +* Sat Jan 18 2020 Mamoru TASAKA - 2.3.2-15 +- F-32: rebuild against new poppler + +* Tue Sep 17 2019 Elliott Sales de Andrade - 2.3.2-14 +- Fix linkage against Proj + +* Mon Sep 16 2019 Sandro Mani - 2.3.2-13 +- Bump proj_somaj for proj 6 + +* Wed Sep 4 2019 Devrim Gündüz - 2.3.2-12 +- Rebuild for new Proj + +* Mon Aug 19 2019 Miro Hrončok - 2.3.2-11 +- Rebuilt for Python 3.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 2.3.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 01 2019 Jitka Plesnikova - 2.3.2-9 +- Perl 5.30 rebuild + +* Sat Mar 16 2019 Orion Poplawski +- Rebuild for hdf5 1.10.5 + +* Tue Feb 05 2019 Miro Hrončok - 2.3.2-7 +- Drop Python 2 subpackage for mass Python 2 packages removal + +* Mon Feb 04 2019 Pavel Raiskup - 2.3.2-6 +- modernize java packaging (PR#9) + +* Mon Feb 04 2019 Devrim Gündüz - 2.3.2-6 +- Rebuild for new GeOS and Proj + +* Thu Jan 31 2019 Fedora Release Engineering - 2.3.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 26 2019 Marek Kasik - 2.3.2-4 +- Additional fixes for the rebuild + +* Fri Jan 25 2019 Marek Kasik - 2.3.2-3 +- Rebuild for poppler-0.73.0 + +* Thu Oct 04 2018 Pavel Raiskup - 2.3.2-2 +- Python 3 is the default Python now + +* Mon Oct 1 2018 Volker Fröhlich - 2.3.2-1 +- New upstream release + +* Mon Aug 27 2018 José Abílio Matos - 2.3.1-3 +- rebuild for armadillo soname bump (take 2) + +* Fri Aug 17 2018 José Abílio Matos - 2.3.1-2 +- rebuild for armadillo soname bump + +* Tue Aug 14 2018 Volker Fröhlich - 2.3.1-1 +- New upstream release + +* Tue Aug 14 2018 Marek Kasik - 2.2.4-10 +- Rebuild for poppler-0.67.0 + +* Wed Jul 25 2018 Devrim Gündüz - 2.2.4-9 +- Fix #1606875 + +* Fri Jul 13 2018 Fedora Release Engineering - 2.2.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 03 2018 Petr Pisar - 2.2.4-7 +- Perl 5.28 rebuild + +* Fri Jun 29 2018 Jitka Plesnikova - 2.2.4-6 +- Perl 5.28 rebuild + +* Fri Jun 22 2018 Orion Poplawski - 2.2.4-5 +- Rebuild for libdap 3.19.1 + +* Tue Jun 19 2018 Miro Hrončok - 2.2.4-4 +- Rebuilt for Python 3.7 + +* Sat May 26 2018 Christian Dersch - 2.2.4-3 +- rebuilt for cfitsio 3.450 + +* Tue Mar 27 2018 Björn Esser - 2.2.4-2 +- Rebuilt for libjson-c.so.4 (json-c v0.13.1) on fc28 + +* Mon Mar 26 2018 Volker Fröhlich - 2.2.4-1 +- New upstream release + +* Fri Mar 23 2018 Adam Williamson - 2.2.3-14 +- Rebuild for poppler 0.63.0 + +* Tue Mar 06 2018 Björn Esser - 2.2.3-13 +- Rebuilt for libjson-c.so.4 (json-c v0.13.1) + +* Fri Feb 23 2018 Christian Dersch - 2.2.3-12 +- rebuilt for cfitsio 3.420 (so version bump) + +* Wed Feb 14 2018 David Tardon - 2.2.3-11 +- rebuild for poppler 0.62.0 + +* Wed Feb 14 2018 Volker Fröhlich - 2.2.3-10 +- Don't own /etc/bash_completion.d (BZ#1545012) + +* Tue Feb 13 2018 Pavel Raiskup - 2.2.3-9 +- silence some rpmlint warnings + +* Tue Feb 13 2018 Tom Hughes - 2.2.3-8 +- Add patch for bug by node-gdal tests and fixed upstream + +* Tue Feb 13 2018 Tom Hughes - 2.2.3-7 +- Use libtirpc for RPC routines + +* Wed Feb 07 2018 Fedora Release Engineering - 2.2.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 27 2018 Than Ngo - - 2.2.3-6 +- cleanup condition + +* Thu Dec 14 2017 Merlin Mathesius - 2.2.3-5 +- Cleanup spec file conditionals + +* Thu Dec 14 2017 Pavel Raiskup - 2.2.3-4 +- drop bootstrap mode +- build-require mariadb-connector-c-devel (rhbz#1494096) + +* Mon Dec 11 2017 Björn Esser - 2.2.3-3.1.bootstrap +- Add patch to cleanly build against json-c v0.13 + +* Sun Dec 10 2017 Björn Esser - 2.2.3-2.1.bootstrap +- Rebuilt for libjson-c.so.3 + +* Mon Dec 04 2017 Volker Froehlich - 2.2.3-1 +- New upstream release + +* Wed Nov 29 2017 Volker Froehlich - 2.2.2-2 +- Re-enable bsb format (BZ#1432330) + +* Fri Sep 22 2017 Volker Froehlich - 2.2.2-1 +- New upstream release +- Add new entries to the files sections + +* Sun Sep 17 2017 Rex Dieter - 2.1.4-11 +- rebuild (armadillo) + +* Mon Sep 11 2017 Rex Dieter - 2.1.4-10 +- support %%bootstrap mode, enable for rawhide (#1490492) +- segment POPPLER_OPTS, makes buildable on f25 + +* Fri Sep 08 2017 David Tardon - 2.1.4-9 +- rebuild for poppler 0.59.0 + +* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 2.1.4-8 +- Add Provides for the old name without %%_isa + +* Sat Aug 19 2017 Orion Poplawski - 2.1.4-7 +- Handle new g2clib name in Fedora 27+ + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.1.4-6 +- Python 2 binary package renamed to python2-gdal + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Aug 03 2017 David Tardon - 2.1.4-5 +- rebuild for poppler 0.57.0 + +* Wed Aug 02 2017 Fedora Release Engineering - 2.1.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 19 2017 Adam Williamson - 2.1.4-2 +- Rebuild against MariaDB 10.2 +- BuildRequires: javapackages-local, for a macro that got moved there + +* Sat Jul 01 2017 Volker Froehlich - 2.1.4-1 +- New upstream release + +* Sun Jun 04 2017 Jitka Plesnikova - 2.1.3-4 +- Perl 5.26 rebuild + +* Tue Mar 28 2017 David Tardon - 2.1.3-3 +- rebuild for poppler 0.53.0 + +* Wed Feb 01 2017 Sandro Mani - 2.1.3-2 +- Rebuild (libwebp) + +* Fri Jan 27 2017 Volker Froehlich - 2.1.3-1 +- New upstream release +- Don't run tests by default (BZ #1260151) + +* Tue Jan 24 2017 Devrim Gündüz - 2.1.2-6 +- Rebuilt for proj 4.9.3 +- Fix many rpmlint warnings/errors. +- Add a workaround for the pkg-config change in rawhide. + +* Mon Dec 19 2016 Miro Hrončok - 2.1.2-5 +- Rebuild for Python 3.6 + +* Fri Dec 16 2016 David Tardon - 2.1.2-4 +- rebuild for poppler 0.50.0 + +* Thu Dec 01 2016 Orion Poplawski - 2.1.2-3 +- Rebuild for jasper 2.0 +- Add patch to fix build with jasper 2.0 + +* Wed Nov 23 2016 David Tardon - 2.1.2-2 +- rebuild for poppler 0.49.0 + +* Sun Oct 30 2016 Volker Froehlich - 2.1.2-1 +- New upstream release + +* Sat Oct 22 2016 Orion Poplawski - 2.1.1-2 +- Use system libjson-c + +* Fri Oct 21 2016 Marek Kasik - 2.1.1-2 +- Rebuild for poppler-0.48.0 + +* Fri Aug 12 2016 Orion Poplawski - 2.1.1-1 +- Update to 2.1.1 +- Add patch to fix bash-completion installation and install it (bug #1337143) + +* Tue Jul 19 2016 Fedora Release Engineering - 2.1.0-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Mon Jul 18 2016 Marek Kasik - 2.1.0-7 +- Rebuild for poppler-0.45.0 + +* Tue May 17 2016 Jitka Plesnikova - 2.1.0-6 +- Perl 5.24 rebuild + +* Mon May 09 2016 Volker Froehlich - 2.1.0-5 +- Add missing BR for libkml + +* Fri May 06 2016 Sandro Mani - 2.1.0-4 +- Enable libKML support + Resolves: #1332008 + +* Tue May 03 2016 Adam Williamson - 2.1.0-3 +- rebuild for updated poppler + +* Tue May 3 2016 Marek Kasik - 2.1.0-2 +- Rebuild for poppler-0.43.0 + +* Mon May 02 2016 Jozef Mlich - 2.1.0-1 +- New upstream release + +* Mon Apr 18 2016 Tom Hughes - 2.0.2-5 +- Rebuild for libdap change Resoloves: #1328104 + +* Tue Feb 16 2016 Elliott Sales de Andrade - 2.0.2-4 +- Add Python 3 support + +* Sun Feb 14 2016 Volker Froehlich - 2.0.2-3 +- Add patch for GDAL issue #6360 + +* Mon Feb 08 2016 Volker Froehlich - 2.0.2-2 +- Rebuild for armadillo 6 + +* Thu Feb 04 2016 Volker Froehlich - 2.0.2-1 +- New upstream release +- Fix geos support (BZ #1284714) + +* Wed Feb 03 2016 Fedora Release Engineering - 2.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 22 2016 Marek Kasik 2.0.1-5 +- Rebuild for poppler-0.40.0 + +* Fri Jan 15 2016 Adam Jackson 2.0.1-4 +- Rebuild for libdap soname bump + +* Mon Dec 28 2015 Igor Gnatenko - 2.0.1-3 +- Rebuilt for libwebp soname bump + +* Sun Oct 18 2015 Volker Froehlich - 2.0.1-2 +- Solve BZ #1271906 (Build iso8211 and s57 utilities) + +* Thu Sep 24 2015 Volker Froehlich - 2.0.1-1 +- Updated for 2.0.1; Add Perl module manpage + +* Wed Sep 23 2015 Orion Poplawski - 2.0.0-5 +- Rebuild for libdap 3.15.1 + +* Sun Sep 20 2015 Volker Froehlich - 2.0.0-4 +- Support openjpeg2 + +* Thu Aug 27 2015 Jonathan Wakely - 2.0.0-3 +- Rebuilt for Boost 1.59 + +* Sun Aug 09 2015 Jonathan Wakely 2.0.0-2 +- Patch to set _XOPEN_SOURCE correctly (bug #1249703) + +* Sun Jul 26 2015 Volker Froehlich - 2.0.0-1 +- Disable charls support due to build issues +- Solve a string formatting and comment errors in the Perl swig template + +* Wed Jul 22 2015 Marek Kasik - 1.11.2-12 +- Rebuild (poppler-0.34.0) + +* Fri Jul 3 2015 José Matos - 1.11.2-11 +- Rebuild for armadillo 5(.xxx.y) + +* Wed Jun 17 2015 Fedora Release Engineering - 1.11.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 12 2015 Volker Fröhlich - 1.11.2-9 +- Rebuild for Perl's dropped module_compat_5.20.* + +* Tue Jun 09 2015 Dan Horák - 1.11.2-8 +- add upstream patch for poppler >= 31 + +* Sat Jun 06 2015 Jitka Plesnikova - 1.11.2-7 +- Perl 5.22 rebuild + +* Thu May 21 2015 Devrim Gündüz - 1.11.2-6 +- Fix proj soname in ogr/ogrct.cpp. Patch from Sandro Mani + Fixes #1212215. + +* Sun May 17 2015 Orion Poplawski - 1.11.2-5 +- Rebuild for hdf5 1.8.15 + +* Sat Apr 18 2015 Ralf Corsépius - 1.11.2-4 +- Rebuild for gcc-5.0.1 ABI changes. + +* Tue Mar 31 2015 Orion Poplawski - 1.11.2-3 +- Rebuild for g2clib fix + +* Wed Mar 11 2015 Devrim Gündüz - 1.11.2-2 +- Rebuilt for proj 4.9.1 + +* Tue Feb 17 2015 Volker Fröhlich - 1.11.2-1 +- New release +- Remove obsolete sqlite patch + +* Fri Jan 23 2015 Marek Kasik - 1.11.1-6 +- Rebuild (poppler-0.30.0) + +* Wed Jan 07 2015 Orion Poplawski - 1.11.1-5 +- Rebuild for hdf5 1.8.4 + +* Sat Dec 6 2014 Volker Fröhlich - 1.11.1-4 +- Apply upstream changeset 27949 to prevent a crash when using sqlite 3.8.7 + +* Tue Dec 2 2014 Jerry James - 1.11.1-3 +- Don't try to install perllocal.pod (bz 1161231) + +* Thu Nov 27 2014 Marek Kasik - 1.11.1-3 +- Rebuild (poppler-0.28.1) + +* Fri Nov 14 2014 Dan Horák - 1.11.1-2 +- update gdal-config for ppc64le + +* Thu Oct 2 2014 Volker Fröhlich - 1.11.1-1 +- New release +- Correct test suite source URL + +* Thu Aug 28 2014 Jitka Plesnikova - 1.11.0-9 +- Perl 5.20 rebuild + +* Mon Aug 25 2014 Devrim Gündüz - 1.11.0-7 +- Rebuilt for libgeotiff + +* Sat Aug 16 2014 Fedora Release Engineering - 1.11.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Aug 14 2014 Volker Fröhlich - 1.11.0-6 +- Add aarch64 to gdal-config script (BZ#1129295) + +* Fri Jul 25 2014 Peter Robinson 1.11.0-5 +- rebuild (libspatialite) + +* Mon Jul 14 2014 Orion Poplawski - 1.11.0-4 +- Rebuild for libgeotiff 1.4.0 + +* Fri Jul 11 2014 Orion Poplawski - 1.11.0-3 +- Rebuild for libdap 3.13.1 + +* Sat Jun 07 2014 Fedora Release Engineering - 1.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Apr 25 2014 Volker Fröhlich - 1.11.0-1 +- New upstream release +- Remove libgcj as BR, as it no longer exists in F21 +- Re-enable ogdi and spatialite where possible +- Adapt Python-BR to python2-devel +- Obsolete Ruby bindings, due to the suggestion of Even Rouault +- Preserve timestamp of Fedora README file +- Explicitly create HTML documentation with Doxygen +- Make test execution conditional +- Truncate changelog + +* Thu Apr 24 2014 Vít Ondruch - 1.10.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1 + +* Fri Mar 28 2014 Michael Simacek - 1.10.1-6 +- Use Requires: java-headless rebuild (#1067528) + +* Fri Jan 10 2014 Orion Poplawski - 1.10.1-5 +- Rebuild for armadillo soname bump + +* Wed Jan 08 2014 Orion Poplawski - 1.10.1-4 +- Rebuild for cfitsio 3.360 + +* Thu Jan 02 2014 Orion Poplawski - 1.10.1-3 +- Rebuild for libwebp soname bump + +* Sat Sep 21 2013 Orion Poplawski - 1.10.1-2 +- Rebuild to pick up atlas 3.10 changes + +* Sun Sep 8 2013 Volker Fröhlich - 1.10.1-1 +- New upstream release + +* Fri Aug 23 2013 Orion Poplawski - 1.10.0-1 +- Update to 1.10.0 +- Enable PCRE support +- Drop man patch applied upstream +- Drop dods patch fixed upstream +- Add more tex BRs to handle changes in texlive packaging +- Fix man page install location + +* Mon Aug 19 2013 Marek Kasik - 1.9.2-12 +- Rebuild (poppler-0.24.0) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.9.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.9.2-10 +- Perl 5.18 rebuild + +* Thu Jul 11 2013 Orion Poplawski - 1.9.2-9 +- Rebuild for cfitsio 3.350 + +* Mon Jun 24 2013 Volker Fröhlich - 1.9.2-8 +- Rebuild for poppler 0.22.5 + +* Wed Jun 12 2013 Orion Poplawski - 1.9.2-7 +- Update Java/JNI for new guidelines, also fixes bug #908065 + +* Thu May 16 2013 Orion Poplawski - 1.9.2-6 +- Rebuild for hdf5 1.8.11 + +* Mon Apr 29 2013 Peter Robinson - 1.9.2-5 +- Rebuild for ARM libspatialite issue + +* Tue Mar 26 2013 Volker Fröhlich - 1.9.2-4 +- Rebuild for cfitsio 3.340 + +* Sun Mar 24 2013 Peter Robinson - 1.9.2-3 +- rebuild (libcfitsio) + +* Wed Mar 13 2013 Vít Ondruch - 1.9.2-2 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + +* Sun Mar 10 2013 Orion Poplawski - 1.9.2-1 +- Update to 1.9.2 +- Drop poppler and java-swig patches applied upstream + +* Fri Jan 25 2013 Devrim GÜNDÜZ - 1.9.1-18 +- Rebuild with geos 3.3.7. + +* Mon Jan 21 2013 Volker Fröhlich - 1.9.1-17 +- Rebuild due to libpoppler 0.22 + +* Fri Jan 18 2013 Adam Tkac - 1.9.1-16 +- rebuild due to "jpeg8-ABI" feature drop + +* Fri Dec 28 2012 Richard W.M. Jones - 1.9.1-15 +- Rebuild, see + http://lists.fedoraproject.org/pipermail/devel/2012-December/175685.html + +* Thu Dec 13 2012 Peter Robinson - 1.9.1-14 +- Tweak -fpic CFLAGS to fix FTBFS on ARM + +* Mon Dec 3 2012 Orion Poplawski - 1.9.1-13 +- Rebuild for hdf5 1.8.10 + +* Sun Dec 2 2012 Bruno Wolff III - 1.9.1-12 +- Rebuild for libspatialite soname bump + +* Thu Aug 9 2012 Volker Fröhlich - 1.9.1-11 +- Correct and extend conditionals for ppc andd ppc64, considering libspatialite + Related to BZ #846301 + +* Sun Jul 29 2012 José Matos - 1.9.1-10 +- Use the correct shell idiom "if true" instead of "if 1" + +* Sun Jul 29 2012 José Matos - 1.9.1-9 +- Ignore for the moment the test for armadillo (to be removed after gcc 4.7.2 release) + +* Fri Jul 27 2012 José Matos - 1.9.1-8 +- Rebuild for new armadillo + +* Fri Jul 20 2012 Peter Robinson - 1.9.1-7 +- Build with PIC + +* Thu Jul 19 2012 Fedora Release Engineering - 1.9.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1.9.1-5 +- Perl 5.16 rebuild + +* Sat Jul 7 2012 Volker Fröhlich - 1.9.1-4 +- Delete unnecessary manpage, that seems to be created with + new Doxygen (1.8.1 or 1.8.1.1) + +* Mon Jul 2 2012 Marek Kasik - 1.9.1-3 +- Rebuild (poppler-0.20.1) + +* Mon Jun 11 2012 Petr Pisar - 1.9.1-2 +- Perl 5.16 rebuild + +* Wed May 23 2012 Volker Fröhlich - 1.9.1-1 +- New upstream release +- Update poppler patch +- Add cleaner script + +* Sun May 20 2012 Volker Fröhlich - 1.9.0-5 +- Patches for libpoppler 0.20, libdap 3.11.3 and swig 2.0.6 + +* Thu May 10 2012 Volker Fröhlich - 1.9.0-4 +- Correct provides-filtering as of https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Usage +- Support webp +- Remove bogus libjpeg-turbo conditional +- Update Ruby ABI version to 1.9.1 +- Install Ruby bindings to vendorarchdir on F17 and later +- Conditionals for Ruby specific elements for versions prior F17 and for EPEL +- Correct quotes for CFLAGS and Ruby +- Disable ogdi, until BZ#816282 is resolved + +* Wed Apr 25 2012 Orion Poplawski - 1.9.0-2 +- Rebuild for cfitsio 3.300 + +* Sun Feb 26 2012 Volker Fröhlich - 1.9.0-1 +- Completely re-work the original spec-file + The major changes are: +- Add a libs sub-package +- Move Python scripts to python sub-package +- Install the documentation in a better way and with less slack +- jar's filename is versionless +- Update the version in the Maven pom automatically +- Add a plugins directory +- Add javadoc package and make the man sub-package noarch +- Support many additional formats +- Drop static sub-package as no other package uses it as BR +- Delete included libs before building +- Drop all patches, switch to a patch for the manpages, patch for JAVA path +- Harmonize the use of buildroot and RPM_BUILD_ROOT +- Introduce testversion macro + +* Sun Feb 19 2012 Volker Fröhlich - 1.7.3-14 +- Require Ruby abi +- Add patch for Ruby 1.9 include dir, back-ported from GDAL 1.9 +- Change version string for gdal-config from -fedora to + +- Revert installation path for Ruby modules, as it proofed wrong +- Use libjpeg-turbo + +* Thu Feb 9 2012 Volker Fröhlich - 1.7.3-13 +- Rebuild for Ruby 1.9 + http://lists.fedoraproject.org/pipermail/ruby-sig/2012-January/000805.html + +* Tue Jan 10 2012 Volker Fröhlich - 1.7.3-12 +- Remove FC10 specific patch0 +- Versioned MODULE_COMPAT_ Requires for Perl (BZ 768265) +- Add isa macro to base package Requires +- Remove conditional for xerces_c in EL6, as EL6 has xerces_c + even for ppc64 via EPEL +- Remove EL4 conditionals +- Replace the python_lib macro definition and install Python bindings + to sitearch directory, where they belong +- Use correct dap library names for linking +- Correct Ruby installation path in the Makefile instead of moving it later +- Use libdir variable in ppc64 Python path +- Delete obsolete chmod for Python libraries +- Move correction for Doxygen footer to prep section +- Delete bundled libraries before building +- Build without bsb and remove it from the tarball +- Use mavenpomdir macro and be a bit more precise on manpages in + the files section +- Remove elements for grass support --> Will be replaced by plug-in +- Remove unnecessary defattr +- Correct version number in POM +- Allow for libpng 1.5 + +* Tue Dec 06 2011 Adam Jackson - 1.7.3-11 +- Rebuild for new libpng + +* Tue May 17 2011 Orion Poplawski - 1.7.3-10 +- Rebuild for hdf5 1.8.7 + +* Fri Apr 22 2011 Volker Fröhlich - 1.7.3-9 +- Patched spaces problem for Mapinfo files (mif) + (http://trac.osgeo.org/gdal/ticket/3694) +- Replaced all define macros with global +- Corrected ruby_sitelib to ruby_sitearch +- Use python_lib and ruby_sitearch instead of generating lists +- Added man-pages for binaries +- Replaced mkdir and install macros +- Removed Python files from main package files section, that + effectively already belonged to the Python sub-package + +* Mon Apr 11 2011 Volker Fröhlich - 1.7.3-8 +- Solved image path problem with Latex +- Removed with-tiff and updated with-sqlite to with-sqlite3 +- Add more refman documents +- Adapted refman loop to actual directories +- Harmonized buildroot macro use + +* Thu Mar 31 2011 Orion Poplawski - 1.7.3-7 +- Rebuild for netcdf 4.1.2 + +* Wed Mar 23 2011 Dan Horák - 1.7.3-6 +- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) + +* Sun Mar 20 2011 Volker Fröhlich - 1.7.3-5 +- Dropped unnecessary encoding conversion for Russian refman +- Install Russian refman +- Don't try to install refman for sdts and dgn, as they fail to compile +- Added -p to post and postun +- Remove private-shared-object-provides for Python and Perl +- Remove installdox scripts +- gcc 4.6 doesn't accept -Xcompiler + +* Thu Mar 10 2011 Kalev Lember - 1.7.3-4 +- Rebuilt with xerces-c 3.1 + +* Tue Feb 08 2011 Fedora Release Engineering - 1.7.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Nov 21 2010 Viji Nair - 1.7.3-2 +- Install all the generated pdf documentation. +- Build documentation as a separate package. +- Spec cleanup + +* Fri Nov 19 2010 Viji Nair - 1.7.3-1 +- Update to latest upstream version +- Added jnis +- Patches updated with proper version info +- Added suggestions from Ralph Apel + + Versionless symlink for gdal.jar + + Maven2 pom + + JPP-style depmap + + Use -f XX.files for ruby and python