Name: gdal Version: 3.6.2 Release: 2mamba Summary: A translator library for raster geospatial data formats Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://gdal.org/ Source: http://download.osgeo.org/gdal/%{version}/gdal-%{version}.tar.xz Patch0: gdal-1.11.0-json-c-0.12.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libbsd-devel BuildRequires: libcfitsio-devel BuildRequires: libcryptopp-devel BuildRequires: libcurl-devel BuildRequires: libexpat-devel BuildRequires: libgcc BuildRequires: libgeos-devel BuildRequires: libgif-devel BuildRequires: libhdf5-devel BuildRequires: libheif-devel BuildRequires: libimath-devel BuildRequires: libjpeg-devel BuildRequires: libjson-c-devel BuildRequires: libkml-devel BuildRequires: liblz4-devel BuildRequires: liblzma-devel BuildRequires: libmariadb-devel BuildRequires: libminizip1-devel BuildRequires: libodbc-devel BuildRequires: libopenexr-devel BuildRequires: libopenjpeg-devel BuildRequires: libopenssl-devel BuildRequires: libpcre2-devel BuildRequires: libpng-devel BuildRequires: libpodofo-devel BuildRequires: libpoppler-devel BuildRequires: libpostgresql-devel BuildRequires: libproj-devel BuildRequires: libpython310-devel BuildRequires: libqhull-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: liburiparser-devel BuildRequires: libwebp-devel BuildRequires: libxerces-c-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: libzstd-devel BuildRequires: mono-devel ## AUTOBUILDREQ-END BuildRequires: libjxl-devel >= 0.8.1 BuildRequires: libqhull-devel >= 2015-1mamba BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba BuildRequires: libproj-devel >= 9.1.1 BuildRequires: libcfitsio-devel >= 4.1.0 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for data translation and processing. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %package -n python-%{name} Group: System/Libraries/Python Summary: Python bindings to %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-%{name} This package contains the Python bindings to %{name}. %package -n java-%{name} Group: System/Libraries/Java Summary: Java bindings to %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n java-%{name} This package contains the Java bindings to %{name}. %package mono Group: System/Libraries Summary: C-sharp bindings to %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description mono This package contains the C-sharp bindings to %{name}. %debug_package %prep %setup -q #%patch0 -p1 %build %cmake -d build \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_CXX_FLAGS="%{optflags} -std=c++17" \ %ifarch %{ix86} -DGDAL_ENABLE_DRIVER_FITS=OFF %endif %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build #mv %{buildroot}%{_prefix}/etc %{buildroot}/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/bash-completion/completions/* %{_mandir}/man1/*.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libgdal.so.* %{_libdir}/gdalplugins/drivers.ini %dir %{_datadir}/gdal %{_datadir}/gdal/* %files -n lib%{name}-devel %defattr(-,root,root) %{_bindir}/%{name}-config %{_includedir}/*.h #%{_libdir}/libgdal.a %{_libdir}/libgdal.so %{_libdir}/pkgconfig/gdal.pc %dir %{_libdir}/cmake/gdal %{_libdir}/cmake/gdal/GDAL*.cmake #%doc NEWS %ifnarch aarch64 %files -n python-%{name} %defattr(-,root,root) %dir %{python310_sitearch}/GDAL-%{version}-py*.egg-info %{python310_sitearch}/GDAL-%{version}-py*.egg-info/* %dir %{python310_sitearch}/osgeo %{python310_sitearch}/osgeo/* %dir %{python310_sitearch}/osgeo_utils %{python310_sitearch}/osgeo_utils/* %endif %files mono %defattr(-,root,root) %{_datadir}/csharp/* %files -n java-%{name} %defattr(-,root,root) %{_datadir}/java/gdal* %{_datadir}/java/libgdalalljni.so %changelog * Sun Feb 12 2023 Silvan Calarco 3.6.2-2mamba - rebuilt with libjxl 0.8.1; force c++17 as required by current abseil-cpp * Thu Jan 05 2023 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Sat Dec 24 2022 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Tue Dec 06 2022 Silvan Calarco 3.5.3-2mamba - rebuilt with libproj 9.1.1 * Tue Nov 01 2022 Automatic Build System 3.5.3-1mamba - automatic version update by autodist * Fri Sep 16 2022 Automatic Build System 3.5.2-1mamba - automatic version update by autodist * Fri Jul 08 2022 Automatic Build System 3.5.1-1mamba - automatic version update by autodist * Sat May 14 2022 Automatic Build System 3.5.0-1mamba - automatic version update by autodist * Thu May 05 2022 Automatic Build System 3.4.3-1mamba - automatic version update by autodist * Tue Apr 26 2022 Silvan Calarco 3.4.2-2mamba - rebuilt with libcfitsio 4.1.0 * Mon Mar 14 2022 Automatic Build System 3.4.2-1mamba - automatic version update by autodist * Wed Jan 05 2022 Automatic Build System 3.4.1-1mamba - automatic version update by autodist * Thu Nov 11 2021 Automatic Build System 3.4.0-1mamba - automatic version update by autodist * Fri Oct 29 2021 Automatic Build System 3.3.3-1mamba - automatic version update by autodist * Wed Sep 08 2021 Automatic Build System 3.3.2-1mamba - automatic version update by autodist * Mon Jul 05 2021 Automatic Build System 3.3.1-1mamba - automatic version update by autodist * Thu Jun 24 2021 Silvan Calarco 3.3.0-2mamba - rebuilt with proj 8.0.1 * Mon May 03 2021 Automatic Build System 3.3.0-1mamba - automatic version update by autodist * Thu Mar 11 2021 Automatic Build System 3.2.2-1mamba - automatic version update by autodist * Sun Feb 07 2021 Automatic Build System 3.2.1-1mamba - automatic version update by autodist * Thu Feb 13 2020 Automatic Build System 3.0.4-1mamba - automatic version update by autodist * Sat May 25 2019 Automatic Build System 2.4.1-1mamba - automatic version update by autodist * Fri Oct 05 2018 Automatic Build System 2.3.2-1mamba - automatic version update by autodist * Tue Jul 03 2018 Automatic Build System 2.3.1-1mamba - automatic version update by autodist * Sun May 20 2018 Automatic Build System 2.3.0-1mamba - automatic version update by autodist * Wed Apr 18 2018 Automatic Build System 2.2.4-1mamba - automatic version update by autodist * Wed Dec 20 2017 Automatic Build System 2.2.3-1mamba - automatic version update by autodist * Sun Oct 22 2017 Automatic Build System 2.2.2-1mamba - automatic version update by autodist * Mon Aug 07 2017 Automatic Build System 2.2.1-1mamba - automatic version update by autodist * Sat Aug 05 2017 Automatic Build System 2.2.0-1mamba - automatic version update by autodist * Mon Apr 24 2017 Automatic Build System 2.1.2-1mamba - automatic version update by autodist * Fri Aug 05 2016 Automatic Build System 2.1.1-1mamba - automatic version update by autodist * Sun Jul 24 2016 Silvan Calarco 2.1.0-2mamba - rebuilt by autoport with build requirements: libqhull-devel>=2015-1mamba * Thu May 26 2016 Automatic Build System 2.1.0-1mamba - automatic version update by autodist * Mon Feb 08 2016 Automatic Build System 2.0.2-1mamba - automatic version update by autodist * Fri Oct 02 2015 Automatic Build System 2.0.1-1mamba - automatic version update by autodist * Fri Sep 18 2015 Automatic Build System 2.0.0-1mamba - automatic version update by autodist * Tue Feb 24 2015 Automatic Build System 1.11.2-1mamba - automatic version update by autodist * Sat Oct 11 2014 Automatic Build System 1.11.1-1mamba - automatic version update by autodist * Sat Aug 09 2014 Automatic Build System 1.11.0-2mamba - rebuilt by autoport with build requirements: libopenjpeg-devel>=2.1.0-1mamba * Sun May 11 2014 Automatic Build System 1.11.0-1mamba - automatic version update by autodist * Tue Oct 29 2013 Silvan Calarco 1.10.1-1mamba - update to 1.10.1 * Mon Mar 11 2013 Silvan Calarco 1.9.2-2mamba - rebuilt with libhdf5 1.8.10 * Sat Oct 13 2012 Automatic Build System 1.9.2-1mamba - automatic version update by autodist * Tue Aug 21 2012 Silvan Calarco 1.9.1-1mamba - package created by autospec