SPECS: gdal-grass.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Thu Oct 20 23:26:28 CEST 2005
Author: qboosh Date: Thu Oct 20 21:26:28 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
gdal-grass.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/gdal-grass.spec
diff -u /dev/null SPECS/gdal-grass.spec:1.1
--- /dev/null Thu Oct 20 23:26:28 2005
+++ SPECS/gdal-grass.spec Thu Oct 20 23:26:21 2005
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/10/20 21:26:21 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list