]> git.pld-linux.org Git - packages/gdal-grass.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 Oct 2005 21:26:21 +0000 (21:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdal-grass.spec -> 1.1

gdal-grass.spec [new file with mode: 0644]

diff --git a/gdal-grass.spec b/gdal-grass.spec
new file mode 100644 (file)
index 0000000..5251f07
--- /dev/null
@@ -0,0 +1,52 @@
+Summary:       GRASS 6 drivers for GDAL and OGR
+Summary(pl):   Sterowniki GRASS 6 dla bibliotek GDAL i OGR
+Name:          gdal-grass
+Version:       1.3.1
+Release:       1
+License:       BSD-like
+Group:         Libraries
+Source0:       ftp://ftp.remotesensing.org/pub/gdal/%{name}-%{version}.tar.gz
+# Source0-md5: 4297d174ecd23ad2aa919e89e5759b66
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://www.remotesensing.org/gdal/
+BuildRequires: gdal-devel
+BuildRequires: libstdc++-devel
+BuildRequires: grass-devel >= 5.7
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GRASS 6 drivers for GDAL and OGR.
+
+%description -l pl
+Sterowniki GRASS 6 dla bibliotek GDAL i OGR.
+
+%prep
+%setup -q
+%patch0 -p1
+
+rm -rf autom4te.cache
+
+%build
+%configure \
+       CPPFLAGS="-I/usr/include/grass60" \
+       --with-grass=`echo /usr/%{_lib}/grass-*`
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+# XXX: this dir could be owned by gdal
+%dir %{_libdir}/gdalplugins
+%attr(755,root,root) %{_libdir}/gdalplugins/gdal_GRASS.so
+%attr(755,root,root) %{_libdir}/gdalplugins/ogr_GRASS.so
+%{_datadir}/gdal/grass
This page took 1.080906 seconds and 4 git commands to generate.