rebuilt with libjxl 0.8.1; force c++17 as required by current abseil-cpp [release 3.6.2-2mamba;Sun Feb 12 2023]
This commit is contained in:
parent
40f3a1f14b
commit
709460c509
116
gdal.spec
116
gdal.spec
@ -1,5 +1,5 @@
|
|||||||
Name: gdal
|
Name: gdal
|
||||||
Version: 3.5.3
|
Version: 3.6.2
|
||||||
Release: 2mamba
|
Release: 2mamba
|
||||||
Summary: A translator library for raster geospatial data formats
|
Summary: A translator library for raster geospatial data formats
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
@ -12,6 +12,7 @@ Patch0: gdal-1.11.0-json-c-0.12.patch
|
|||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
BuildRequires: libcfitsio-devel
|
BuildRequires: libcfitsio-devel
|
||||||
BuildRequires: libcryptopp-devel
|
BuildRequires: libcryptopp-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
@ -26,23 +27,33 @@ BuildRequires: libjpeg-devel
|
|||||||
BuildRequires: libjson-c-devel
|
BuildRequires: libjson-c-devel
|
||||||
BuildRequires: libkml-devel
|
BuildRequires: libkml-devel
|
||||||
BuildRequires: liblz4-devel
|
BuildRequires: liblz4-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: libmariadb-devel
|
||||||
|
BuildRequires: libminizip1-devel
|
||||||
BuildRequires: libodbc-devel
|
BuildRequires: libodbc-devel
|
||||||
BuildRequires: libopenexr-devel
|
BuildRequires: libopenexr-devel
|
||||||
BuildRequires: libopenjpeg-devel
|
BuildRequires: libopenjpeg-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libpcre2-devel
|
BuildRequires: libpcre2-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libpodofo-devel
|
||||||
|
BuildRequires: libpoppler-devel
|
||||||
BuildRequires: libpostgresql-devel
|
BuildRequires: libpostgresql-devel
|
||||||
BuildRequires: libproj-devel
|
BuildRequires: libproj-devel
|
||||||
|
BuildRequires: libpython310-devel
|
||||||
BuildRequires: libqhull-devel
|
BuildRequires: libqhull-devel
|
||||||
BuildRequires: libsqlite-devel
|
BuildRequires: libsqlite-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: liburiparser-devel
|
||||||
BuildRequires: libwebp-devel
|
BuildRequires: libwebp-devel
|
||||||
BuildRequires: libxerces-c-devel
|
BuildRequires: libxerces-c-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
|
BuildRequires: mono-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libjxl-devel >= 0.8.1
|
||||||
BuildRequires: libqhull-devel >= 2015-1mamba
|
BuildRequires: libqhull-devel >= 2015-1mamba
|
||||||
BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba
|
BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba
|
||||||
BuildRequires: libproj-devel >= 9.1.1
|
BuildRequires: libproj-devel >= 9.1.1
|
||||||
@ -68,6 +79,30 @@ Requires: pkg-config
|
|||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
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
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -75,15 +110,18 @@ This package contains libraries and header files for developing applications tha
|
|||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%cmake -d build \
|
||||||
--datadir=%{_datadir}/gdal \
|
-DCMAKE_CXX_STANDARD=17 \
|
||||||
--includedir=%{_includedir}/gdal
|
-DCMAKE_CXX_FLAGS="%{optflags} -std=c++17" \
|
||||||
|
%ifarch %{ix86}
|
||||||
|
-DGDAL_ENABLE_DRIVER_FITS=OFF
|
||||||
|
%endif
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall -C build
|
||||||
|
|
||||||
#mv %{buildroot}%{_prefix}/etc %{buildroot}/
|
#mv %{buildroot}%{_prefix}/etc %{buildroot}/
|
||||||
|
|
||||||
@ -95,35 +133,9 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%{_sysconfdir}/bash_completion.d/gdal-bash-completion.sh
|
%{_bindir}/*
|
||||||
%{_bindir}/gdal_create
|
%{_datadir}/bash-completion/completions/*
|
||||||
%{_bindir}/gdal_contour
|
%{_mandir}/man1/*.1*
|
||||||
%{_bindir}/gdal_grid
|
|
||||||
%{_bindir}/gdal_rasterize
|
|
||||||
%{_bindir}/gdal_translate
|
|
||||||
%{_bindir}/gdal_viewshed
|
|
||||||
%{_bindir}/gdaladdo
|
|
||||||
%{_bindir}/gdalbuildvrt
|
|
||||||
%{_bindir}/gdaldem
|
|
||||||
%{_bindir}/gdalenhance
|
|
||||||
%{_bindir}/gdalinfo
|
|
||||||
%{_bindir}/gdallocationinfo
|
|
||||||
%{_bindir}/gdalmanage
|
|
||||||
%{_bindir}/gdalmdiminfo
|
|
||||||
%{_bindir}/gdalmdimtranslate
|
|
||||||
#%{_bindir}/gdalserver
|
|
||||||
%{_bindir}/gdalsrsinfo
|
|
||||||
%{_bindir}/gdaltindex
|
|
||||||
%{_bindir}/gdaltransform
|
|
||||||
%{_bindir}/gdalwarp
|
|
||||||
%{_bindir}/gnmanalyse
|
|
||||||
%{_bindir}/gnmmanage
|
|
||||||
%{_bindir}/nearblack
|
|
||||||
%{_bindir}/ogr2ogr
|
|
||||||
%{_bindir}/ogrinfo
|
|
||||||
%{_bindir}/ogrlineref
|
|
||||||
%{_bindir}/ogrtindex
|
|
||||||
#%{_bindir}/testepsg
|
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -135,14 +147,44 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/%{name}-config
|
%{_bindir}/%{name}-config
|
||||||
%dir %{_includedir}/%{name}
|
%{_includedir}/*.h
|
||||||
%{_includedir}/%{name}/*.h
|
#%{_libdir}/libgdal.a
|
||||||
%{_libdir}/libgdal.a
|
|
||||||
%{_libdir}/libgdal.so
|
%{_libdir}/libgdal.so
|
||||||
%{_libdir}/pkgconfig/gdal.pc
|
%{_libdir}/pkgconfig/gdal.pc
|
||||||
|
%dir %{_libdir}/cmake/gdal
|
||||||
|
%{_libdir}/cmake/gdal/GDAL*.cmake
|
||||||
#%doc NEWS
|
#%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
|
%changelog
|
||||||
|
* 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
|
* Tue Dec 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.3-2mamba
|
||||||
- rebuilt with libproj 9.1.1
|
- rebuilt with libproj 9.1.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user