Accepting request 361784 from Application:Geo:Staging
New version bump upgrade to 2.0.2 OBS-URL: https://build.opensuse.org/request/show/361784 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=27
This commit is contained in:
parent
2c28d9dc98
commit
6ee2f62d5a
@ -1,11 +1,12 @@
|
||||
--- GDALmake.opt.in.orig 2012-10-09 00:58:28.000000000 +0000
|
||||
+++ GDALmake.opt.in
|
||||
@@ -67,7 +67,7 @@ INST_DOCS = @exec_prefix@/doc
|
||||
diff -rup a/GDALmake.opt.in b/GDALmake.opt.in
|
||||
--- a/GDALmake.opt.in 2016-01-26 16:21:51.000000000 +0100
|
||||
+++ b/GDALmake.opt.in 2016-02-23 12:25:16.102779881 +0100
|
||||
@@ -66,7 +66,7 @@ INST_DOCS = @exec_prefix@/doc
|
||||
INST_MAN = @mandir@
|
||||
INST_HTML = $(HOME)/www/gdal
|
||||
|
||||
-CPPFLAGS = @CPPFLAGS@ -I$(GDAL_ROOT)/port @EXTRA_INCLUDES@
|
||||
+CPPFLAGS = @CPPFLAGS@ -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore @EXTRA_INCLUDES@
|
||||
-CPPFLAGS = @CPPFLAGS@ -I$(GDAL_ROOT)/port @EXTRA_INCLUDES@ -DGDAL_COMPILATION
|
||||
+CPPFLAGS = @CPPFLAGS@ -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore @EXTRA_INCLUDES@ -DGDAL_COMPILATION
|
||||
CFLAGS = @CFLAGS@ @C_WFLAGS@ $(USER_DEFS)
|
||||
CXXFLAGS = @CXXFLAGS@ @CXX_WFLAGS@ $(USER_DEFS)
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f60e736db626b9d7ca3549bdd53d1699950af488ed4190b4ddb54c71d22411be
|
||||
size 10806069
|
79
gdal-2.0.2-sqlite-crash.patch
Normal file
79
gdal-2.0.2-sqlite-crash.patch
Normal file
@ -0,0 +1,79 @@
|
||||
Index: /branches/2.0/gdal/ogr/ogrsf_frmts/sqlite/ogrsqlitevfs.cpp
|
||||
===================================================================
|
||||
--- a/ogr/ogrsf_frmts/sqlite/ogrsqlitevfs.cpp (revision 33410)
|
||||
+++ b/ogr/ogrsf_frmts/sqlite/ogrsqlitevfs.cpp (revision 33411)
|
||||
@@ -381,9 +381,49 @@
|
||||
}
|
||||
|
||||
-static int OGRSQLiteVFSCurrentTime (sqlite3_vfs* pVFS, double* p1)
|
||||
-{
|
||||
- sqlite3_vfs* pUnderlyingVFS = GET_UNDERLYING_VFS(pVFS);
|
||||
- //CPLDebug("SQLITE", "OGRSQLiteVFSCurrentTime()");
|
||||
- return pUnderlyingVFS->xCurrentTime(pUnderlyingVFS, p1);
|
||||
+// Derived for sqlite3.c implementation of unixCurrentTime64 and winCurrentTime64
|
||||
+#ifdef WIN32
|
||||
+#include <windows.h>
|
||||
+static int OGRSQLiteVFSCurrentTimeInt64 (sqlite3_vfs* /*pVFS*/, sqlite3_int64 *piNow)
|
||||
+{
|
||||
+ FILETIME ft;
|
||||
+ static const sqlite3_int64 winFiletimeEpoch = 23058135*(sqlite3_int64)8640000;
|
||||
+ static const sqlite3_int64 max32BitValue =
|
||||
+ (sqlite3_int64)2000000000 + (sqlite3_int64)2000000000 +
|
||||
+ (sqlite3_int64)294967296;
|
||||
+
|
||||
+#if defined(_WIN32_WCE)
|
||||
+ SYSTEMTIME time;
|
||||
+ GetSystemTime(&time);
|
||||
+ /* if SystemTimeToFileTime() fails, it returns zero. */
|
||||
+ if (!SystemTimeToFileTime(&time,&ft)){
|
||||
+ return SQLITE_ERROR;
|
||||
+ }
|
||||
+#else
|
||||
+ GetSystemTimeAsFileTime( &ft );
|
||||
+#endif
|
||||
+ *piNow = winFiletimeEpoch +
|
||||
+ ((((sqlite3_int64)ft.dwHighDateTime)*max32BitValue) +
|
||||
+ (sqlite3_int64)ft.dwLowDateTime)/(sqlite3_int64)10000;
|
||||
+ return SQLITE_OK;
|
||||
+}
|
||||
+#else
|
||||
+#include <sys/time.h>
|
||||
+static int OGRSQLiteVFSCurrentTimeInt64 (sqlite3_vfs* /*pVFS*/, sqlite3_int64 *piNow)
|
||||
+{
|
||||
+ struct timeval sNow;
|
||||
+ static const sqlite3_int64 unixEpoch = 24405875*(sqlite3_int64)8640000;
|
||||
+ (void)gettimeofday(&sNow, NULL); /* Cannot fail given valid arguments */
|
||||
+ *piNow = unixEpoch + 1000*(sqlite3_int64)sNow.tv_sec + sNow.tv_usec/1000;
|
||||
+
|
||||
+ return SQLITE_OK;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+static int OGRSQLiteVFSCurrentTime (sqlite3_vfs* /*pVFS*/, double* p1)
|
||||
+{
|
||||
+ sqlite3_int64 i = 0;
|
||||
+ int rc = OGRSQLiteVFSCurrentTimeInt64(NULL, &i);
|
||||
+ *p1 = i/86400000.0;
|
||||
+ return rc;
|
||||
}
|
||||
|
||||
@@ -408,5 +448,9 @@
|
||||
pVFSAppData->nCounter = 0;
|
||||
|
||||
+#if SQLITE_VERSION_NUMBER >= 3008000L /* perhaps not the minimal version that defines xCurrentTimeInt64, but who cares */
|
||||
+ pMyVFS->iVersion = 2;
|
||||
+#else
|
||||
pMyVFS->iVersion = 1;
|
||||
+#endif
|
||||
pMyVFS->szOsFile = sizeof(OGRSQLiteFileStruct);
|
||||
pMyVFS->mxPathname = pDefaultVFS->mxPathname;
|
||||
@@ -425,4 +469,9 @@
|
||||
pMyVFS->xCurrentTime = OGRSQLiteVFSCurrentTime;
|
||||
pMyVFS->xGetLastError = OGRSQLiteVFSGetLastError;
|
||||
+#if SQLITE_VERSION_NUMBER >= 3008000L /* perhaps not the minimal version that defines xCurrentTimeInt64, but who cares */
|
||||
+ if( pMyVFS->iVersion >= 2 )
|
||||
+ pMyVFS->xCurrentTimeInt64 = OGRSQLiteVFSCurrentTimeInt64;
|
||||
+#endif
|
||||
+
|
||||
return pMyVFS;
|
||||
}
|
3
gdal-2.0.2.tar.xz
Normal file
3
gdal-2.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:90f838853cc1c07e55893483faa7e923e4b4b1659c6bc9df3538366030a7e622
|
||||
size 7018768
|
@ -1,6 +1,7 @@
|
||||
--- ogr/ogrct.cpp 2014-09-24 15:47:42.000000000 +0200
|
||||
+++ ogr/ogrct.cpp_new 2015-03-10 11:09:34.135358433 +0100
|
||||
@@ -92,7 +92,7 @@
|
||||
diff -rup a/ogr/ogrct.cpp b/ogr/ogrct.cpp
|
||||
--- a/ogr/ogrct.cpp 2016-01-26 16:21:46.000000000 +0100
|
||||
+++ b/ogr/ogrct.cpp 2016-02-23 12:41:38.368276062 +0100
|
||||
@@ -92,7 +92,7 @@ static void (*pfn_pj_ctx_free)( projC
|
||||
#elif defined(__APPLE__)
|
||||
# define LIBNAME "libproj.dylib"
|
||||
#else
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -ur gdal-1.8.0/swig/perl/GNUmakefile gdal-1.8.0_fix//swig/perl/GNUmakefile
|
||||
--- gdal-1.8.0/swig/perl/GNUmakefile 2011-01-14 06:19:06.000000000 +0100
|
||||
+++ gdal-1.8.0_fix//swig/perl/GNUmakefile 2011-02-04 13:37:06.000000000 +0100
|
||||
@@ -26,7 +26,7 @@
|
||||
diff -rup a/swig/perl/GNUmakefile b/swig/perl/GNUmakefile
|
||||
--- a/swig/perl/GNUmakefile 2015-06-14 21:06:33.000000000 +0200
|
||||
+++ b/swig/perl/GNUmakefile 2015-07-26 19:09:56.184743728 +0200
|
||||
@@ -26,7 +26,7 @@ build: gdal_wrap.cc Makefile_Geo__GDAL
|
||||
gdal_wrap.cc: generate
|
||||
|
||||
Makefile_Geo__GDAL:
|
||||
@ -10,3 +10,15 @@ diff -ur gdal-1.8.0/swig/perl/GNUmakefile gdal-1.8.0_fix//swig/perl/GNUmakefile
|
||||
|
||||
test: build
|
||||
$(MAKE) -f Makefile_Geo__GDAL test
|
||||
diff -rup a/swig/perl/Makefile b/swig/perl/Makefile
|
||||
--- a/swig/perl/Makefile 2015-06-14 21:06:33.000000000 +0200
|
||||
+++ b/swig/perl/Makefile 2015-07-26 19:09:30.598745454 +0200
|
||||
@@ -7,7 +7,7 @@ build: Makefile_Geo__GDAL
|
||||
$(MAKE) -f Makefile_Geo__OSR
|
||||
|
||||
Makefile_Geo__GDAL:
|
||||
- perl Makefile.PL INSTALL_BASE=$(INST_PREFIX)
|
||||
+ perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
test: build
|
||||
$(MAKE) -f Makefile_Geo__GDAL test
|
||||
|
@ -1,10 +1,10 @@
|
||||
--- gdal-1.5.4/swig/python/GNUmakefile.bak 2008-07-26 21:04:24.000000000 +0200
|
||||
+++ gdal-1.5.4/swig/python/GNUmakefile 2009-05-18 20:14:35.000000000 +0200
|
||||
@@ -66,12 +66,7 @@
|
||||
$(PYTHON) setup.py bdist_egg
|
||||
diff -rup a/swig/python/GNUmakefile b/swig/python/GNUmakefile
|
||||
--- a/swig/python/GNUmakefile 2015-06-14 21:06:33.000000000 +0200
|
||||
+++ b/swig/python/GNUmakefile 2015-07-27 18:24:17.135954561 +0200
|
||||
@@ -67,11 +67,7 @@ egg:
|
||||
|
||||
install:
|
||||
-
|
||||
|
||||
-ifeq ($(PY_HAVE_SETUPTOOLS),1)
|
||||
- $(PYTHON) setup.py install
|
||||
-else
|
||||
|
18
gdal.changes
18
gdal.changes
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 14:42:10 UTC 2016 - bruno@ioda-net.ch
|
||||
|
||||
- Ugrade to 2x series version : 2.0.2 bugfix release
|
||||
- https://trac.osgeo.org/gdal/wiki/Release/2.0.2-News
|
||||
- https://trac.osgeo.org/gdal/wiki/Release/2.0.1-News
|
||||
- https://trac.osgeo.org/gdal/wiki/Release/2.0.0-News
|
||||
|
||||
- packaging
|
||||
- Redone patch GDALmake.opt.in.patch and gdal-libproj.patch
|
||||
- Delete upstream merged gdal-python-swig3-issue6045.path
|
||||
- Delete upstream merged gdal_swig-perl-issue3084.patch
|
||||
- Add gdal-2.0.2-sqlite-crash.patch Fix upstream issue 6360
|
||||
- spec-cleaner minimal (pkgconfig make unresolvable all except
|
||||
Leap and Tumbleweed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 4 18:55:25 UTC 2016 - behrisch@users.sourceforge.net
|
||||
|
||||
@ -34,7 +50,7 @@ Fri Aug 28 10:26:28 UTC 2015 - bruno@ioda-net.ch
|
||||
* Fix python coding in swig3+ (backport of gdal20)
|
||||
with patch gdal-python-swig3-issue6045.patch
|
||||
* Fix gcc5 build upstream issue 6073
|
||||
gdal-gcc5-getaddrinfo-issue6073.patch
|
||||
gdal-gcc5-getaddrinfo-issue6073.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 09:58:30 UTC 2015 - bruno@ioda-net.ch
|
||||
|
164
gdal.spec
164
gdal.spec
@ -17,21 +17,30 @@
|
||||
|
||||
|
||||
%bcond_with ecw_support
|
||||
# Soname should be bumped on API/ABI break
|
||||
# http://trac.osgeo.org/gdal/ticket/4543
|
||||
%define soversion 20
|
||||
%define sourcename gdal
|
||||
|
||||
Name: gdal
|
||||
Version: 1.11.4
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats
|
||||
License: MIT and BSD-3-Clause and SUSE-Public-Domain
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.gdal.org/
|
||||
Source0: http://download.osgeo.org/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
Source0: http://download.osgeo.org/%{name}/%{version}/%{sourcename}-%{version}.tar.xz
|
||||
Patch0: gdal-python_install.patch
|
||||
Patch1: gdal-configure.patch
|
||||
# Was Java but everything changed keep the reminder for 2 updates
|
||||
#Patch1: gdal-configure.patch
|
||||
Patch2: gdal-perl.patch
|
||||
# Fix occasional paralle build failure
|
||||
# Fix occasional parallel build failure
|
||||
Patch3: GDALmake.opt.in.patch
|
||||
# Fix hard coded name of libproj library
|
||||
# But libproj.so is valid if libproj-devel is installed ?
|
||||
Patch4: gdal-libproj.patch
|
||||
# https://trac.osgeo.org/gdal/ticket/6360
|
||||
Patch5: gdal-2.0.2-sqlite-crash.patch
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: curl-devel
|
||||
@ -46,7 +55,6 @@ BuildRequires: libexpat-devel >= 1.95.0
|
||||
BuildRequires: libgeotiff-devel >= 1.2.1
|
||||
BuildRequires: libjasper-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libmysqld-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libproj-devel
|
||||
BuildRequires: libspatialite-devel
|
||||
@ -54,17 +62,22 @@ BuildRequires: libtiff-devel >= 3.6.0
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxerces-c-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: mysql-devel
|
||||
BuildRequires: netcdf-devel
|
||||
BuildRequires: opencl-headers
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: php5-devel
|
||||
BuildRequires: poppler-devel
|
||||
BuildRequires: postgresql-devel
|
||||
BuildRequires: python-numpy-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-numpy-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: sqlite-devel >= 3
|
||||
BuildRequires: swig
|
||||
BuildRequires: unixODBC-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: zlib-devel >= 1.1.4
|
||||
%if %{with ecw_support}
|
||||
BuildRequires: libecwj2-devel
|
||||
@ -97,22 +110,23 @@ vector data.
|
||||
%package devel
|
||||
Summary: GDAL library header files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: lib%{name}1 = %{version}
|
||||
Requires: lib%{name}%{soversion} = %{version}
|
||||
Provides: lib%{name}%{soversion}-devel
|
||||
Provides: lib%{name}-devel
|
||||
|
||||
%description devel
|
||||
Development Libraries for the GDAL file format library
|
||||
|
||||
%package -n lib%{name}1
|
||||
%package -n lib%{name}%{soversion}
|
||||
Summary: GDAL static libraries
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib%{name}1
|
||||
%description -n lib%{name}%{soversion}
|
||||
GDAL and OGR are translator libraries 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.
|
||||
|
||||
%package -n perl-gdal
|
||||
%package -n perl-%{name}
|
||||
Summary: Perl bindings for GDAL
|
||||
Group: Development/Languages/Perl
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@ -122,60 +136,57 @@ Requires: perl = %{perl_version}
|
||||
%{perl_requires}
|
||||
%endif
|
||||
|
||||
%description -n perl-gdal
|
||||
%description -n perl-%{name}
|
||||
Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules.
|
||||
|
||||
%package -n python-gdal
|
||||
%package -n python-%{name}
|
||||
Summary: GDAL Python module
|
||||
Group: Development/Languages/Python
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%py_requires
|
||||
|
||||
%description -n python-gdal
|
||||
%description -n python-%{name}
|
||||
The GDAL python modules provide support to handle multiple GIS file formats.
|
||||
|
||||
%package -n python3-gdal
|
||||
%package -n python3-%{name}
|
||||
Summary: GDAL Python3 module
|
||||
Group: Development/Languages/Python
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n python3-gdal
|
||||
The GDAL python3 modules provide support to handle multiple GIS file formats.
|
||||
%description -n python3-%{name}
|
||||
The GDAL python modules provide support to handle multiple GIS file formats.
|
||||
|
||||
%prep
|
||||
%setup -q -n gdal-%{version}
|
||||
%setup -q -n %{sourcename}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
%patch3 -p0
|
||||
%patch4 -p0
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
# Fix mandir
|
||||
sed -i "s|^mandir=.*|mandir='\${prefix}/share/man'|" configure
|
||||
|
||||
# Fix wrong encoding EOL
|
||||
for F in frmt_twms_srtm.xml frmt_wms_bluemarble_s3_tms.xml frmt_wms_virtualearth.xml frmt_twms_Clementine.xml;
|
||||
do
|
||||
# dos2unix -v is not supported on archaic SLE version
|
||||
for F in frmt_twms_srtm.xml frmt_wms_bluemarble_s3_tms.xml frmt_wms_virtualearth.xml frmt_twms_Clementine.xml;do
|
||||
find . -name "${F}" -exec dos2unix {} \;
|
||||
done
|
||||
|
||||
# need to regenerate (old ones don't support perl 5.10)
|
||||
#See below the veryclean & generate usage.
|
||||
|
||||
rm -r man
|
||||
|
||||
%build
|
||||
# need to regenerate (old one does not accpet CFLAGS)
|
||||
%if 0%{?suse_version} >= 1310
|
||||
autoreconf -fiv
|
||||
mv configure.in configure.ac
|
||||
autoreconf -fi
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--prefix=%{_prefix} \
|
||||
--prefix=%{_prefix} \
|
||||
--includedir=%{_includedir}/gdal \
|
||||
--datadir=%{_datadir}/gdal \
|
||||
--with-threads \
|
||||
--with-threads \
|
||||
--disable-static \
|
||||
--with-geotiff \
|
||||
--with-libtiff \
|
||||
--with-geotiff \
|
||||
--with-libtiff \
|
||||
--with-rename-internal-libtiff-symbols=yes \
|
||||
--with-rename-internal-libgeotiff-symbols=yes \
|
||||
--with-libz \
|
||||
@ -185,11 +196,11 @@ autoreconf -fiv
|
||||
--with-curl \
|
||||
--with-pg \
|
||||
--with-ogdi \
|
||||
--without-pcraster \
|
||||
--with-jpeg12=no \
|
||||
--without-libgrass \
|
||||
--without-grass \
|
||||
--enable-shared \
|
||||
--without-pcraster \
|
||||
--with-jpeg12=no \
|
||||
--without-libgrass \
|
||||
--without-grass \
|
||||
--enable-shared \
|
||||
--with-geos \
|
||||
--with-expat \
|
||||
--with-jasper \
|
||||
@ -206,7 +217,7 @@ autoreconf -fiv
|
||||
--with-xerces-lib="-lxerces-c" \
|
||||
--with-xerces-inc=%{_includedir}/xercesc \
|
||||
%if %{with ecw_support}
|
||||
--with-ecw \
|
||||
--with-ecw \
|
||||
CFLAGS="$CFLAGS -pthread" \
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320
|
||||
@ -228,7 +239,7 @@ do
|
||||
make %{?_smp_mflags} -C swig/${M} generate
|
||||
done
|
||||
|
||||
make %{?_smp_mflags} all docs man
|
||||
make %{?_smp_mflags} VERBOSE=1 all docs man
|
||||
|
||||
# Make Python 3 module
|
||||
pushd swig/python
|
||||
@ -244,9 +255,7 @@ pushd swig/python
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} install install-man \
|
||||
DESTDIR=%{buildroot} INST_MAN=%{_mandir}
|
||||
|
||||
cp -a ogr/html html/ogr
|
||||
DESTDIR=%{buildroot} INST_MAN=%{_mandir}
|
||||
|
||||
# Not on buildroot : broke everything with python3
|
||||
# If done got python3 needing python2 package heretic ..
|
||||
@ -268,8 +277,8 @@ chrpath --delete %{buildroot}%{perl_vendorarch}/auto/Geo/OSR/OSR.so
|
||||
|
||||
%if 0%{?suse_version} <= 1315
|
||||
# perl bs 0 length files cleanup
|
||||
find %{buildroot}%{perl_vendorarch} -name "*.bs" -exec rm -fv {} \;
|
||||
#Those are deleted.
|
||||
find %{buildroot}%{perl_vendorarch} -iname "*.bs" -exec rm -fv {} \;
|
||||
# Those are deleted.
|
||||
#%%{perl_vendorarch}/auto/Geo/OSR/OSR.bs
|
||||
#%%{perl_vendorarch}/auto/Geo/OGR/OGR.bs
|
||||
#%%{perl_vendorarch}/auto/Geo/GDAL/GDAL.bs
|
||||
@ -287,64 +296,89 @@ rm -rf %{buildroot}%{_bindir}/*.dox
|
||||
# avoid PACKAGE redefines
|
||||
sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_config.h
|
||||
|
||||
%post -n lib%{name}1 -p /sbin/ldconfig
|
||||
%post -n lib%{name}%{soversion} -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}1 -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{soversion} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}1
|
||||
%files -n lib%{name}%{soversion}
|
||||
%defattr(644,root,root,755)
|
||||
%{_libdir}/*.so.1.*
|
||||
%{_libdir}/*.so.1
|
||||
%{_libdir}/*.so.%{soversion}.*
|
||||
%{_libdir}/*.so.%{soversion}
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%doc NEWS PROVENANCE.TXT
|
||||
%attr(755,root,root) %{_bindir}/*.py
|
||||
%defattr(755,root,root,755)
|
||||
%{_bindir}/epsg_tr.py
|
||||
%{_bindir}/esri2wkt.py
|
||||
%{_bindir}/gcps2vec.py
|
||||
%{_bindir}/gcps2wld.py
|
||||
%{_bindir}/gdal2tiles.py
|
||||
%{_bindir}/gdal2xyz.py
|
||||
%{_bindir}/gdal_auth.py
|
||||
%{_bindir}/gdal_calc.py
|
||||
%{_bindir}/gdal_contour
|
||||
%{_bindir}/gdallocationinfo
|
||||
%{_bindir}/gdal_edit.py
|
||||
%{_bindir}/gdal_fillnodata.py
|
||||
%{_bindir}/gdal_grid
|
||||
%{_bindir}/gdal_merge.py
|
||||
%{_bindir}/gdal_polygonize.py
|
||||
%{_bindir}/gdal_proximity.py
|
||||
%{_bindir}/gdal_rasterize
|
||||
%{_bindir}/gdal_retile.py
|
||||
%{_bindir}/gdal_sieve.py
|
||||
%{_bindir}/gdal_translate
|
||||
%{_bindir}/gdaladdo
|
||||
%{_bindir}/gdalbuildvrt
|
||||
%{_bindir}/gdalchksum.py
|
||||
%{_bindir}/gdalcompare.py
|
||||
%{_bindir}/gdaldem
|
||||
%{_bindir}/gdalenhance
|
||||
%{_bindir}/gdalident.py
|
||||
%{_bindir}/gdalimport.py
|
||||
%{_bindir}/gdalinfo
|
||||
%{_bindir}/gdallocationinfo
|
||||
%{_bindir}/gdalmanage
|
||||
%{_bindir}/gdalmove.py
|
||||
%{_bindir}/gdalserver
|
||||
%{_bindir}/gdalsrsinfo
|
||||
%{_bindir}/gdaltindex
|
||||
%{_bindir}/gdaltransform
|
||||
%{_bindir}/gdalwarp
|
||||
%{_bindir}/gdalserver
|
||||
%{_bindir}/mkgraticule.py
|
||||
%{_bindir}/nearblack
|
||||
%{_bindir}/ogr2ogr
|
||||
%{_bindir}/ogrinfo
|
||||
%{_bindir}/ogrtindex
|
||||
%{_bindir}/testepsg
|
||||
%{_bindir}/ogrlineref
|
||||
%{_bindir}/ogrtindex
|
||||
%{_bindir}/pct2rgb.py
|
||||
%{_bindir}/rgb2pct.py
|
||||
%{_bindir}/testepsg
|
||||
%defattr(644,root,root,755)
|
||||
%{_datadir}/gdal
|
||||
%{_mandir}/man1/gdalmanage.1*
|
||||
%{_mandir}/man1/gdal_edit.1*
|
||||
%{_mandir}/man1/gdal_polygonize.1*
|
||||
%{_mandir}/man1/gdal_proximity.1*
|
||||
%{_mandir}/man1/gdalbuildvrt.1*
|
||||
%{_mandir}/man1/gdalmove.1*
|
||||
%{_mandir}/man1/gdal2tiles.1*
|
||||
%{_mandir}/man1/gdal_calc.1*
|
||||
%{_mandir}/man1/gdal_contour.1*
|
||||
%{_mandir}/man1/gdal_edit.1*
|
||||
%{_mandir}/man1/gdal_fillnodata.1*
|
||||
%{_mandir}/man1/gdal_grid.1*
|
||||
%{_mandir}/man1/gdal_merge.1*
|
||||
%{_mandir}/man1/gdal_polygonize.1*
|
||||
%{_mandir}/man1/gdal_proximity.1*
|
||||
%{_mandir}/man1/gdal_rasterize.1*
|
||||
%{_mandir}/man1/gdal_retile.1*
|
||||
%{_mandir}/man1/gdal_sieve.1*
|
||||
%{_mandir}/man1/gdal_translate.1*
|
||||
%{_mandir}/man1/gdal_utilities.1*
|
||||
%{_mandir}/man1/gdallocationinfo.1*
|
||||
%{_mandir}/man1/gdaladdo.1*
|
||||
%{_mandir}/man1/gdalbuildvrt.1*
|
||||
%{_mandir}/man1/gdalcompare.1*
|
||||
%{_mandir}/man1/gdaldem.1*
|
||||
%{_mandir}/man1/gdalinfo.1*
|
||||
%{_mandir}/man1/gdallocationinfo.1*
|
||||
%{_mandir}/man1/gdalmanage.1*
|
||||
%{_mandir}/man1/gdalmove.1*
|
||||
%{_mandir}/man1/gdalsrsinfo.1*
|
||||
%{_mandir}/man1/gdaltindex.1*
|
||||
%{_mandir}/man1/gdaltransform.1*
|
||||
%{_mandir}/man1/gdalwarp.1*
|
||||
@ -352,12 +386,10 @@ sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_
|
||||
%{_mandir}/man1/ogr2ogr.1*
|
||||
%{_mandir}/man1/ogr_utilities.1*
|
||||
%{_mandir}/man1/ogrinfo.1*
|
||||
%{_mandir}/man1/ogrlineref.1*
|
||||
%{_mandir}/man1/ogrtindex.1*
|
||||
%{_mandir}/man1/pct2rgb.1*
|
||||
%{_mandir}/man1/rgb2pct.1*
|
||||
%{_mandir}/man1/gdal_calc.1*
|
||||
%{_mandir}/man1/gdalcompare.1*
|
||||
%{_mandir}/man1/ogrlineref.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -370,7 +402,6 @@ sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_
|
||||
%dir %{_includedir}/gdal
|
||||
%{_includedir}/gdal/*.h
|
||||
%{_mandir}/man1/gdal-config.1*
|
||||
%{_mandir}/man1/gdalsrsinfo.1.gz
|
||||
|
||||
%files -n perl-%{name}
|
||||
%defattr(-,root,root)
|
||||
@ -390,6 +421,7 @@ sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_
|
||||
%attr(755,root,root) %{perl_vendorarch}/auto/Geo/OGR/OGR.so
|
||||
%dir %{perl_vendorarch}/auto/Geo/OSR
|
||||
%attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so
|
||||
%{_mandir}/man3/Geo::GDAL.3*
|
||||
|
||||
%files -n python-%{name}
|
||||
%defattr(644,root,root,755)
|
||||
|
Loading…
Reference in New Issue
Block a user