]> git.pld-linux.org Git - packages/gdal-grass.git/blame - gdal-grass.spec
- new
[packages/gdal-grass.git] / gdal-grass.spec
CommitLineData
40938716
JB
1Summary: GRASS 6 drivers for GDAL and OGR
2Summary(pl): Sterowniki GRASS 6 dla bibliotek GDAL i OGR
3Name: gdal-grass
4Version: 1.3.1
5Release: 1
6License: BSD-like
7Group: Libraries
8Source0: ftp://ftp.remotesensing.org/pub/gdal/%{name}-%{version}.tar.gz
9# Source0-md5: 4297d174ecd23ad2aa919e89e5759b66
10Patch0: %{name}-DESTDIR.patch
11URL: http://www.remotesensing.org/gdal/
12BuildRequires: gdal-devel
13BuildRequires: libstdc++-devel
14BuildRequires: grass-devel >= 5.7
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18GRASS 6 drivers for GDAL and OGR.
19
20%description -l pl
21Sterowniki GRASS 6 dla bibliotek GDAL i OGR.
22
23%prep
24%setup -q
25%patch0 -p1
26
27rm -rf autom4te.cache
28
29%build
30%configure \
31 CPPFLAGS="-I/usr/include/grass60" \
32 --with-grass=`echo /usr/%{_lib}/grass-*`
33
34%{__make}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc README
48# XXX: this dir could be owned by gdal
49%dir %{_libdir}/gdalplugins
50%attr(755,root,root) %{_libdir}/gdalplugins/gdal_GRASS.so
51%attr(755,root,root) %{_libdir}/gdalplugins/ogr_GRASS.so
52%{_datadir}/gdal/grass
This page took 0.671268 seconds and 4 git commands to generate.