]> git.pld-linux.org Git - packages/gdal-grass.git/blob - gdal-grass.spec
- updated to 1.4.1
[packages/gdal-grass.git] / gdal-grass.spec
1 Summary:        GRASS 6 drivers for GDAL and OGR
2 Summary(pl.UTF-8):      Sterowniki GRASS 6 dla bibliotek GDAL i OGR
3 Name:           gdal-grass
4 Version:        1.4.1
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
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)
18
19 %description
20 GRASS 6 drivers for GDAL and OGR.
21
22 %description -l pl.UTF-8
23 Sterowniki GRASS 6 dla bibliotek GDAL i OGR.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 rm -rf autom4te.cache
30
31 %build
32 %configure \
33         CPPFLAGS="-I/usr/include/grass62" \
34         --with-grass=`echo /usr/%{_lib}/grass-*`
35
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
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
This page took 1.221889 seconds and 3 git commands to generate.