2015-09-21 21:20:24 +00:00
#TODO: g2clib and grib (said to be modified)
2012-02-26 08:55:08 +00:00
#TODO: Create script to make clean tarball
#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
2017-01-24 08:00:11 +00:00
# It uses %%{JAVA_RUN}; make test seems to work in the build directory
2012-02-26 08:55:08 +00:00
#TODO: e00compr source is the same in the package and bundled in GDAL
#TODO: Consider doxy patch from Suse, setting EXTRACT_LOCAL_CLASSES = NO
2012-03-12 23:30:13 +00:00
# Soname should be bumped on API/ABI break
# http://trac.osgeo.org/gdal/ticket/4543
2012-02-26 08:55:08 +00:00
# Conditionals and structures for EL 5 are there
# to make life easier for downstream ELGIS.
# Sadly noarch doesn't work in EL 5, see
# http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies
2012-12-28 17:24:26 +00:00
# He also suggest to use --with-static-proj4 to actually link to proj, instead of dlopen()ing it.
2015-05-21 09:54:35 +00:00
# Major digit of the proj so version
2017-01-24 08:00:11 +00:00
%global proj_somaj 12
2012-02-26 08:55:08 +00:00
# Tests can be of a different version
2018-10-02 22:37:00 +00:00
%global testversion 2.3.2
2017-01-28 09:07:44 +00:00
%global run_tests 0
2012-02-26 08:55:08 +00:00
2018-02-14 07:33:26 +00:00
%global bashcompletiondir %(pkg-config --variable=compatdir bash-completion)
2017-09-11 18:45:41 +00:00
%if 0%{?bootstrap}
%global build_refman 0
%global with_mysql 0
%global mysql --without-mysql
%global with_poppler 0
%global poppler --without-poppler
%global with_spatialite 0
2017-12-14 14:49:41 +00:00
%global spatialite --without-spatialite
2017-09-11 18:45:41 +00:00
%else
# Enable/disable generating refmans
# texlive currently broken deps and FTBFS in rawhide
%global build_refman 1
# 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
2014-05-15 06:49:14 +00:00
%global with_spatialite 1
2012-02-26 08:55:08 +00:00
%global spatialite " - - w i t h - s p a t i a l i t e "
2017-09-11 18:45:41 +00:00
%endif
2014-05-15 06:49:14 +00:00
2018-08-22 07:38:49 +00:00
%bcond_without python2
%bcond_without python3
2014-05-15 06:49:14 +00:00
# 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
2017-12-14 14:49:41 +00:00
%global spatialite --without-spatialite
2014-05-15 06:49:14 +00:00
%endif
2012-02-26 08:55:08 +00:00
%endif
2017-01-24 08:00:11 +00:00
Name : gdal
2018-10-02 22:37:00 +00:00
Version : 2.3.2
2019-01-25 18:48:12 +00:00
Release : 3%{?dist} %{?bootstrap:.%{bootstrap} .bootstrap}
2017-01-24 08:00:11 +00:00
Summary : GIS file format library
Group : System Environment/Libraries
License : MIT
URL : http://www.gdal.org
2015-07-26 19:35:51 +00:00
# Source0: http://download.osgeo.org/gdal/%%{version}/gdal-%%{version}.tar.xz
2012-05-24 06:32:48 +00:00
# See PROVENANCE.TXT-fedora and the cleaner script for details!
2012-02-26 08:55:08 +00:00
2017-01-24 08:00:11 +00:00
Source0 : %{name} -%{version} -fedora.tar.xz
Source1 : http://download.osgeo.org/%{name} /%{testversion} /%{name} autotest-%{testversion} .tar.gz
Source2 : %{name} .pom
2012-02-26 08:55:08 +00:00
2012-05-24 06:32:48 +00:00
# Cleaner script for the tarball
2017-01-24 08:00:11 +00:00
Source3 : %{name} -cleaner.sh
2012-05-24 06:32:48 +00:00
2017-01-24 08:00:11 +00:00
Source4 : PROVENANCE.TXT-fedora
2013-03-11 03:23:48 +00:00
2012-03-13 14:57:23 +00:00
# Patch to use system g2clib
2017-01-24 08:00:11 +00:00
Patch1 : %{name} -g2clib.patch
2013-06-12 21:10:44 +00:00
# Patch for Fedora JNI library location
2017-01-24 08:00:11 +00:00
Patch2 : %{name} -jni.patch
2016-08-12 17:44:01 +00:00
# Fix bash-completion install dir
2017-01-24 08:00:11 +00:00
Patch3 : %{name} -completion.patch
2012-03-13 14:57:23 +00:00
2012-02-26 08:55:08 +00:00
# Fedora uses Alternatives for Java
2017-01-24 08:00:11 +00:00
Patch8 : %{name} -1.9.0-java.patch
2012-02-26 08:55:08 +00:00
2018-08-14 21:57:00 +00:00
Patch9 : %{name} -2.3.0-zlib.patch
2012-02-26 08:55:08 +00:00
2018-08-20 12:02:19 +00:00
# https://github.com/OSGeo/gdal/pull/876
Patch10 : %{name} -2.3.1-perl-build.patch
2018-07-25 08:21:56 +00:00
BuildRequires : gcc gcc-c++
2017-01-24 08:00:11 +00:00
BuildRequires : ant
2012-02-26 08:55:08 +00:00
# No armadillo in EL5
2017-01-24 08:00:11 +00:00
BuildRequires : armadillo-devel
BuildRequires : bash-completion
BuildRequires : cfitsio-devel
2012-02-26 08:55:08 +00:00
# No CharLS in EL5
2015-07-26 19:35:51 +00:00
#BuildRequires: CharLS-devel
2017-01-24 08:00:11 +00:00
BuildRequires : chrpath
BuildRequires : curl-devel
BuildRequires : doxygen
BuildRequires : expat-devel
BuildRequires : fontconfig-devel
2012-02-26 08:55:08 +00:00
# No freexl in EL5
2017-01-24 08:00:11 +00:00
BuildRequires : freexl-devel
BuildRequires : g2clib-static
BuildRequires : geos-devel
BuildRequires : ghostscript
BuildRequires : hdf-devel
BuildRequires : hdf-static
BuildRequires : hdf5-devel
BuildRequires : java-devel >= 1:1.6.0
BuildRequires : jasper-devel
BuildRequires : jpackage-utils
2017-07-19 21:37:49 +00:00
# add_maven_depmap macro moved into this package in F27, it seems like
BuildRequires : javapackages-local
2017-01-24 08:00:11 +00:00
BuildRequires : json-c-devel
BuildRequires : libgeotiff-devel
2012-02-26 08:55:08 +00:00
# No libgta in EL5
2017-01-24 08:00:11 +00:00
BuildRequires : libgta-devel
2012-02-26 08:55:08 +00:00
2017-01-24 08:00:11 +00:00
BuildRequires : libjpeg-devel
BuildRequires : libpng-devel
2016-05-09 14:11:02 +00:00
# No libkml in EL
2017-01-24 08:00:11 +00:00
BuildRequires : libkml-devel
2012-01-10 05:51:23 +00:00
2014-05-15 06:49:14 +00:00
%if %{with_spatialite}
2017-01-24 08:00:11 +00:00
BuildRequires : libspatialite-devel
2012-02-26 08:55:08 +00:00
%endif
2007-07-25 11:20:08 +00:00
2017-01-24 08:00:11 +00:00
BuildRequires : libtiff-devel
2014-05-15 06:49:14 +00:00
# No libwebp in EL 5 and 6
2017-01-24 08:00:11 +00:00
BuildRequires : libwebp-devel
BuildRequires : libtool
BuildRequires : giflib-devel
BuildRequires : netcdf-devel
BuildRequires : libdap-devel
BuildRequires : librx-devel
2017-09-11 18:45:41 +00:00
%if 0%{?with_mysql}
2017-12-14 14:52:38 +00:00
BuildRequires : mariadb-connector-c-devel
2017-09-11 18:45:41 +00:00
%endif
2017-01-24 08:00:11 +00:00
BuildRequires : pcre-devel
BuildRequires : ogdi-devel
BuildRequires : perl-devel
BuildRequires : perl-generators
BuildRequires : openjpeg2-devel
BuildRequires : perl(ExtUtils::MakeMaker)
2017-01-24 13:33:28 +00:00
BuildRequires : %{_bindir} /pkg-config
2017-09-11 18:45:41 +00:00
%if 0%{?with_poppler}
2017-01-24 08:00:11 +00:00
BuildRequires : poppler-devel
2017-09-11 18:45:41 +00:00
%endif
2018-09-05 13:23:32 +00:00
BuildRequires : libpq-devel
2017-01-24 08:00:11 +00:00
BuildRequires : proj-devel
2018-08-22 07:38:49 +00:00
%if %{with python2}
2017-01-24 08:00:11 +00:00
BuildRequires : python2-devel
2018-08-22 07:38:49 +00:00
BuildRequires : python2-numpy
%endif
%if %{with python3}
2017-01-24 08:00:11 +00:00
BuildRequires : python3-devel
2018-08-22 07:38:49 +00:00
BuildRequires : python3-numpy
%endif
2017-01-24 08:00:11 +00:00
BuildRequires : sqlite-devel
BuildRequires : swig
2017-09-11 16:22:10 +00:00
%if %{build_refman}
2017-01-24 08:00:11 +00:00
BuildRequires : texlive-latex
BuildRequires : texlive-collection-fontsrecommended
2018-01-27 10:15:15 +00:00
%if 0%{?fedora}
2017-01-24 08:00:11 +00:00
BuildRequires : texlive-collection-langcyrillic
BuildRequires : texlive-collection-langportuguese
2018-01-27 10:15:15 +00:00
%endif
2017-01-24 08:00:11 +00:00
BuildRequires : texlive-collection-latex
BuildRequires : texlive-epstopdf
BuildRequires : tex(multirow.sty)
BuildRequires : tex(sectsty.sty)
2018-08-20 12:02:19 +00:00
BuildRequires : tex(tabu.sty)
2017-01-24 08:00:11 +00:00
BuildRequires : tex(tocloft.sty)
BuildRequires : tex(xtab.sty)
2013-08-23 18:29:48 +00:00
%endif
2017-01-24 08:00:11 +00:00
BuildRequires : unixODBC-devel
BuildRequires : xerces-c-devel
BuildRequires : xz-devel
BuildRequires : zlib-devel
2018-01-24 10:58:58 +00:00
BuildRequires : libtirpc-devel
2012-02-26 08:55:08 +00:00
# Run time dependency for gpsbabel driver
2017-01-24 08:00:11 +00:00
Requires : gpsbabel
2012-02-26 08:55:08 +00:00
2015-05-21 09:54:35 +00:00
# proj DL-opened in ogrct.cpp, see also fix in %%prep
%if 0%{?__isa_bits} == 64
2017-01-24 08:00:11 +00:00
Requires : libproj.so.%{proj_somaj} ()(64bit)
2015-05-21 09:54:35 +00:00
%else
2017-01-24 08:00:11 +00:00
Requires : libproj.so.%{proj_somaj}
2015-05-21 09:54:35 +00:00
%endif
2017-01-24 08:00:11 +00:00
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
2012-02-26 08:55:08 +00:00
# We have multilib triage
2008-05-27 10:50:46 +00:00
%if "%{_lib}" == "lib"
2012-02-26 08:55:08 +00:00
%global cpuarch 32
2008-05-27 10:50:46 +00:00
%else
2012-02-26 08:55:08 +00:00
%global cpuarch 64
2008-05-27 10:50:46 +00:00
%endif
2014-05-15 06:49:14 +00:00
%if ! (0%{?fedora} || 0%{?rhel} > 5)
2012-01-10 05:51:23 +00:00
%{!?python_sitelib: %global python_sitelib %(%{__python} -c " f r o m d i s t u t i l s . s y s c o n f i g i m p o r t g e t _ p y t h o n _ l i b ; p r i n t ( g e t _ p y t h o n _ l i b ( ) ) " )}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c " f r o m d i s t u t i l s . s y s c o n f i g i m p o r t g e t _ p y t h o n _ l i b ; p r i n t ( g e t _ p y t h o n _ l i b ( 1 ) ) " )}
%endif
2012-02-26 08:55:08 +00:00
#TODO: Description on the lib?
2007-03-13 09:15:39 +00:00
%description
2012-02-26 08:55:08 +00:00
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
2012-07-27 14:35:04 +00:00
application for all supported formats. It also comes with a variety of
2012-02-26 08:55:08 +00:00
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.
2007-03-13 09:15:39 +00:00
%package devel
2017-01-24 08:00:11 +00:00
Summary : Development files for the GDAL file format library
Group : Development/Libraries
2012-02-26 08:55:08 +00:00
# Old rpm didn't figure out
%if 0%{?rhel} < 6
2007-03-15 14:55:43 +00:00
Requires : pkgconfig
2012-02-26 08:55:08 +00:00
%endif
2017-01-24 08:00:11 +00:00
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
Obsoletes : %{name} -static < 1.9.0-1
2007-03-13 09:15:39 +00:00
%description devel
2012-02-26 08:55:08 +00:00
This package contains development files for GDAL.
2007-03-13 09:15:39 +00:00
2008-10-24 11:46:22 +00:00
2012-02-26 08:55:08 +00:00
%package libs
2017-01-24 08:00:11 +00:00
Summary : GDAL file format library
Group : System Environment/Libraries
2015-09-23 11:54:40 +00:00
# https://trac.osgeo.org/gdal/ticket/3978#comment:5
2017-01-24 08:00:11 +00:00
Obsoletes : %{name} -ruby < 1.11.0-1
2008-10-24 11:46:22 +00:00
2012-02-26 08:55:08 +00:00
%description libs
This package contains the GDAL file format library.
2007-03-13 09:15:39 +00:00
2008-05-25 23:27:24 +00:00
%package java
2017-01-24 08:00:11 +00:00
Summary : Java modules for the GDAL file format library
Group : Development/Libraries
Requires : jpackage-utils
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
2008-05-25 23:27:24 +00:00
%description java
2012-02-26 08:55:08 +00:00
The GDAL Java modules provide support to handle multiple GIS file formats.
%package javadoc
2017-01-24 08:00:11 +00:00
Summary : Javadocs for %{name}
Group : Documentation
Requires : jpackage-utils
BuildArch : noarch
2012-02-26 08:55:08 +00:00
%description javadoc
This package contains the API documentation for %{name} .
%package perl
2017-01-24 08:00:11 +00:00
Summary : Perl modules for the GDAL file format library
Group : Development/Libraries
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
Requires : perl(:MODULE_COMPAT_%(eval " ` %{__perl} - V : v e r s i o n ` " ; echo $version))
2012-02-26 08:55:08 +00:00
%description perl
The GDAL Perl modules provide support to handle multiple GIS file formats.
2018-08-22 07:38:49 +00:00
%if %{with python2}
2017-08-19 13:38:19 +00:00
%package -n python2-gdal
%{?python_provide:%python_provide python2-gdal}
# Remove before F30
2017-08-20 14:45:54 +00:00
Provides : %{name} -python = %{version} -%{release}
2017-08-19 13:38:19 +00:00
Provides : %{name} -python%{?_isa} = %{version} -%{release}
Obsoletes : %{name} -python < %{version} -%{release}
2017-01-24 08:00:11 +00:00
Summary : Python modules for the GDAL file format library
Group : Development/Libraries
Requires : numpy
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
2012-02-26 08:55:08 +00:00
2017-08-19 13:38:19 +00:00
%description -n python2-gdal
2012-02-26 08:55:08 +00:00
The GDAL Python modules provide support to handle multiple GIS file formats.
The package also includes a couple of useful utilities in Python.
2018-08-22 07:38:49 +00:00
%endif
2012-02-26 08:55:08 +00:00
2008-05-25 23:27:24 +00:00
2018-08-22 07:38:49 +00:00
%if %{with python3}
2018-08-20 12:02:19 +00:00
%package -n python3-gdal
%{?python_provide:%python_provide python3-gdal}
2017-01-24 08:00:11 +00:00
Summary : Python modules for the GDAL file format library
Group : Development/Libraries
Requires : python3-numpy
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
2018-08-20 12:02:19 +00:00
Obsoletes : gdal-python3 < 2.3.1
Provides : gdal-python3
2016-02-21 09:51:35 +00:00
2018-08-20 12:02:19 +00:00
%description -n python3-gdal
2016-02-21 09:51:35 +00:00
The GDAL Python 3 modules provide support to handle multiple GIS file formats.
2018-08-22 07:38:49 +00:00
%endif
%if %{with python2} || %{with python3}
%package python-tools
Summary : Python tools for the GDAL file format library
Requires : %{?with_python3:python3-gdal}%{?!with_python3:python2-gdal}
%description python-tools
The GDAL Python package provides number of tools for programming and
manipulating GDAL file format library
%endif
2016-02-21 09:51:35 +00:00
2010-11-22 07:18:00 +00:00
%package doc
2017-01-24 08:00:11 +00:00
Summary : Documentation for GDAL
Group : Documentation
BuildArch : noarch
2010-11-22 07:18:00 +00:00
%description doc
2012-02-26 08:55:08 +00:00
This package contains HTML and PDF documentation for GDAL.
2010-11-22 07:18:00 +00:00
2012-05-09 23:30:41 +00:00
# We don't want to provide private Python extension libs
2016-02-21 09:51:35 +00:00
%global __provides_exclude_from ^(%{python2_sitearch} |%{python3_sitearch} )/.*\.so$
2012-05-09 23:30:41 +00:00
2007-03-13 09:15:39 +00:00
%prep
2016-12-01 16:47:05 +00:00
%setup -q -n %{name} -%{version} -fedora -a 1
2012-02-26 08:55:08 +00:00
2012-01-10 05:51:23 +00:00
# Delete bundled libraries
rm -rf frmts/zlib
rm -rf frmts/png/libpng
rm -rf frmts/gif/giflib
rm -rf frmts/jpeg/libjpeg \
frmts/jpeg/libjpeg12
rm -rf frmts/gtiff/libgeotiff \
frmts/gtiff/libtiff
2018-08-14 21:57:00 +00:00
#rm -r frmts/grib/degrib/g2clib
2012-01-10 05:51:23 +00:00
2018-08-14 21:57:00 +00:00
#%patch1 -p1 -b .g2clib~
#%patch2 -p1 -b .jni~
2016-08-12 17:44:01 +00:00
%patch3 -p1 -b .completion~
2012-02-26 08:55:08 +00:00
%patch8 -p1 -b .java~
2016-05-03 06:44:14 +00:00
%patch9 -p1 -b .zlib~
2018-08-20 12:02:19 +00:00
%patch10 -p1 -b .perl-build~
2007-03-13 09:15:39 +00:00
2013-03-11 03:23:48 +00:00
# Copy in PROVENANCE.TXT-fedora
2014-05-15 06:49:14 +00:00
cp -p %SOURCE4 .
2013-03-11 03:23:48 +00:00
2012-02-26 08:55:08 +00:00
# Sanitize linebreaks and encoding
2012-12-28 17:24:26 +00:00
#TODO: Don't touch data directory!
# /frmts/grib/degrib18/degrib/metaname.cpp
# and geoconcept.c are potentially dangerous to change
2007-03-13 09:15:39 +00:00
set +x
for f in `find . -type f` ; do
2012-02-26 08:55:08 +00:00
if file $f | grep -q ISO-8859 ; then
set -x
iconv -f ISO-8859-1 -t UTF-8 $f > ${f}.tmp && \
mv -f ${f}.tmp $f
set +x
fi
if file $f | grep -q CRLF ; then
set -x
sed -i -e 's|\r||g' $f
set +x
fi
2007-03-13 09:15:39 +00:00
done
set -x
2018-08-14 21:57:00 +00:00
for f in apps; do
2012-02-26 08:55:08 +00:00
pushd $f
2018-08-14 21:57:00 +00:00
chmod 644 *.cpp
2012-02-26 08:55:08 +00:00
popd
done
2012-01-10 05:51:23 +00:00
2012-02-26 08:55:08 +00:00
# Replace hard-coded library- and include paths
sed -i 's|-L\$with_cfitsio -L\$with_cfitsio/lib -lcfitsio|-lcfitsio|g' configure
sed -i 's|-I\$with_cfitsio -I\$with_cfitsio/include|-I\$with_cfitsio/include/cfitsio|g' configure
sed -i 's|-L\$with_netcdf -L\$with_netcdf/lib -lnetcdf|-lnetcdf|g' configure
2007-04-02 11:06:47 +00:00
sed -i 's|-L\$DODS_LIB -ldap++|-ldap++|g' configure
2012-02-26 08:55:08 +00:00
sed -i 's|-L\$with_ogdi -L\$with_ogdi/lib -logdi|-logdi|g' configure
sed -i 's|-L\$with_jpeg -L\$with_jpeg/lib -ljpeg|-ljpeg|g' configure
2007-03-20 23:05:23 +00:00
sed -i 's|-L\$with_libtiff\/lib -ltiff|-ltiff|g' configure
2007-07-25 11:20:08 +00:00
sed -i 's|-lgeotiff -L$with_geotiff $LIBS|-lgeotiff $LIBS|g' configure
2008-01-09 23:04:31 +00:00
sed -i 's|-L\$with_geotiff\/lib -lgeotiff $LIBS|-lgeotiff $LIBS|g' configure
2012-02-26 08:55:08 +00:00
# libproj is dlopened; upstream sources point to .so, which is usually not present
# http://trac.osgeo.org/gdal/ticket/3602
2015-05-21 09:54:35 +00:00
sed -i 's|libproj.so|libproj.so.%{proj_somaj}|g' ogr/ogrct.cpp
2015-07-03 08:51:49 +00:00
2018-08-22 07:38:49 +00:00
%if %{with python3} || %{with python2}
2016-02-21 09:51:35 +00:00
# Fix Python samples to depend on correct interpreter
mkdir -p swig/python3/samples
pushd swig/python/samples
for f in `find . -name '*.py' `; do
sed 's|^#!.\+python$|#!/usr/bin/python3|' $f > ../../python3/samples/$f
chmod --reference=$f ../../python3/samples/$f
sed -i 's|^#!.\+python$|#!/usr/bin/python2|' $f
done
popd
2018-08-22 07:38:49 +00:00
%endif
2016-02-21 09:51:35 +00:00
2012-02-26 08:55:08 +00:00
# Adjust check for LibDAP version
2012-03-12 23:30:13 +00:00
# http://trac.osgeo.org/gdal/ticket/4545
2012-02-26 08:55:08 +00:00
%if %cpuarch == 64
sed -i 's|with_dods_root/lib|with_dods_root/lib64|' configure
%endif
2013-08-23 18:29:48 +00:00
# Fix mandir
sed -i " s | ^ m a n d i r = . * | m a n d i r = ' \ $ { p r e f i x } / s h a r e / m a n ' | " configure
2016-02-04 18:16:48 +00:00
# Add our custom cflags when trying to find geos
# https://bugzilla.redhat.com/show_bug.cgi?id=1284714
sed -i 's|CFLAGS=\"${GEOS_CFLAGS}\"|CFLAGS=\"${CFLAGS} ${GEOS_CFLAGS}\"|g' configure
2012-02-26 08:55:08 +00:00
%build
#TODO: Couldn't I have modified that in the prep section?
2012-12-13 19:04:53 +00:00
%ifarch sparcv9 sparc64 s390 s390x
export CFLAGS=" $RPM_OPT_FLAGS - f P I C "
%else
export CFLAGS=" $RPM_OPT_FLAGS - f p i c "
%endif
2018-01-24 10:58:58 +00:00
export CXXFLAGS=" $ C F L A G S - I %{_includedir} / l i b g e o t i f f - I %{_includedir} / t i r p c "
export CPPFLAGS=" $ C P P F L A G S - I %{_includedir} / l i b g e o t i f f - I %{_includedir} / t i r p c "
2008-04-16 21:15:08 +00:00
2012-02-26 08:55:08 +00:00
# For future reference:
# epsilon: Stalled review -- https://bugzilla.redhat.com/show_bug.cgi?id=660024
# Building without pgeo driver, because it drags in Java
2007-03-13 09:15:39 +00:00
2017-12-14 18:53:09 +00:00
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
2017-08-19 15:49:26 +00:00
%global g2clib g2c_v1.6.0
2017-08-26 12:33:28 +00:00
%else
%global g2clib grib2c
2017-08-19 15:49:26 +00:00
%endif
2007-03-13 09:15:39 +00:00
%configure \
2018-01-24 10:58:58 +00:00
LIBS=" - l %{g2clib} - l t i r p c " \
2017-01-24 08:00:11 +00:00
--with-autoload=%{_libdir} /%{name} plugins \
--datadir=%{_datadir} /%{name} / \
--includedir=%{_includedir} /%{name} / \
--prefix=%{_prefix} \
--with-armadillo \
--with-curl \
--with-cfitsio=%{_prefix} \
--with-dods-root=%{_prefix} \
--with-expat \
--with-freexl \
--with-geos \
--with-geotiff=external \
--with-gif \
--with-gta \
--with-hdf4 \
--with-hdf5 \
--with-jasper \
--with-java \
--with-jpeg \
--with-libjson-c \
--without-jpeg12 \
--with-liblzma \
--with-libtiff=external \
--with-libz \
--without-mdb \
2017-09-11 18:45:41 +00:00
%{mysql} \
2017-01-24 08:00:11 +00:00
--with-netcdf \
--with-odbc \
--with-ogdi \
--without-msg \
--with-openjpeg \
--with-pcraster \
--with-pg \
--with-png \
2017-09-11 18:45:41 +00:00
%{poppler} \
2017-01-24 08:00:11 +00:00
%{spatialite} \
--with-sqlite3 \
--with-threads \
--with-webp \
--with-xerces \
--enable-shared \
--with-libkml
2007-03-13 09:15:39 +00:00
2018-08-20 12:02:19 +00:00
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
2012-02-26 08:55:08 +00:00
# {?_smp_mflags} doesn't work; Or it does -- who knows!
2017-09-08 08:12:23 +00:00
# NOTE: running autoconf seems to break build:
# fitsdataset.cpp:37:10: fatal error: fitsio.h: No such file or directory
# #include <fitsio.h>
2017-09-11 16:22:10 +00:00
POPPLER_OPTS=" P O P P L E R _ 0 _ 2 0 _ O R _ L A T E R = y e s P O P P L E R _ 0 _ 2 3 _ O R _ L A T E R = y e s P O P P L E R _ B A S E _ S T R E A M _ H A S _ T W O _ A R G S = y e s "
2017-12-14 18:53:09 +00:00
%if 0%{?fedora} > 26 || 0%{?rhel} > 7
2017-09-11 16:22:10 +00:00
POPPLER_OPTS=" $ P O P P L E R _ O P T S P O P P L E R _ 0 _ 5 8 _ O R _ L A T E R = y e s "
%endif
make %{?_smp_mflags} $POPPLER_OPTS
2011-04-22 17:32:02 +00:00
make man
2012-02-26 08:55:08 +00:00
make docs
2007-03-13 09:15:39 +00:00
2015-10-19 22:38:57 +00:00
# Build some utilities, as requested in BZ #1271906
pushd ogr/ogrsf_frmts/s57/
make all
popd
pushd frmts/iso8211/
make all
popd
2012-02-26 08:55:08 +00:00
# Make Java module and documentation
pushd swig/java
make
./make_doc.sh
popd
2018-08-20 12:02:19 +00:00
# Make Python modules
2016-02-21 09:51:35 +00:00
pushd swig/python
2018-08-22 07:38:49 +00:00
%{?with_python2:%py2_build}
%{?with_python3:%py3_build}
2018-08-20 12:02:19 +00:00
popd
# Make Python modules
pushd swig/perl
perl Makefile.PL INSTALLDIRS=vendor
%make_build
2016-02-21 09:51:35 +00:00
popd
2012-02-26 08:55:08 +00:00
# --------- Documentation ----------
# No useful documentation in swig
%global docdirs apps doc doc/br doc/ru ogr ogr/ogrsf_frmts frmts/gxf frmts/iso8211 frmts/pcidsk frmts/sdts frmts/vrt ogr/ogrsf_frmts/dgn/
for docdir in %{docdirs} ; do
# CreateHTML and PDF documentation, if specified
2011-04-11 00:09:47 +00:00
pushd $docdir
if [ ! -f Doxyfile ]; then
doxygen -g
else
doxygen -u
fi
sed -i -e 's|^GENERATE_LATEX|GENERATE_LATEX = YES\n#GENERATE_LATEX |' Doxyfile
2014-05-15 06:49:14 +00:00
sed -i -e 's|^GENERATE_HTML|GENERATE_HTML = YES\n#GENERATE_HTML |' Doxyfile
2011-04-11 00:09:47 +00:00
sed -i -e 's|^USE_PDFLATEX|USE_PDFLATEX = YES\n#USE_PDFLATEX |' Doxyfile
2012-02-26 08:55:08 +00:00
2011-04-11 00:09:47 +00:00
if [ $docdir == " d o c / r u " ]; then
sed -i -e 's|^OUTPUT_LANGUAGE|OUTPUT_LANGUAGE = Russian\n#OUTPUT_LANGUAGE |' Doxyfile
fi
rm -rf latex html
doxygen
2012-02-26 08:55:08 +00:00
2011-04-11 00:09:47 +00:00
%if %{build_refman}
pushd latex
2017-01-24 08:00:11 +00:00
sed -i -e '/rfoot\[/d' -e '/lfoot\[/d' doxygen.sty
sed -i -e '/small/d' -e '/large/d' refman.tex
sed -i -e 's|pdflatex|pdflatex -interaction nonstopmode |g' Makefile
make refman.pdf || true
2011-04-11 00:09:47 +00:00
popd
%endif
popd
2008-05-27 10:50:46 +00:00
done
2012-01-10 05:51:23 +00:00
2007-03-13 09:15:39 +00:00
%install
2011-04-11 00:09:47 +00:00
rm -rf %{buildroot}
2007-03-13 09:15:39 +00:00
2016-02-21 09:51:35 +00:00
pushd swig/python
2018-08-22 07:38:49 +00:00
%{?with_python2:%py2_install}
%{?with_python3:%py3_install}
2018-08-20 12:02:19 +00:00
popd
pushd swig/perl
%make_install
2016-02-21 09:51:35 +00:00
popd
2017-01-24 08:00:11 +00:00
make DESTDIR=%{buildroot} \
install \
install-man
2008-05-25 23:27:24 +00:00
2015-10-19 22:38:57 +00:00
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}
2012-02-26 08:55:08 +00:00
# Directory for auto-loading plugins
mkdir -p %{buildroot} %{_libdir} /%{name} plugins
2007-03-13 09:15:39 +00:00
2012-02-26 08:55:08 +00:00
#TODO: Don't do that?
2008-03-26 03:02:25 +00:00
find %{buildroot} %{perl_vendorarch} -name " * . d o x " -exec rm -rf '{}' \;
2018-08-20 12:02:19 +00:00
rm %{buildroot} %{perl_archlib} /perllocal.pod
2007-03-13 09:15:39 +00:00
2018-08-22 07:38:49 +00:00
%if %{without python} && %{without python3}
rm %buildroot%_mandir /man1/{pct2rgb,rgb2pct}.1
%endif
2012-02-26 08:55:08 +00:00
# Correct permissions
#TODO and potential ticket: Why are the permissions not correct?
2010-11-22 07:18:00 +00:00
find %{buildroot} %{perl_vendorarch} -name " * . s o " -exec chmod 755 '{}' \;
2012-02-26 08:55:08 +00:00
find %{buildroot} %{perl_vendorarch} -name " * . p m " -exec chmod 644 '{}' \;
2008-05-25 23:27:24 +00:00
2017-01-24 08:00:11 +00:00
#TODO: JAR files that require JNI shared objects MUST be installed in %%{_libdir}/%%{name}. The JNI shared objects themselves must also be installed in %%{_libdir}/%%{name}.
2012-07-27 14:35:04 +00:00
#Java programs that wish to make calls into native libraries do so via the Java Native Interface (JNI). A Java package uses JNI if it contains a .so
2017-01-24 08:00:11 +00:00
#If the JNI-using code calls System.loadLibrary you'll have to patch it to use System.load, passing it the full path to the dynamic shared object. If the package installs a wrapper script you'll need to manually add %%{_libdir}/%%{name}/<jar filename> to CLASSPATH. If you are depending on a JNI-using JAR file, you'll need to add it manually -- build-classpath will not find it.
2008-05-28 14:09:46 +00:00
touch -r NEWS swig/java/gdal.jar
2008-05-25 23:27:24 +00:00
mkdir -p %{buildroot} %{_javadir}
cp -p swig/java/gdal.jar \
2012-02-26 08:55:08 +00:00
%{buildroot} %{_javadir} /%{name} .jar
2010-11-22 07:18:00 +00:00
2012-02-26 08:55:08 +00:00
# Install Maven pom and update version number
install -dm 755 %{buildroot} %{_mavenpomdir}
install -pm 644 %{SOURCE2} %{buildroot} %{_mavenpomdir} /JPP-%{name} .pom
sed -i 's|<version></version>|<version>%{version}</version>|' %{buildroot} %{_mavenpomdir} /JPP-%{name} .pom
2012-01-10 05:51:23 +00:00
# Create depmap fragment
2013-06-12 21:10:44 +00:00
%add_maven_depmap JPP-%{name} .pom %{name} .jar
2010-11-22 07:18:00 +00:00
2012-02-26 08:55:08 +00:00
# 775 on the .so?
2010-11-22 07:18:00 +00:00
# copy JNI libraries and links, non versioned link needed by JNI
2012-02-26 08:55:08 +00:00
# What is linked here?
2013-06-12 21:10:44 +00:00
mkdir -p %{buildroot} %{_jnidir} /%{name}
2012-02-26 08:55:08 +00:00
cp -pl swig/java/.libs/*.so* \
2013-06-12 21:10:44 +00:00
%{buildroot} %{_jnidir} /%{name} /
chrpath --delete %{buildroot} %{_jnidir} /%{name} /*jni.so*
2007-03-13 09:15:39 +00:00
2012-02-26 08:55:08 +00:00
# Install Java API documentation in the designated place
mkdir -p %{buildroot} %{_javadocdir} /%{name}
cp -pr swig/java/java/org %{buildroot} %{_javadocdir} /%{name}
# Install refmans
for docdir in %{docdirs} ; do
pushd $docdir
path=%{_builddir} /%{name} -%{version} -fedora/refman
mkdir -p $path/html/$docdir
2012-07-27 14:35:04 +00:00
cp -r html $path/html/$docdir
2012-02-26 08:55:08 +00:00
# Install all Refmans
%if %{build_refman}
2017-01-24 08:00:11 +00:00
if [ -f latex/refman.pdf ]; then
mkdir -p $path/pdf/$docdir
cp latex/refman.pdf $path/pdf/$docdir
fi
2012-02-26 08:55:08 +00:00
%endif
popd
done
# Install formats documentation
for dir in gdal_frmts ogrsf_frmts; do
mkdir -p $dir
find frmts -name " * . h t m l " -exec install -p -m 644 '{}' $dir \;
done
#TODO: Header date lost during installation
# Install multilib cpl_config.h bz#430894
2010-07-08 22:08:46 +00:00
install -p -D -m 644 port/cpl_config.h %{buildroot} %{_includedir} /%{name} /cpl_config-%{cpuarch} .h
2012-02-26 08:55:08 +00:00
# Create universal multilib cpl_config.h bz#341231
# The problem is still there in 1.9.
#TODO: Ticket?
#>>>>>>>>>>>>>
2008-05-27 10:50:46 +00:00
cat > %{buildroot} %{_includedir} /%{name} /cpl_config.h <<EOF
2008-05-27 20:48:07 +00:00
#include <bits/wordsize.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
2008-05-27 10:50:46 +00:00
EOF
2012-02-26 08:55:08 +00:00
#<<<<<<<<<<<<<
2008-05-28 14:09:46 +00:00
touch -r NEWS port/cpl_config.h
2012-02-26 08:55:08 +00:00
# Create and install pkgconfig file
#TODO: Why does that exist? Does Grass really use it? I don't think so.
# http://trac.osgeo.org/gdal/ticket/3470
#>>>>>>>>>>>>>
2008-05-28 14:09:46 +00:00
cat > %{name} .pc <<EOF
prefix=%{_prefix}
exec_prefix=%{_prefix}
libdir=%{_libdir}
includedir=%{_includedir}
Name : GDAL
Description: GIS file format library
Version : %{version}
Libs: -L\${libdir} -lgdal
Cflags: -I\${includedir}/%{name}
EOF
2012-02-26 08:55:08 +00:00
#<<<<<<<<<<<<<
2008-05-28 14:53:52 +00:00
mkdir -p %{buildroot} %{_libdir} /pkgconfig/
2012-02-26 08:55:08 +00:00
install -m 644 %{name} .pc %{buildroot} %{_libdir} /pkgconfig/
touch -r NEWS %{buildroot} %{_libdir} /pkgconfig/%{name} .pc
# 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
2012-07-27 14:35:04 +00:00
# 64 bit systems -- whether you like that or not
2008-05-27 10:50:46 +00:00
mv %{buildroot} %{_bindir} /%{name} -config %{buildroot} %{_bindir} /%{name} -config-%{cpuarch}
2012-02-26 08:55:08 +00:00
#>>>>>>>>>>>>>
2008-05-27 20:48:07 +00:00
cat > %{buildroot} %{_bindir} /%{name} -config <<EOF
#!/bin/bash
2008-05-28 14:09:46 +00:00
ARCH=\$(uname -m)
case \$ARCH in
2014-11-14 11:19:15 +00:00
x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 )
2008-05-28 14:09:46 +00:00
%{name} -config-64 \${*}
2008-05-27 20:48:07 +00:00
;;
*)
2008-05-28 14:09:46 +00:00
%{name} -config-32 \${*}
2008-05-27 20:48:07 +00:00
;;
esac
EOF
2012-02-26 08:55:08 +00:00
#<<<<<<<<<<<<<
2008-05-28 14:09:46 +00:00
touch -r NEWS %{buildroot} %{_bindir} /%{name} -config
2012-02-26 08:55:08 +00:00
chmod 755 %{buildroot} %{_bindir} /%{name} -config
2008-02-14 14:15:35 +00:00
2012-02-26 08:55:08 +00:00
# Clean up junk
2013-08-23 18:29:48 +00:00
rm -f %{buildroot} %{_bindir} /*.dox
2007-07-25 11:20:08 +00:00
2012-02-26 08:55:08 +00:00
#jni-libs and libgdal are also built static (*.a)
#.exists and .packlist stem from Perl
for junk in {*.a,*.la,*.bs,.exists,.packlist} ; do
find %{buildroot} -name " $ j u n k " -exec rm -rf '{}' \;
done
2007-07-25 11:20:08 +00:00
2012-02-26 08:55:08 +00:00
# Don't duplicate license files
rm -f %{buildroot} %{_datadir} /%{name} /LICENSE.TXT
2007-07-25 11:20:08 +00:00
2012-07-07 07:03:26 +00:00
# Throw away random API man mages plus artefact seemingly caused by Doxygen 1.8.1 or 1.8.1.1
2013-06-12 21:10:44 +00:00
for f in 'GDAL*' BandProperty ColorAssociation CutlineTransformer DatasetProperty EnhanceCBInfo ListFieldDesc NamedColor OGRSplitListFieldLayer VRTBuilder; do
2012-02-26 08:55:08 +00:00
rm -rf %{buildroot} %{_mandir} /man1/$f.1*
done
2016-08-12 17:44:01 +00:00
2014-05-15 06:49:14 +00:00
#TODO: What's that?
2013-06-12 21:10:44 +00:00
rm -f %{buildroot} %{_mandir} /man1/*_%{name} -%{version} -fedora_apps_*
2016-02-04 18:16:48 +00:00
rm -f %{buildroot} %{_mandir} /man1/_home_rouault_dist_wrk_gdal_apps_.1*
2007-07-25 11:20:08 +00:00
2012-02-26 08:55:08 +00:00
%check
2014-05-15 06:49:14 +00:00
%if %{run_tests}
for i in -I/usr/lib/jvm/java/include{,/linux}; do
java_inc=" $ j a v a _ i n c $ i "
done
2012-02-26 08:55:08 +00:00
pushd %{name} autotest-%{testversion}
# Export test enviroment
export PYTHONPATH=$PYTHONPATH:%{buildroot} %{python_sitearch}
#TODO: Nötig?
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot} %{_libdir}
2017-01-24 08:00:11 +00:00
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc
2012-02-26 08:55:08 +00:00
export GDAL_DATA=%{buildroot} %{_datadir} /%{name} /
2012-07-27 14:35:04 +00:00
2012-02-26 08:55:08 +00:00
# Enable these tests on demand
#export GDAL_RUN_SLOW_TESTS=1
#export GDAL_DOWNLOAD_TEST_DATA=1
# Remove some test cases that would require special preparation
2018-03-26 18:22:34 +00:00
rm -rf ogr/ogr_pg.py # No database available
rm -rf ogr/ogr_mysql.py # No database available
rm -rf osr/osr_esri.py # ESRI datum absent
rm -rf osr/osr_erm.py # File from ECW absent
2012-07-27 14:35:04 +00:00
2012-02-26 08:55:08 +00:00
# Run tests but force normal exit in the end
./run_all.py || true
2007-07-25 11:20:08 +00:00
popd
2017-01-24 08:00:11 +00:00
%endif #%%{run_tests}
2007-07-25 11:20:08 +00:00
2012-01-10 05:51:23 +00:00
2019-01-22 17:39:01 +00:00
%ldconfig_scriptlets libs
2010-11-22 07:18:00 +00:00
2012-01-10 05:51:23 +00:00
2008-05-27 10:50:46 +00:00
%files
2018-02-14 07:33:26 +00:00
%{bashcompletiondir} /*
2012-02-26 08:55:08 +00:00
%{_bindir} /gdallocationinfo
2007-03-13 09:15:39 +00:00
%{_bindir} /gdal_contour
%{_bindir} /gdal_rasterize
%{_bindir} /gdal_translate
%{_bindir} /gdaladdo
%{_bindir} /gdalinfo
2010-03-18 05:09:37 +00:00
%{_bindir} /gdaldem
2009-07-30 10:14:24 +00:00
%{_bindir} /gdalbuildvrt
2007-03-13 09:15:39 +00:00
%{_bindir} /gdaltindex
%{_bindir} /gdalwarp
2008-01-09 23:04:31 +00:00
%{_bindir} /gdal_grid
%{_bindir} /gdalenhance
%{_bindir} /gdalmanage
2013-08-23 18:29:48 +00:00
%{_bindir} /gdalserver
2012-02-26 08:55:08 +00:00
%{_bindir} /gdalsrsinfo
2008-01-09 23:04:31 +00:00
%{_bindir} /gdaltransform
%{_bindir} /nearblack
2007-03-13 09:15:39 +00:00
%{_bindir} /ogr*
2015-10-19 22:38:57 +00:00
%{_bindir} /8211*
%{_bindir} /s57*
2008-10-24 11:46:22 +00:00
%{_bindir} /testepsg
2017-09-26 21:14:48 +00:00
%{_bindir} /gnmanalyse
%{_bindir} /gnmmanage
2012-02-26 08:55:08 +00:00
%{_mandir} /man1/gdal*.1*
%exclude %{_mandir} /man1/gdal-config.1*
%exclude %{_mandir} /man1/gdal2tiles.1*
%exclude %{_mandir} /man1/gdal_fillnodata.1*
%exclude %{_mandir} /man1/gdal_merge.1*
%exclude %{_mandir} /man1/gdal_retile.1*
%exclude %{_mandir} /man1/gdal_sieve.1*
%{_mandir} /man1/nearblack.1*
%{_mandir} /man1/ogr*.1*
2016-05-03 06:44:14 +00:00
%{_mandir} /man1/gnm*.1.*
2012-02-26 08:55:08 +00:00
%files libs
2018-08-20 12:02:19 +00:00
%doc LICENSE.TXT NEWS PROVENANCE.TXT COMMITTERS PROVENANCE.TXT-fedora
%{_libdir} /libgdal.so.20
%{_libdir} /libgdal.so.20.*
2012-02-26 08:55:08 +00:00
%{_datadir} /%{name}
#TODO: Possibly remove files like .dxf, .dgn, ...
%dir %{_libdir} /%{name} plugins
2007-03-13 09:15:39 +00:00
%files devel
2008-05-27 20:48:07 +00:00
%{_bindir} /%{name} -config
2008-05-27 10:50:46 +00:00
%{_bindir} /%{name} -config-%{cpuarch}
2012-02-26 08:55:08 +00:00
%{_mandir} /man1/gdal-config.1*
2007-04-02 11:06:47 +00:00
%dir %{_includedir} /%{name}
2007-03-13 09:15:39 +00:00
%{_includedir} /%{name} /*.h
%{_libdir} /*.so
2007-03-15 14:30:56 +00:00
%{_libdir} /pkgconfig/%{name} .pc
2007-03-13 09:15:39 +00:00
2012-02-26 08:55:08 +00:00
# Can I even have a separate Java package anymore?
2013-06-12 21:10:44 +00:00
%files java -f .mfiles
2008-05-27 10:50:46 +00:00
%doc swig/java/apps
2013-06-12 21:10:44 +00:00
%{_jnidir} /%{name} /
2008-05-25 23:27:24 +00:00
2012-02-26 08:55:08 +00:00
%files javadoc
%{_javadocdir} /%{name}
%files perl
%doc swig/perl/README
%{perl_vendorarch} /*
2015-09-25 06:59:57 +00:00
%{_mandir} /man3/*.3pm*
2012-02-26 08:55:08 +00:00
2018-08-22 07:38:49 +00:00
%if %{with python2}
2017-08-19 13:38:19 +00:00
%files -n python2-gdal
2012-02-26 08:55:08 +00:00
%doc swig/python/README.txt
%doc swig/python/samples
2016-02-21 09:51:35 +00:00
%{python2_sitearch} /osgeo
%{python2_sitearch} /GDAL-%{version} -py*.egg-info
%{python2_sitearch} /osr.py*
%{python2_sitearch} /ogr.py*
%{python2_sitearch} /gdal*.py*
2017-09-26 21:14:48 +00:00
%{python2_sitearch} /gnm.py*
2018-08-22 07:38:49 +00:00
%endif
2016-02-21 09:51:35 +00:00
2018-08-22 07:38:49 +00:00
%if %{with python3}
2018-08-20 12:02:19 +00:00
%files -n python3-gdal
2016-02-21 09:51:35 +00:00
%doc swig/python/README.txt
%doc swig/python3/samples
%{python3_sitearch} /osgeo
%{python3_sitearch} /GDAL-%{version} -py*.egg-info
%{python3_sitearch} /osr.py
%{python3_sitearch} /__pycache__/osr.*.py*
%{python3_sitearch} /ogr.py
%{python3_sitearch} /__pycache__/ogr.*.py*
%{python3_sitearch} /gdal*.py
%{python3_sitearch} /__pycache__/gdal*.*.py*
2017-09-26 21:14:48 +00:00
%{python3_sitearch} /gnm.py*
%{python3_sitearch} /__pycache__/gnm.*.py*
2018-08-22 07:38:49 +00:00
%endif
%if %{with python2} || %{with python3}
%files python-tools
%_bindir /*.py
%{_mandir} /man1/pct2rgb.1*
%{_mandir} /man1/rgb2pct.1*
%{_mandir} /man1/gdal2tiles.1*
%{_mandir} /man1/gdal_fillnodata.1*
%{_mandir} /man1/gdal_merge.1*
%{_mandir} /man1/gdal_retile.1*
%{_mandir} /man1/gdal_sieve.1*
%endif
2012-02-26 08:55:08 +00:00
2010-11-22 07:18:00 +00:00
%files doc
2017-09-11 18:45:41 +00:00
%doc gdal_frmts ogrsf_frmts refman
2012-02-26 08:55:08 +00:00
#TODO: jvm
#Should be managed by the Alternatives system and not via ldconfig
#The MDB driver is said to require:
#Download jackcess-1.2.2.jar, commons-lang-2.4.jar and
#commons-logging-1.1.1.jar (other versions might work)
#If you didn't specify --with-jvm-lib-add-rpath at
2012-05-09 23:30:41 +00:00
#Or as before, using ldconfig
2010-11-22 07:18:00 +00:00
2007-03-13 09:15:39 +00:00
%changelog
2019-01-25 18:48:12 +00:00
* Fri Jan 25 2019 Marek Kasik <mkasik@redhat.com> - 2.3.2-3
- Rebuild for poppler-0.73.0
2018-08-22 07:38:49 +00:00
* Thu Oct 04 2018 Pavel Raiskup <praiskup@redhat.com> - 2.3.2-2
- Python 3 is the default Python now
2018-10-02 22:37:00 +00:00
* Mon Oct 1 2018 Volker Fröhlich <volker27@gmx.at> - 2.3.2-1
- New upstream release
2018-08-27 10:42:15 +00:00
* Mon Aug 27 2018 José Abílio Matos <jamatos@fc.up.pt> - 2.3.1-3
- rebuild for armadillo soname bump (take 2)
2018-08-17 16:18:01 +00:00
* Fri Aug 17 2018 José Abílio Matos <jamatos@fc.up.pt> - 2.3.1-2
- rebuild for armadillo soname bump
2018-08-14 21:57:00 +00:00
* Tue Aug 14 2018 Volker Fröhlich <volker27@gmx.at> - 2.3.1-1
- New upstream release
2018-08-14 00:30:55 +00:00
* Tue Aug 14 2018 Marek Kasik <mkasik@redhat.com> - 2.2.4-10
- Rebuild for poppler-0.67.0
2018-07-25 08:21:56 +00:00
* Wed Jul 25 2018 Devrim Gündüz <devrim@gunduz.org> - 2.2.4-9
- Fix #1606875
2018-07-13 01:12:27 +00:00
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-07-03 11:02:52 +00:00
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 2.2.4-7
- Perl 5.28 rebuild
2018-06-29 20:04:02 +00:00
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.2.4-6
- Perl 5.28 rebuild
2018-06-23 04:15:50 +00:00
* Fri Jun 22 2018 Orion Poplawski <orion@nwra.com> - 2.2.4-5
- Rebuild for libdap 3.19.1
2018-06-19 08:43:30 +00:00
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.4-4
- Rebuilt for Python 3.7
2018-05-26 08:49:14 +00:00
* Sat May 26 2018 Christian Dersch <lupinix@mailbox.org> - 2.2.4-3
- rebuilt for cfitsio 3.450
2018-03-27 08:24:36 +00:00
* Tue Mar 27 2018 Björn Esser <besser82@fedoraproject.org> - 2.2.4-2
- Rebuilt for libjson-c.so.4 (json-c v0.13.1) on fc28
2018-03-26 18:22:34 +00:00
* Mon Mar 26 2018 Volker Fröhlich <volker27@gmx.at> - 2.2.4-1
2018-03-26 18:16:33 +00:00
- New upstream release
2018-03-23 23:36:06 +00:00
* Fri Mar 23 2018 Adam Williamson <awilliam@redhat.com> - 2.2.3-14
- Rebuild for poppler 0.63.0
2018-03-06 14:15:11 +00:00
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 2.2.3-13
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
2018-02-23 17:16:20 +00:00
* Fri Feb 23 2018 Christian Dersch <lupinix@mailbox.org> - 2.2.3-12
- rebuilt for cfitsio 3.420 (so version bump)
2018-02-14 17:31:49 +00:00
* Wed Feb 14 2018 David Tardon <dtardon@redhat.com> - 2.2.3-11
- rebuild for poppler 0.62.0
2018-02-14 07:33:26 +00:00
* Wed Feb 14 2018 Volker Fröhlich <volker27@gmx.at> - 2.2.3-10
- Don't own /etc/bash_completion.d (BZ#1545012)
2018-02-13 16:49:41 +00:00
* Tue Feb 13 2018 Pavel Raiskup <praiskup@redhat.com> - 2.2.3-9
- silence some rpmlint warnings
2018-01-24 11:00:15 +00:00
* Tue Feb 13 2018 Tom Hughes <tom@compton.nu> - 2.2.3-8
- Add patch for bug by node-gdal tests and fixed upstream
2018-01-24 10:58:58 +00:00
* Tue Feb 13 2018 Tom Hughes <tom@compton.nu> - 2.2.3-7
- Use libtirpc for RPC routines
2018-02-07 10:43:28 +00:00
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-27 10:15:15 +00:00
* Sat Jan 27 2018 Than Ngo <than@redhat.com> - - 2.2.3-6
- cleanup condition
2017-12-14 18:53:09 +00:00
* Thu Dec 14 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.2.3-5
- Cleanup spec file conditionals
2017-12-14 14:49:41 +00:00
* Thu Dec 14 2017 Pavel Raiskup <praiskup@redhat.com> - 2.2.3-4
- drop bootstrap mode
2017-12-14 14:52:38 +00:00
- build-require mariadb-connector-c-devel (rhbz#1494096)
2017-12-14 14:49:41 +00:00
2017-12-11 17:18:26 +00:00
* Mon Dec 11 2017 Björn Esser <besser82@fedoraproject.org> - 2.2.3-3.1.bootstrap
- Add patch to cleanly build against json-c v0.13
2017-12-10 19:50:34 +00:00
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 2.2.3-2.1.bootstrap
- Rebuilt for libjson-c.so.3
2017-12-04 19:58:15 +00:00
* Mon Dec 04 2017 Volker Froehlich <volker27@gmx.at> - 2.2.3-1
- New upstream release
2017-11-30 17:43:16 +00:00
* Wed Nov 29 2017 Volker Froehlich <volker27@gmx.at> - 2.2.2-2
- Re-enable bsb format (BZ#1432330)
2017-09-26 21:14:48 +00:00
* Fri Sep 22 2017 Volker Froehlich <volker27@gmx.at> - 2.2.2-1
- New upstream release
- Add new entries to the files sections
2017-09-17 21:33:22 +00:00
* Sun Sep 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 2.1.4-11
- rebuild (armadillo)
2017-09-11 16:22:10 +00:00
* Mon Sep 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 2.1.4-10
2017-09-11 18:45:41 +00:00
- support %%bootstrap mode, enable for rawhide (#1490492)
2017-09-11 16:22:10 +00:00
- segment POPPLER_OPTS, makes buildable on f25
2017-09-08 08:12:23 +00:00
* Fri Sep 08 2017 David Tardon <dtardon@redhat.com> - 2.1.4-9
- rebuild for poppler 0.59.0
2017-08-20 14:45:54 +00:00
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1.4-8
- Add Provides for the old name without %%_isa
2017-08-19 15:49:26 +00:00
* Sat Aug 19 2017 Orion Poplawski <orion@cora.nwra.com> - 2.1.4-7
- Handle new g2clib name in Fedora 27+
2017-08-19 13:38:19 +00:00
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1.4-6
- Python 2 binary package renamed to python2-gdal
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
2017-08-03 10:40:46 +00:00
* Thu Aug 03 2017 David Tardon <dtardon@redhat.com> - 2.1.4-5
- rebuild for poppler 0.57.0
2017-08-02 21:00:07 +00:00
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2017-07-26 09:10:37 +00:00
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-19 21:37:49 +00:00
* Wed Jul 19 2017 Adam Williamson <awilliam@redhat.com> - 2.1.4-2
- Rebuild against MariaDB 10.2
- BuildRequires: javapackages-local, for a macro that got moved there
2017-07-01 14:56:50 +00:00
* Sat Jul 01 2017 Volker Froehlich <volker27@gmx.at> - 2.1.4-1
- New upstream release
2017-06-04 06:31:01 +00:00
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.1.3-4
- Perl 5.26 rebuild
2017-03-28 13:31:26 +00:00
* Tue Mar 28 2017 David Tardon <dtardon@redhat.com> - 2.1.3-3
- rebuild for poppler 0.53.0
2017-02-01 18:21:54 +00:00
* Wed Feb 01 2017 Sandro Mani <manisandro@gmail.com> - 2.1.3-2
- Rebuild (libwebp)
2017-01-28 09:07:44 +00:00
* Fri Jan 27 2017 Volker Froehlich <volker27@gmx.at> - 2.1.3-1
- New upstream release
- Don't run tests by default (BZ #1260151)
2017-01-24 08:00:11 +00:00
* Tue Jan 24 2017 Devrim Gündüz <devrim@gunduz.org> - 2.1.2-6
- Rebuilt for proj 4.9.3
- Fix many rpmlint warnings/errors.
2017-01-24 13:33:28 +00:00
- Add a workaround for the pkg-config change in rawhide.
2017-01-24 08:00:11 +00:00
2016-12-19 17:20:36 +00:00
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.1.2-5
- Rebuild for Python 3.6
2016-12-16 14:34:44 +00:00
* Fri Dec 16 2016 David Tardon <dtardon@redhat.com> - 2.1.2-4
- rebuild for poppler 0.50.0
2016-12-01 15:28:51 +00:00
* Thu Dec 01 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1.2-3
- Rebuild for jasper 2.0
2016-12-01 16:47:05 +00:00
- Add patch to fix build with jasper 2.0
2016-12-01 15:28:51 +00:00
2016-11-23 14:38:24 +00:00
* Wed Nov 23 2016 David Tardon <dtardon@redhat.com> - 2.1.2-2
- rebuild for poppler 0.49.0
2016-10-30 23:07:55 +00:00
* Sun Oct 30 2016 Volker Froehlich <volker27@gmx.at> - 2.1.2-1
- New upstream release
2016-10-22 15:14:07 +00:00
* Sat Oct 22 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-2
- Use system libjson-c
2016-10-21 11:09:35 +00:00
* Fri Oct 21 2016 Marek Kasik <mkasik@redhat.com> - 2.1.1-2
- Rebuild for poppler-0.48.0
2016-08-12 17:44:01 +00:00
* Fri Aug 12 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1.1-1
- Update to 2.1.1
- Add patch to fix bash-completion installation and install it (bug #1337143)
2016-07-19 07:09:29 +00:00
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-07-18 11:39:14 +00:00
* Mon Jul 18 2016 Marek Kasik <mkasik@redhat.com> - 2.1.0-7
- Rebuild for poppler-0.45.0
2016-05-17 01:34:55 +00:00
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.1.0-6
- Perl 5.24 rebuild
2016-05-09 14:11:02 +00:00
* Mon May 09 2016 Volker Froehlich <volker27@gmx.at> - 2.1.0-5
- Add missing BR for libkml
2016-05-06 12:02:10 +00:00
* Fri May 06 2016 Sandro Mani <manisandro@gmail.com>- 2.1.0-4
- Enable libKML support
Resolves: #1332008
2016-05-03 20:38:41 +00:00
* Tue May 03 2016 Adam Williamson <awilliam@redhat.com> - 2.1.0-3
- rebuild for updated poppler
2016-05-03 12:17:29 +00:00
* Tue May 3 2016 Marek Kasik <mkasik@redhat.com> - 2.1.0-2
- Rebuild for poppler-0.43.0
2016-05-03 06:44:14 +00:00
* Mon May 02 2016 Jozef Mlich <imlich@fit.vutbr.cz> - 2.1.0-1
- New upstream release
2016-04-19 06:13:33 +00:00
* Mon Apr 18 2016 Tom Hughes <tom@compton.nu> - 2.0.2-5
- Rebuild for libdap change Resoloves: #1328104
2016-04-18 13:32:06 +00:00
2016-02-21 09:51:35 +00:00
* Tue Feb 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-4
- Add Python 3 support
2016-02-14 00:05:35 +00:00
* Sun Feb 14 2016 Volker Froehlich <volker27@gmx.at> - 2.0.2-3
- Add patch for GDAL issue #6360
2016-02-08 21:36:07 +00:00
* Mon Feb 08 2016 Volker Froehlich <volker27@gmx.at> - 2.0.2-2
- Rebuild for armadillo 6
2016-02-04 18:16:48 +00:00
* Thu Feb 04 2016 Volker Froehlich <volker27@gmx.at> - 2.0.2-1
- New upstream release
- Fix geos support (BZ #1284714)
2016-02-03 21:05:49 +00:00
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-22 14:13:07 +00:00
* Fri Jan 22 2016 Marek Kasik <mkasik@redhat.com> 2.0.1-5
- Rebuild for poppler-0.40.0
2016-01-15 18:59:50 +00:00
* Fri Jan 15 2016 Adam Jackson <ajax@redhat.com> 2.0.1-4
- Rebuild for libdap soname bump
2015-12-28 14:34:05 +00:00
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.1-3
- Rebuilt for libwebp soname bump
2015-10-19 22:38:57 +00:00
* Sun Oct 18 2015 Volker Froehlich <volker27@gmx.at> - 2.0.1-2
- Solve BZ #1271906 (Build iso8211 and s57 utilities)
2015-09-25 06:59:57 +00:00
* Thu Sep 24 2015 Volker Froehlich <volker27@gmx.at> - 2.0.1-1
- Updated for 2.0.1; Add Perl module manpage
2015-09-23 17:40:30 +00:00
* Wed Sep 23 2015 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-5
- Rebuild for libdap 3.15.1
2015-09-20 16:57:51 +00:00
* Sun Sep 20 2015 Volker Froehlich <volker27@gmx.at> - 2.0.0-4
- Support openjpeg2
2015-08-27 20:34:54 +00:00
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 2.0.0-3
- Rebuilt for Boost 1.59
2015-08-09 08:11:56 +00:00
* Sun Aug 09 2015 Jonathan Wakely <jwakely@redhat.com> 2.0.0-2
- Patch to set _XOPEN_SOURCE correctly (bug #1249703)
2015-07-26 19:35:51 +00:00
* Sun Jul 26 2015 Volker Froehlich <volker27@gmx.at> - 2.0.0-1
- Disable charls support due to build issues
- Solve a string formatting and comment errors in the Perl swig template
2015-07-22 14:26:23 +00:00
* Wed Jul 22 2015 Marek Kasik <mkasik@redhat.com> - 1.11.2-12
- Rebuild (poppler-0.34.0)
2015-07-03 08:51:49 +00:00
* Fri Jul 3 2015 José Matos <jamatos@fedoraproject.org> - 1.11.2-11
- Rebuild for armadillo 5(.xxx.y)
2015-06-17 07:05:46 +00:00
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-12 21:22:38 +00:00
* Fri Jun 12 2015 Volker Fröhlich <volker27@gmx.at> - 1.11.2-9
- Rebuild for Perl's dropped module_compat_5.20.*
2015-06-09 20:07:19 +00:00
* Tue Jun 09 2015 Dan Horák <dan[at]danny.cz> - 1.11.2-8
- add upstream patch for poppler >= 31
2015-06-06 16:17:28 +00:00
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.11.2-7
- Perl 5.22 rebuild
2015-05-21 09:51:31 +00:00
* Thu May 21 2015 Devrim Gündüz <devrim@gunduz.org> - 1.11.2-6
2015-05-21 09:54:35 +00:00
- Fix proj soname in ogr/ogrct.cpp. Patch from Sandro Mani
<manisandro @ gmail.com> Fixes #1212215.
2015-05-21 09:50:31 +00:00
2015-05-17 22:16:27 +00:00
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 1.11.2-5
- Rebuild for hdf5 1.8.15
2015-04-18 03:30:22 +00:00
* Sat Apr 18 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.11.2-4
- Rebuild for gcc-5.0.1 ABI changes.
2015-03-31 22:39:35 +00:00
* Tue Mar 31 2015 Orion Poplawski <orion@cora.nwra.com> - 1.11.2-3
- Rebuild for g2clib fix
2015-03-11 17:03:36 +00:00
* Wed Mar 11 2015 Devrim Gündüz <devrim@gunduz.org> - 1.11.2-2
- Rebuilt for proj 4.9.1
2015-02-24 08:27:45 +00:00
* Tue Feb 17 2015 Volker Fröhlich <volker27@gmx.at> - 1.11.2-1
- New release
2015-02-24 08:39:11 +00:00
- Remove obsolete sqlite patch
2015-02-24 08:27:45 +00:00
2015-01-23 10:49:49 +00:00
* Fri Jan 23 2015 Marek Kasik <mkasik@redhat.com> - 1.11.1-6
- Rebuild (poppler-0.30.0)
2015-01-07 18:22:22 +00:00
* Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 1.11.1-5
- Rebuild for hdf5 1.8.4
2014-12-06 02:28:35 +00:00
* Sat Dec 6 2014 Volker Fröhlich <volker27@gmx.at> - 1.11.1-4
- Apply upstream changeset 27949 to prevent a crash when using sqlite 3.8.7
2014-12-02 18:15:00 +00:00
* Tue Dec 2 2014 Jerry James <loganjerry@gmail.com> - 1.11.1-3
- Don't try to install perllocal.pod (bz 1161231)
2014-11-27 14:47:17 +00:00
* Thu Nov 27 2014 Marek Kasik <mkasik@redhat.com> - 1.11.1-3
- Rebuild (poppler-0.28.1)
2014-11-14 11:19:15 +00:00
* Fri Nov 14 2014 Dan Horák <dan[at]danny.cz> - 1.11.1-2
- update gdal-config for ppc64le
2014-10-02 08:35:28 +00:00
* Thu Oct 2 2014 Volker Fröhlich <volker27@gmx.at> - 1.11.1-1
- New release
- Correct test suite source URL
2014-08-28 19:12:00 +00:00
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.11.0-9
- Perl 5.20 rebuild
2014-08-25 12:42:21 +00:00
* Mon Aug 25 2014 Devrim Gündüz <devrim@gunduz.org> - 1.11.0-7
2015-07-03 08:51:49 +00:00
- Rebuilt for libgeotiff
2014-08-25 12:42:21 +00:00
2014-08-16 13:54:03 +00:00
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-14 07:31:59 +00:00
* Thu Aug 14 2014 Volker Fröhlich <volker27@gmx.at> - 1.11.0-6
- Add aarch64 to gdal-config script (BZ#1129295)
2014-07-25 12:38:41 +00:00
* Fri Jul 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.11.0-5
- rebuild (libspatialite)
2014-07-14 16:24:28 +00:00
* Mon Jul 14 2014 Orion Poplawski <orion@cora.nwra.com> - 1.11.0-4
- Rebuild for libgeotiff 1.4.0
2014-07-11 18:23:13 +00:00
* Fri Jul 11 2014 Orion Poplawski <orion@cora.nwra.com> - 1.11.0-3
- Rebuild for libdap 3.13.1
2014-06-07 13:33:35 +00:00
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-15 06:49:14 +00:00
* Fri Apr 25 2014 Volker Fröhlich <volker27@gmx.at> - 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
2014-04-24 07:55:38 +00:00
* Thu Apr 24 2014 Vít Ondruch <vondruch@redhat.com> - 1.10.1-7
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
2014-03-28 16:08:59 +00:00
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.10.1-6
- Use Requires: java-headless rebuild (#1067528)
2014-01-10 15:57:42 +00:00
* Fri Jan 10 2014 Orion Poplawski <orion@cora.nwra.com> - 1.10.1-5
- Rebuild for armadillo soname bump
2014-01-08 16:51:03 +00:00
* Wed Jan 08 2014 Orion Poplawski <orion@cora.nwra.com> - 1.10.1-4
- Rebuild for cfitsio 3.360
2014-01-02 04:42:54 +00:00
* Thu Jan 02 2014 Orion Poplawski <orion@cora.nwra.com> - 1.10.1-3
- Rebuild for libwebp soname bump
2013-09-22 05:01:46 +00:00
* Sat Sep 21 2013 Orion Poplawski <orion@cora.nwra.com> - 1.10.1-2
- Rebuild to pick up atlas 3.10 changes
2013-09-08 23:43:30 +00:00
* Sun Sep 8 2013 Volker Fröhlich <volker27@gmx.at> - 1.10.1-1
- New upstream release
2013-08-23 18:29:48 +00:00
* Fri Aug 23 2013 Orion Poplawski <orion@cora.nwra.com> - 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
2013-08-19 15:16:55 +00:00
* Mon Aug 19 2013 Marek Kasik <mkasik@redhat.com> - 1.9.2-12
- Rebuild (poppler-0.24.0)
2013-08-03 12:36:59 +00:00
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-17 19:58:46 +00:00
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.9.2-10
- Perl 5.18 rebuild
2013-07-12 03:51:45 +00:00
* Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> - 1.9.2-9
- Rebuild for cfitsio 3.350
2013-06-24 21:11:21 +00:00
* Mon Jun 24 2013 Volker Fröhlich <volker27@gmx.at> - 1.9.2-8
- Rebuild for poppler 0.22.5
2013-06-12 21:10:44 +00:00
* Wed Jun 12 2013 Orion Poplawski <orion@cora.nwra.com> - 1.9.2-7
- Update Java/JNI for new guidelines, also fixes bug #908065
2013-05-16 18:07:33 +00:00
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 1.9.2-6
- Rebuild for hdf5 1.8.11
2014-05-15 06:49:14 +00:00
* Mon Apr 29 2013 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.2-5
2013-04-29 11:14:19 +00:00
- Rebuild for ARM libspatialite issue
2013-03-26 12:32:35 +00:00
* Tue Mar 26 2013 Volker Fröhlich <volker27@gmx.at> - 1.9.2-4
- Rebuild for cfitsio 3.340
2014-05-15 06:49:14 +00:00
* Sun Mar 24 2013 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.2-3
2013-03-24 14:24:36 +00:00
- rebuild (libcfitsio)
2013-03-13 09:46:36 +00:00
* Wed Mar 13 2013 Vít Ondruch <vondruch@redhat.com> - 1.9.2-2
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
2013-03-11 02:45:30 +00:00
* Sun Mar 10 2013 Orion Poplawski <orion@cora.nwra.com> - 1.9.2-1
- Update to 1.9.2
- Drop poppler and java-swig patches applied upstream
2013-01-25 18:23:21 +00:00
* Fri Jan 25 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.9.1-18
- Rebuild with geos 3.3.7.
2013-01-21 13:56:03 +00:00
* Mon Jan 21 2013 Volker Fröhlich <volker27@gmx.at> - 1.9.1-17
- Rebuild due to libpoppler 0.22
2013-01-18 16:34:06 +00:00
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.9.1-16
- rebuild due to " j p e g 8 - A B I " feature drop
2012-12-28 17:33:26 +00:00
* Fri Dec 28 2012 Richard W.M. Jones <rjones@redhat.com> - 1.9.1-15
- Rebuild, see
http://lists.fedoraproject.org/pipermail/devel/2012-December/175685.html
2014-05-15 06:49:14 +00:00
* Thu Dec 13 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.1-14
2012-12-13 19:04:53 +00:00
- Tweak -fpic CFLAGS to fix FTBFS on ARM
2012-12-03 20:50:03 +00:00
* Mon Dec 3 2012 Orion Poplawski <orion@cora.nwra.com> - 1.9.1-13
- Rebuild for hdf5 1.8.10
2012-12-02 15:34:05 +00:00
* Sun Dec 2 2012 Bruno Wolff III <bruno@wolff.to> - 1.9.1-12
- Rebuild for libspatialite soname bump
2012-08-09 21:38:11 +00:00
* Thu Aug 9 2012 Volker Fröhlich <volker27@gmx.at> - 1.9.1-11
- Correct and extend conditionals for ppc andd ppc64, considering libspatialite
Related to BZ #846301
2012-07-29 22:01:02 +00:00
* Sun Jul 29 2012 José Matos <jamatos@fedoraproject.org> - 1.9.1-10
- Use the correct shell idiom " i f t r u e " instead of " i f 1 "
2012-07-29 19:28:36 +00:00
* Sun Jul 29 2012 José Matos <jamatos@fedoraproject.org> - 1.9.1-9
2012-07-29 21:17:00 +00:00
- Ignore for the moment the test for armadillo (to be removed after gcc 4.7.2 release)
2012-07-29 19:28:36 +00:00
2012-07-27 14:35:04 +00:00
* Fri Jul 27 2012 José Matos <jamatos@fedoraproject.org> - 1.9.1-8
- Rebuild for new armadillo
2012-07-20 14:22:51 +00:00
* Fri Jul 20 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.1-7
- Build with PIC
2012-07-19 04:07:43 +00:00
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-10 08:30:25 +00:00
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.9.1-5
- Perl 5.16 rebuild
2012-07-07 07:03:26 +00:00
* Sat Jul 7 2012 Volker Fröhlich <volker27@gmx.at> - 1.9.1-4
- Delete unnecessary manpage, that seems to be created with
new Doxygen (1.8.1 or 1.8.1.1)
2012-07-02 12:48:41 +00:00
* Mon Jul 2 2012 Marek Kasik <mkasik@redhat.com> - 1.9.1-3
- Rebuild (poppler-0.20.1)
2012-06-11 09:32:48 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.9.1-2
- Perl 5.16 rebuild
2012-05-24 06:32:48 +00:00
* Wed May 23 2012 Volker Fröhlich <volker27@gmx.at> - 1.9.1-1
- New upstream release
- Update poppler patch
- Add cleaner script
2012-05-20 14:51:33 +00:00
* Sun May 20 2012 Volker Fröhlich <volker27@gmx.at> - 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 <volker27@gmx.at> - 1.9.0-4
2012-05-09 23:30:41 +00:00
- Correct provides-filtering as of https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Usage
- Support webp
2012-03-12 23:30:13 +00:00
- 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
2012-05-20 14:51:33 +00:00
- Disable ogdi, until BZ#816282 is resolved
2012-03-12 23:30:13 +00:00
2012-05-09 23:30:41 +00:00
* Wed Apr 25 2012 Orion Poplawski <orion@cora.nwra.com> - 1.9.0-2
- Rebuild for cfitsio 3.300
2012-02-26 08:55:08 +00:00
* Sun Feb 26 2012 Volker Fröhlich <volker27@gmx.at> - 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
2013-08-23 18:40:19 +00:00
* Sun Feb 19 2012 Volker Fröhlich <volker27@gmx.at> - 1.7.3-14
2012-02-26 08:55:08 +00:00
- Require Ruby abi
- Add patch for Ruby 1.9 include dir, back-ported from GDAL 1.9
- Change version string for gdal-config from <version>-fedora to
<version>
- Revert installation path for Ruby modules, as it proofed wrong
- Use libjpeg-turbo
2012-02-09 22:30:27 +00:00
* Thu Feb 9 2012 Volker Fröhlich <volker27@gmx.at> - 1.7.3-13
- Rebuild for Ruby 1.9
http://lists.fedoraproject.org/pipermail/ruby-sig/2012-January/000805.html
2012-01-10 05:51:23 +00:00
* Tue Jan 10 2012 Volker Fröhlich <volker27@gmx.at> - 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
2012-07-27 14:35:04 +00:00
even for ppc64 via EPEL
2012-01-10 05:51:23 +00:00
- 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
2012-07-27 14:35:04 +00:00
- Use libdir variable in ppc64 Python path
2012-01-10 05:51:23 +00:00
- 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
2012-01-10 09:37:47 +00:00
- Allow for libpng 1.5
2012-07-27 14:35:04 +00:00
2011-12-06 04:12:59 +00:00
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.7.3-11
- Rebuild for new libpng
2011-05-18 03:38:30 +00:00
* Tue May 17 2011 Orion Poplawski <orion@cora.nwra.com> - 1.7.3-10
- Rebuild for hdf5 1.8.7
2011-04-22 17:32:02 +00:00
* Fri Apr 22 2011 Volker Fröhlich <volker27@gmx.at> - 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
2012-02-26 08:55:08 +00:00
- Removed Python files from main package files section, that
2011-04-22 17:32:02 +00:00
effectively already belonged to the Python sub-package
2013-08-23 18:40:19 +00:00
* Mon Apr 11 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.3-8
2011-04-11 00:09:47 +00:00
- 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
2011-03-31 19:22:37 +00:00
* Thu Mar 31 2011 Orion Poplawski <orion@cora.nwra.com> - 1.7.3-7
- Rebuild for netcdf 4.1.2
2011-03-23 18:16:35 +00:00
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 1.7.3-6
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
2014-05-15 06:49:14 +00:00
* Sun Mar 20 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.3-5
2011-03-21 00:23:05 +00:00
- 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
2012-02-26 08:55:08 +00:00
- gcc 4.6 doesn't accept -Xcompiler
2011-03-21 00:23:05 +00:00
2011-03-10 10:58:48 +00:00
* Thu Mar 10 2011 Kalev Lember <kalev@smartlink.ee> - 1.7.3-4
- Rebuilt with xerces-c 3.1
2011-02-08 23:23:58 +00:00
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-11-22 07:18:00 +00:00
* Sun Nov 21 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.7.3-2
- Install all the generated pdf documentation.
- Build documentation as a separate package.
- Spec cleanup
* Fri Nov 19 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.7.3-1
- Update to latest upstream version
- Added jnis
- Patches updated with proper version info
- Added suggestions from Ralph Apel <r.apel@r-apel.de>
+ Versionless symlink for gdal.jar
+ Maven2 pom
+ JPP-style depmap
+ Use -f XX.files for ruby and python