Accepting request 639255 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/639255 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdal?expand=0&rev=34
This commit is contained in:
commit
db5460778d
@ -1,6 +1,6 @@
|
|||||||
diff -rup a/GDALmake.opt.in b/GDALmake.opt.in
|
diff -rup a/GDALmake.opt.in b/GDALmake.opt.in
|
||||||
--- a/GDALmake.opt.in 2018-05-04 18:05:45.000000000 +0200
|
--- a/GDALmake.opt.in 2018-09-21 11:01:50.000000000 +0200
|
||||||
+++ b/GDALmake.opt.in 2018-05-14 09:47:11.178524546 +0200
|
+++ b/GDALmake.opt.in 2018-09-29 15:21:42.993179662 +0200
|
||||||
@@ -67,7 +67,7 @@ INST_DOCS = @exec_prefix@/doc
|
@@ -67,7 +67,7 @@ INST_DOCS = @exec_prefix@/doc
|
||||||
INST_MAN = @mandir@
|
INST_MAN = @mandir@
|
||||||
INST_HTML = $(HOME)/www/gdal
|
INST_HTML = $(HOME)/www/gdal
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c4625c45a3ee7e49a604ef221778983dd9fd8104922a87f20b99d9bedb7725a
|
|
||||||
size 8768888
|
|
3
gdal-2.3.2.tar.xz
Normal file
3
gdal-2.3.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3f6d78fe8807d1d6afb7bed27394f19467840a82bc36d65e66316fa0aa9d32a4
|
||||||
|
size 8775760
|
@ -1,12 +0,0 @@
|
|||||||
diff -purN gdal-2.3.1.orig/configure.ac gdal-2.3.1/configure.ac
|
|
||||||
--- gdal-2.3.1.orig/configure.ac 2018-07-17 14:10:15.236559853 +0200
|
|
||||||
+++ gdal-2.3.1/configure.ac 2018-07-17 14:21:49.213424507 +0200
|
|
||||||
@@ -2879,7 +2879,7 @@ else
|
|
||||||
echo "#include <string>" > testnewabi.cpp
|
|
||||||
echo "namespace NCS { class CString { public: static std::wstring Utf8Decode (const std::string &sUtf8); }; }" >> testnewabi.cpp
|
|
||||||
echo "int main() { return static_cast<int>(NCS::CString::Utf8Decode(std::string()).size()); }" >> testnewabi.cpp
|
|
||||||
- if test -z "`$${CXX} ${CXXFLAGS} ${CPPFLAGS} testnewabi.cpp -L$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF -lNCSEcw -o testnewabi 2>&1`" ; then
|
|
||||||
+ if test -z "`${CXX} ${CXXFLAGS} ${CPPFLAGS} testnewabi.cpp -L$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF -lNCSEcw -o testnewabi 2>&1`" ; then
|
|
||||||
ECW_LIBDIR=$with_ecw/$ecw_license_type/lib/newabi/$ECW_ARCH/$ECW_CONF
|
|
||||||
ECW_LIBS="-L$ECW_LIBDIR -lNCSEcw $ECW_FRAMEWORK_COCOA"
|
|
||||||
with_ecw=$with_ecw/$ecw_license_type
|
|
12
gdal.changes
12
gdal.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 29 13:11:22 UTC 2018 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
|
||||||
|
- Update to new bugfix 2.3.2 version
|
||||||
|
See details https://trac.osgeo.org/gdal/wiki/Release/2.3.2-News
|
||||||
|
This adds 65 bug fixes on top of 2.3.1.
|
||||||
|
The C and C++ API and ABI are unchanged.
|
||||||
|
- Packaging:
|
||||||
|
+ spec-cleaner -m -i URL and Requires order changes
|
||||||
|
+ Remove patch gdal-fix_ecw5_detection.patch (merged upstream)
|
||||||
|
+ Redone patch GDALmake.opt.in.patch with version 2.3.2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 31 06:29:53 UTC 2018 - bruno@ioda-net.ch
|
Tue Jul 31 06:29:53 UTC 2018 - bruno@ioda-net.ch
|
||||||
|
|
||||||
|
21
gdal.spec
21
gdal.spec
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -24,28 +24,23 @@
|
|||||||
%bcond_with ecw5_support
|
%bcond_with ecw5_support
|
||||||
%bcond_with fgdb_support
|
%bcond_with fgdb_support
|
||||||
Name: gdal
|
Name: gdal
|
||||||
Version: 2.3.1
|
Version: 2.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats
|
Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats
|
||||||
License: MIT AND BSD-3-Clause AND SUSE-Public-Domain
|
License: MIT AND BSD-3-Clause AND SUSE-Public-Domain
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.gdal.org/
|
URL: http://www.gdal.org/
|
||||||
Source0: http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
|
Source0: http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
|
||||||
Patch0: gdal-perl.patch
|
Patch0: gdal-perl.patch
|
||||||
# Fix occasional parallel build failure
|
# Fix occasional parallel build failure
|
||||||
Patch1: GDALmake.opt.in.patch
|
Patch1: GDALmake.opt.in.patch
|
||||||
# PATCH-FIX-UPSTREAM - gdal-fix_ecw5_detection.patch: fix ECW5 detection in configure
|
BuildRequires: KEALib-devel
|
||||||
Patch3: gdal-fix_ecw5_detection.patch
|
|
||||||
BuildRequires: blas-devel
|
BuildRequires: blas-devel
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: curl-devel
|
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: KEALib-devel
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: geos-devel >= 3
|
BuildRequires: geos-devel >= 3
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
@ -80,6 +75,9 @@ BuildRequires: pkgconfig(spatialite)
|
|||||||
BuildRequires: pkgconfig(sqlite3)
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
BuildRequires: pkgconfig(xerces-c)
|
BuildRequires: pkgconfig(xerces-c)
|
||||||
BuildRequires: pkgconfig(zlib) >= 1.1.4
|
BuildRequires: pkgconfig(zlib) >= 1.1.4
|
||||||
|
%if %{with fgdb_support}
|
||||||
|
BuildRequires: filegdb_api-devel
|
||||||
|
%endif
|
||||||
%if %{with ecw5_support}
|
%if %{with ecw5_support}
|
||||||
BuildRequires: ERDAS-ECW_JPEG_2000_SDK-devel
|
BuildRequires: ERDAS-ECW_JPEG_2000_SDK-devel
|
||||||
%else
|
%else
|
||||||
@ -120,9 +118,9 @@ vector data.
|
|||||||
Summary: GDAL library header files
|
Summary: GDAL library header files
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: lib%{name}%{soversion} = %{version}
|
Requires: lib%{name}%{soversion} = %{version}
|
||||||
|
Requires: pkgconfig(libopenjp2)
|
||||||
Provides: lib%{name}%{soversion}-devel
|
Provides: lib%{name}%{soversion}-devel
|
||||||
Provides: lib%{name}-devel
|
Provides: lib%{name}-devel
|
||||||
Requires: pkgconfig(libopenjp2)
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development Libraries for the GDAL file format library
|
Development Libraries for the GDAL file format library
|
||||||
@ -170,7 +168,6 @@ The GDAL python modules provide support to handle multiple GIS file formats.
|
|||||||
%setup -q -n %{sourcename}-%{version}
|
%setup -q -n %{sourcename}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch3 -p1
|
|
||||||
|
|
||||||
# Set the right (build) libproj.so version
|
# Set the right (build) libproj.so version
|
||||||
PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')
|
PROJSOVER=$(ls -1 %_libdir/libproj.so.?? | awk -F '.' '{print $3}')
|
||||||
@ -189,7 +186,7 @@ done
|
|||||||
find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,' {} \;
|
find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,' {} \;
|
||||||
%if %{with ecw5_support}
|
%if %{with ecw5_support}
|
||||||
# gdal configure script looks for a given layout, so reproduce what is expected.
|
# gdal configure script looks for a given layout, so reproduce what is expected.
|
||||||
%if 0%{suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
%define ecw_abi_conf newabi
|
%define ecw_abi_conf newabi
|
||||||
%else
|
%else
|
||||||
%define ecw_abi_conf ""
|
%define ecw_abi_conf ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user