265 lines
8.6 KiB
RPMSpec
265 lines
8.6 KiB
RPMSpec
Name: gdal
|
|
Version: 3.5.2
|
|
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
|
|
Patch0: gdal-1.11.0-json-c-0.12.patch
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-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: libodbc-devel
|
|
BuildRequires: libopenexr-devel
|
|
BuildRequires: libopenjpeg-devel
|
|
BuildRequires: libpcre2-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpostgresql-devel
|
|
BuildRequires: libproj-devel
|
|
BuildRequires: libqhull-devel
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libwebp-devel
|
|
BuildRequires: libxerces-c-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: libzstd-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libqhull-devel >= 2015-1mamba
|
|
BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba
|
|
BuildRequires: libproj-devel >= 8.0.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}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--datadir=%{_datadir}/gdal \
|
|
--includedir=%{_includedir}/gdal
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
#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)
|
|
#%{_sysconfdir}/bash_completion.d/gdal-bash-completion.sh
|
|
%{_bindir}/gdal_create
|
|
%{_bindir}/gdal_contour
|
|
%{_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}
|
|
%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
|
|
%dir %{_includedir}/%{name}
|
|
%{_includedir}/%{name}/*.h
|
|
%{_libdir}/libgdal.a
|
|
%{_libdir}/libgdal.so
|
|
%{_libdir}/pkgconfig/gdal.pc
|
|
#%doc NEWS
|
|
|
|
%changelog
|
|
* 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
|