[packages/opendap-fileout_gdal] - new

qboosh qboosh at pld-linux.org
Mon Mar 10 08:00:29 CET 2014


commit 11b5fc22669bbbb7a77a98085ee086a475d9556c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 10 08:03:17 2014 +0100

    - new

 opendap-fileout_gdal-includes.patch | 20 +++++++++++
 opendap-fileout_gdal.spec           | 72 +++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)
---
diff --git a/opendap-fileout_gdal.spec b/opendap-fileout_gdal.spec
new file mode 100644
index 0000000..0fec2f3
--- /dev/null
+++ b/opendap-fileout_gdal.spec
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_with	tests	# make check (requires BES server)
+#
+Summary:	OPeNDAP server module to return a GeoTiff, JP2k, etc., file for a DAP Data response
+Summary(pl.UTF-8):	Moduł serwera OPeNDAP zwracający pliki GeoTiff, JP2k itp. jako odpowiedź DAP
+Name:		opendap-fileout_gdal
+Version:	0.9.2
+Release:	1
+License:	LGPL v2.1+
+Group:		Daemons
+Source0:	http://www.opendap.org/pub/source/fileout_gdal-%{version}.tar.gz
+# Source0-md5:	45750b1bd1707848f9bc2d9bbb52f098
+Patch0:		%{name}-includes.patch
+URL:		http://opendap.org/
+BuildRequires:	autoconf >= 2.61
+BuildRequires:	automake >= 1:1.10
+%{?with_tests:BuildRequires:	bes >= 3.11.0}
+BuildRequires:	bes-devel >= 3.11.0
+BuildRequires:	gdal-devel >= 1.9.0
+BuildRequires:	libdap-devel >= 3.11.0
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool >= 2:1.5
+BuildRequires:	pkgconfig
+Requires:	bes >= 3.11.0
+Requires:	gdal >= 1.9.0
+Requires:	libdap >= 3.11.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the fileout GDAL response handler for Hyrax - the OPeNDAP data
+server. With this handler a server can easily be configured to return
+data packaged in a GeoTiff, JP2, etc., file.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduł serwera danych OPeNDAP (Hyrax) obsługujący
+odpowiedzi fileout GDAL. Przy jego użyciu można łatwo skonfigurować
+serwer, aby zwracał dane spakowane w pliku GeoTiff, JP2 itp.
+
+%prep
+%setup -q -n fileout_gdal-%{version}
+%patch0 -p1
+
+%build
+# rebuild autotools for -as-needed to work
+%{__libtoolize}
+%{__aclocal} -I conf
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-openjpeg-prefix=/usr
+%{__make}
+
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fong.conf
+%attr(755,root,root) %{_libdir}/bes/libfong_module.so
diff --git a/opendap-fileout_gdal-includes.patch b/opendap-fileout_gdal-includes.patch
new file mode 100644
index 0000000..9ca6c35
--- /dev/null
+++ b/opendap-fileout_gdal-includes.patch
@@ -0,0 +1,20 @@
+--- fileout_gdal-0.9.2/GeoTiffTransmitter.cc.orig	2013-10-01 23:36:18.000000000 +0200
++++ fileout_gdal-0.9.2/GeoTiffTransmitter.cc	2014-03-10 02:57:33.070124249 +0100
+@@ -26,6 +26,7 @@
+ 
+ #include <cstdlib>
+ 
++#include <unistd.h>
+ #include <sys/types.h>                  // For umask
+ #include <sys/stat.h>
+ 
+--- fileout_gdal-0.9.2/JPEG2000Transmitter.cc.orig	2013-10-01 23:36:18.000000000 +0200
++++ fileout_gdal-0.9.2/JPEG2000Transmitter.cc	2014-03-10 02:58:12.953455910 +0100
+@@ -26,6 +26,7 @@
+ 
+ #include <cstdlib>
+ 
++#include <unistd.h>
+ #include <sys/types.h>                  // For umask
+ #include <sys/stat.h>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opendap-fileout_gdal.git/commitdiff/11b5fc22669bbbb7a77a98085ee086a475d9556c



More information about the pld-cvs-commit mailing list