]> git.pld-linux.org Git - packages/gdal-grass.git/blame - gdal-grass.spec
- updated for 1.4.3
[packages/gdal-grass.git] / gdal-grass.spec
CommitLineData
40938716 1Summary: GRASS 6 drivers for GDAL and OGR
9fcd0acb 2Summary(pl.UTF-8): Sterowniki GRASS 6 dla bibliotek GDAL i OGR
40938716 3Name: gdal-grass
d13061b4 4Version: 1.4.1
40938716
JB
5Release: 1
6License: BSD-like
7Group: Libraries
d13061b4
JB
8Source0: ftp://ftp.remotesensing.org/gdal/%{name}-%{version}.tar.gz
9# Source0-md5: 05403a06e8918763bd0fbce2988d43d4
40938716 10Patch0: %{name}-DESTDIR.patch
128b2b28 11URL: http://www.gdal.org/gdal/
d13061b4 12BuildRequires: gdal-devel >= 1.4.1
40938716 13BuildRequires: libstdc++-devel
128b2b28 14BuildRequires: grass-devel >= 6.2.0
d13061b4 15Requires: gdal >= 1.4.1
128b2b28 16Requires: grass >= 6.2.0
40938716
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20GRASS 6 drivers for GDAL and OGR.
21
1281dce4 22%description -l pl.UTF-8
40938716
JB
23Sterowniki GRASS 6 dla bibliotek GDAL i OGR.
24
25%prep
128b2b28 26%setup -q
40938716
JB
27%patch0 -p1
28
29rm -rf autom4te.cache
30
31%build
32%configure \
128b2b28 33 CPPFLAGS="-I/usr/include/grass62" \
40938716
JB
34 --with-grass=`echo /usr/%{_lib}/grass-*`
35
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -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 0.05953 seconds and 4 git commands to generate.