gdal/gdal.spec

359 lines
12 KiB
RPMSpec
Raw Permalink Normal View History

Name: gdal
Version: 3.8.5
Release: 1mamba
Summary: A translator library for raster geospatial data formats
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gdal.org/
Source: http://download.osgeo.org/gdal/%{version}/gdal-%{version}.tar.xz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libarchive-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: libjxl-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: libpython311-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
BuildRequires: ocl-icd-devel
## AUTOBUILDREQ-END
BuildRequires: libpoppler-devel >= 24.02.0-1mamba
BuildRequires: libpodofo-devel >= 0.10.2-1mamba
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
BuildRequires: javapackages
BuildRequires: java-openjdk17
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
#-D -T
%build
export JAVA_HOME=%{_jvmdir}/java-11
%cmake -d build \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_FLAGS="%{optflags} -std=c++17" \
-DPython_EXECUTABLE=%{__python3} \
-DPython_INCLUDEDIR=%{python3_inc} \
%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
%files -n python-%{name}
%defattr(-,root,root)
%dir %{python3_sitearch}/GDAL-%{version}-py*.egg-info
%{python3_sitearch}/GDAL-%{version}-py*.egg-info/*
%dir %{python3_sitearch}/osgeo
%{python3_sitearch}/osgeo/*
%dir %{python3_sitearch}/osgeo_utils
%{python3_sitearch}/osgeo_utils/*
%files mono
%defattr(-,root,root)
%{_datadir}/csharp/*
%files -n java-%{name}
%defattr(-,root,root)
%{_datadir}/java/gdal*
%{_libdir}/jni/libgdalalljni.so
%changelog
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 3.8.5-1mamba
- automatic version update by autodist
* Sun Feb 25 2024 Automatic Build System <autodist@mambasoft.it> 3.8.4-2mamba
- rebuilt by autoport with build requirements: libpoppler-devel>=24.02.0-1mamba
* Sun Feb 18 2024 Automatic Build System <autodist@openmamba.org> 3.8.4-1mamba
- automatic version update by autodist
* Mon Jan 08 2024 Automatic Build System <autodist@openmamba.org> 3.8.3-1mamba
- automatic version update by autodist
* Sun Dec 24 2023 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Tue Dec 12 2023 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Thu Nov 09 2023 Automatic Build System <autodist@mambasoft.it> 3.7.3-2mamba
- rebuilt by autoport with build requirements: libpodofo-devel>=0.10.2-1mamba
* Sun Nov 05 2023 Automatic Build System <autodist@mambasoft.it> 3.7.3-1mamba
- automatic version update by autodist
* Thu Sep 14 2023 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
- automatic version update by autodist
* Thu Jul 13 2023 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
- automatic version update by autodist
* Thu May 11 2023 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic version update by autodist
* Sat Apr 22 2023 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
- automatic version update by autodist
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
- automatic version update by autodist
* Sun Feb 12 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Sat Dec 24 2022 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Tue Dec 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.3-2mamba
- rebuilt with libproj 9.1.1
* Tue Nov 01 2022 Automatic Build System <autodist@mambasoft.it> 3.5.3-1mamba
- automatic version update by autodist
* Fri Sep 16 2022 Automatic Build System <autodist@mambasoft.it> 3.5.2-1mamba
- automatic version update by autodist
* Fri Jul 08 2022 Automatic Build System <autodist@mambasoft.it> 3.5.1-1mamba
- automatic version update by autodist
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic version update by autodist
* Thu May 05 2022 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
- automatic version update by autodist
* Tue Apr 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-2mamba
- rebuilt with libcfitsio 4.1.0
* Mon Mar 14 2022 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Wed Jan 05 2022 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic version update by autodist
* Thu Nov 11 2021 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic version update by autodist
* Fri Oct 29 2021 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
- automatic version update by autodist
* Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
- automatic version update by autodist
* Mon Jul 05 2021 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-2mamba
- rebuilt with proj 8.0.1
* Mon May 03 2021 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
- automatic version update by autodist
* Thu Mar 11 2021 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
* Sun Feb 07 2021 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic version update by autodist
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
- automatic version update by autodist
* Sat May 25 2019 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Tue Jul 03 2018 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Sun May 20 2018 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Wed Apr 18 2018 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
- automatic version update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Sat Aug 05 2017 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Fri Aug 05 2016 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
- rebuilt by autoport with build requirements: libqhull-devel>=2015-1mamba
* Thu May 26 2016 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Mon Feb 08 2016 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic version update by autodist
* Fri Oct 02 2015 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic version update by autodist
* Fri Sep 18 2015 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Tue Feb 24 2015 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
- automatic version update by autodist
* Sat Oct 11 2014 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
- automatic version update by autodist
* Sat Aug 09 2014 Automatic Build System <autodist@mambasoft.it> 1.11.0-2mamba
- rebuilt by autoport with build requirements: libopenjpeg-devel>=2.1.0-1mamba
* Sun May 11 2014 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.1-1mamba
- update to 1.10.1
* Mon Mar 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-2mamba
- rebuilt with libhdf5 1.8.10
* Sat Oct 13 2012 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
- automatic version update by autodist
* Tue Aug 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-1mamba
- package created by autospec