diff --git a/README.md b/README.md index 10c4f1e..956c7d2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gdal +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. + diff --git a/gdal.spec b/gdal.spec new file mode 100644 index 0000000..68e9ca0 --- /dev/null +++ b/gdal.spec @@ -0,0 +1,151 @@ +Name: gdal +Version: 1.10.1 +Release: 1mamba +Summary: A translator library for raster geospatial data formats +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gdal.org/ +Source: http://download.osgeo.org/gdal/%{version}/gdal-%{version}.tar.xz +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: libICE-devel +BuildRequires: libicu-devel +BuildRequires: libidn-devel +BuildRequires: libjasper-devel +BuildRequires: libjbig-devel +BuildRequires: libjpeg-devel +BuildRequires: libltdl-devel +BuildRequires: liblzma-devel +BuildRequires: libodbc-devel +BuildRequires: libopenldap-devel +BuildRequires: libopenssl-devel +BuildRequires: libpng-devel +BuildRequires: libpostgresql-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: librtmp-devel +BuildRequires: libsasl-devel +BuildRequires: libSM-devel +BuildRequires: libsqlite-devel +BuildRequires: libssh2-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtiff-devel +BuildRequires: libuuid-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libxerces-c-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +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} +## note: you can add this requirement if .pc files are provided by this package +#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 + +%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}/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 +%doc NEWS + +%changelog +* 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