# - be reasonable about devel dependencies - you do not need all of them to
# use gdal (probably a gdal module or driver shall not imply devel
# dependency)
-# - rasdaman (--with-rasdaman; http://rasdaman.eecs.jacobs-university.de/trac/rasdaman/wiki/Download)
# - libjpeg12 (needs patching to use system one, --with-jpeg12 is not sufficient as of 1.9.2)
# - libkml (1.3.0 needed, not released yet)
# - wait for newer pcidsk, switch to external again
# - Kakadu/JPEG2000 (http://www.kakadusoftware.com/)
# - MrSID (http://www.lizardtech.com/developer/)
# - MSG/EUMETSAT (http://www.eumetsat.int/Home/Main/DataAccess/SupportSoftwareTools/index.htm)
-# - Oracle/OCI >= 10.0.1 (for georaster); Oracle/OCI >= 8.1.7 (as DB)
# - Ingres (--with-ingres=/path)
# - Informix DB (--with-idb)
# - DWGdirect (members only? http://www.opendwg.org/)
%if %{with podofo}
%undefine with_poppler
%endif
+%if 0%{!?php_name:1}
%define php_name php55
+%endif
Summary: Geospatial Data Abstraction Library
Summary(pl.UTF-8): Biblioteka abstrakcji danych dotyczÄ…cych powierzchni Ziemi
Name: gdal
-Version: 1.11.0
-Release: 3
+Version: 1.11.1
+Release: 1
License: BSD-like
Group: Libraries
Source0: http://download.osgeo.org/gdal/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 31f2c4a7230b40e5fdc3cf12a100f96b
+# Source0-md5: 2e126d7c6605691d38f3e71b945f5c73
Patch0: %{name}-perl.patch
Patch1: %{name}-python_install.patch
Patch2: %{name}-php.patch
Patch7: %{name}-link.patch
Patch8: %{name}-fyba.patch
Patch9: %{name}-dds.patch
-Patch10: %{name}-gif.patch
Patch11: %{name}-armadillo.patch
Patch12: %{name}-oci.patch
Patch13: %{name}-rasdaman.patch
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: cfitsio-devel
-%{?with_dds:BuildRequires: crnlib-devel}
+%{?with_crnlib:BuildRequires: crnlib-devel}
BuildRequires: curl-devel
BuildRequires: doxygen >= 1.4.2
%{?with_epsilon:BuildRequires: epsilon-compressor-devel}
%{?with_opencl:Requires: OpenCL-devel >= 1.0}
%{?with_armadillo:Requires: armadillo-devel}
Requires: cfitsio-devel
-%{?with_dds:Requires: crnlib-devel}
+%{?with_crnlib:Requires: crnlib-devel}
Requires: curl-devel
%{?with_epsilon:Requires: epsilon-compressor-devel}
%{?with_fyba:Requires: fyba-devel}
%patch7 -p1
%patch8 -p1
%patch9 -p1
-%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%{__aclocal} -I m4
%{__autoconf}
%configure \
+ --includedir=%{_includedir}/gdal \
--datadir=%{_datadir}/gdal \
--with-dods-root=/usr \
%{?with_armadillo:--with-armadillo} \
%attr(755,root,root) %{_libdir}/libgdal.so
%{_libdir}/libgdal.la
%{_pkgconfigdir}/gdal.pc
-%{_includedir}/cpl_*.h
-%{_includedir}/cplkeywordparser.h
-%{_includedir}/gdal*.h
-%{_includedir}/gvgcpfit.h
-%{_includedir}/memdataset.h
-%{_includedir}/ogr_*.h
-%{_includedir}/ogrsf_frmts.h
-%{_includedir}/rawdataset.h
-%{_includedir}/thinplatespline.h
-%{_includedir}/vrtdataset.h
+%{_includedir}/gdal
%{_mandir}/man1/gdal-config.1*
%files static
%{perl_vendorarch}/Geo/OSR.pm
%dir %{perl_vendorarch}/auto/Geo
%dir %{perl_vendorarch}/auto/Geo/GDAL
-%{perl_vendorarch}/auto/Geo/GDAL/GDAL.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/GDAL.so
%dir %{perl_vendorarch}/auto/Geo/GDAL/Const
-%{perl_vendorarch}/auto/Geo/GDAL/Const/Const.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Geo/GDAL/Const/Const.so
%dir %{perl_vendorarch}/auto/Geo/OGR
-%{perl_vendorarch}/auto/Geo/OGR/OGR.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Geo/OGR/OGR.so
%dir %{perl_vendorarch}/auto/Geo/OSR
-%{perl_vendorarch}/auto/Geo/OSR/OSR.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so
%if %{with php}