171 lines
5.0 KiB
RPMSpec
171 lines
5.0 KiB
RPMSpec
Name: gdal
|
|
Version: 2.0.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: http://www.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: libcares-devel
|
|
BuildRequires: libcfitsio-devel
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgeos-devel
|
|
BuildRequires: libgif-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libgss-devel
|
|
BuildRequires: libhdf5-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libidn-devel
|
|
BuildRequires: libjasper-devel
|
|
BuildRequires: libjbig-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libjson-c-devel
|
|
BuildRequires: libltdl-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libodbc-devel
|
|
BuildRequires: libopenldap-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpostgresql-devel
|
|
BuildRequires: librtmp-devel
|
|
BuildRequires: libsasl-devel
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libxerces-c-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/gdal_contour
|
|
%{_bindir}/gdal_grid
|
|
%{_bindir}/gdal_rasterize
|
|
%{_bindir}/gdal_translate
|
|
%{_bindir}/gdaladdo
|
|
%{_bindir}/gdalbuildvrt
|
|
%{_bindir}/gdaldem
|
|
%{_bindir}/gdalenhance
|
|
%{_bindir}/gdalinfo
|
|
%{_bindir}/gdallocationinfo
|
|
%{_bindir}/gdalmanage
|
|
%{_bindir}/gdalserver
|
|
%{_bindir}/gdalsrsinfo
|
|
%{_bindir}/gdaltindex
|
|
%{_bindir}/gdaltransform
|
|
%{_bindir}/gdalwarp
|
|
%{_bindir}/nearblack
|
|
%{_bindir}/ogr2ogr
|
|
%{_bindir}/ogrinfo
|
|
%{_bindir}/ogrlineref
|
|
%{_bindir}/ogrtindex
|
|
%{_bindir}/testepsg
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgdal.so.*
|
|
%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.la
|
|
%{_libdir}/libgdal.so
|
|
%{_libdir}/pkgconfig/gdal.pc
|
|
%doc NEWS
|
|
|
|
%changelog
|
|
* 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
|