%define grassver 6.0.2 Summary: A plugin to enhance gdal with access to grass databases Name: gdal-grass Version: 1.3.1 Release: 2 URL: http://gdal.maptools.org/ Source: gdal-grass-%{version}.tar.gz Patch: gdalgrass-install.patch License: MIT Group: System Environment/Libraries BuildRequires: gdal-devel = %{version}, grass-devel >= 6.0, grass-bin >= 6.0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description GDAL is a translator library for raster geospatial data formats. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data. This package enhances GDAL to access to GRASS databases in raster and vector format. %prep %setup -q %patch0 -p0 %build %configure --with-gdal=/usr/bin/gdal-config --with-grass=/usr/lib/grass-%{grassver} make %{?_smp_mflags} %install rm -rf %{buildroot} set -x %makeinstall buildroot=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_libdir}/gdalplugins/* %{_datadir}/gdal/grass/* %changelog * Wed Mar 08 2006 Silke Reimer 1.3.1-2 - Frist build for Fedora Core 5 * Thu Oct 13 2005 Silke Reimer 1.3.1-1 - Initial build