1 Summary: GRASS 6 drivers for GDAL and OGR
2 Summary(pl.UTF-8): Sterowniki GRASS 6 dla bibliotek GDAL i OGR
8 Source0: ftp://ftp.remotesensing.org/gdal/%{name}-%{version}.tar.gz
9 # Source0-md5: 05403a06e8918763bd0fbce2988d43d4
10 Patch0: %{name}-DESTDIR.patch
11 URL: http://www.gdal.org/gdal/
12 BuildRequires: gdal-devel >= 1.4.1
13 BuildRequires: libstdc++-devel
14 BuildRequires: grass-devel >= 6.2.0
15 Requires: gdal >= 1.4.1
16 Requires: grass >= 6.2.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 GRASS 6 drivers for GDAL and OGR.
22 %description -l pl.UTF-8
23 Sterowniki GRASS 6 dla bibliotek GDAL i OGR.
33 CPPFLAGS="-I/usr/include/grass62" \
34 --with-grass=`echo /usr/%{_lib}/grass-*`
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 # XXX: this dir could be owned by gdal
51 %dir %{_libdir}/gdalplugins
52 %attr(755,root,root) %{_libdir}/gdalplugins/gdal_GRASS.so
53 %attr(755,root,root) %{_libdir}/gdalplugins/ogr_GRASS.so
54 %{_datadir}/gdal/grass