[packages/opendap-hdf4_handler] - new
qboosh
qboosh at pld-linux.org
Mon Mar 10 20:39:56 CET 2014
commit f0e5f60eea230a6e28cf01eab27a0bede4790f95
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Mar 10 20:42:45 2014 +0100
- new
opendap-hdf4_handler.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 80 insertions(+)
---
diff --git a/opendap-hdf4_handler.spec b/opendap-hdf4_handler.spec
new file mode 100644
index 0000000..a6138a2
--- /dev/null
+++ b/opendap-hdf4_handler.spec
@@ -0,0 +1,80 @@
+#
+# Conditional build:
+%bcond_with tests # make check (requires BES server)
+#
+Summary: HDF4 data handler module for the OPeNDAP data server
+Summary(pl.UTF-8): Moduł obsługujący dane HDF4 dla serwera danych OPeNDAP
+Name: opendap-hdf4_handler
+Version: 3.11.2
+Release: 1
+License: LGPL v2.1+
+Group: Daemons
+Source0: http://www.opendap.org/pub/source/hdf4_handler-%{version}.tar.gz
+# Source0-md5: 7197f66f0521d7b3bb13c1746d3e3ca6
+URL: http://opendap.org/
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.10
+%{?with_tests:BuildRequires: bes >= 3.11.0}
+BuildRequires: bes-devel >= 3.11.0
+BuildRequires: hdf-devel >= 4
+BuildRequires: hdf-eos-devel >= 2
+BuildRequires: libdap-devel >= 3.12.0
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:2
+BuildRequires: pkgconfig
+Requires: bes >= 3.11.0
+Requires: hdf >= 4
+Requires: hdf-eos >= 2
+Requires: libdap >= 3.12.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the HDF4 data handler module for the OPeNDAP data server. It
+reads HDF4 and HDF-EOS2 files and returns DAP responses that are
+compatible with DAP2 and the dap-server software.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduł obsługujący dane HDF4 dla serwera danych
+OPeNDAP. Odczytuje pliki HDF4 oraz HDF-EOS2 i zwraca odpowiedzi DAP
+zgodne z oprogramowaniem DAP2 i dap-server.
+
+%prep
+%setup -q -n hdf4_handler-%{version}
+
+# don't use -L/usr/lib for hdfeos2
+%{__sed} -i -e '/LDFLAGS.*HDFEOS2_DIR/d' configure.ac
+
+%build
+# rebuild autotools for -as-needed to work
+%{__libtoolize}
+%{__aclocal} -I conf
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --with-cache-dir=/var/cache/bes \
+ --with-hdfeos2=/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 COPYRIGHT_URI ChangeLog NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/h4.conf
+%attr(755,root,root) %{_libdir}/bes/libhdf4_module.so
+%dir %{_datadir}/hyrax/data/hdf4
+%{_datadir}/hyrax/data/hdf4/*.HDF
+%{_datadir}/hyrax/data/hdf4/*.HDF.gz
+%{_datadir}/hyrax/data/hdf4/*.hdf.gz
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opendap-hdf4_handler.git/commitdiff/f0e5f60eea230a6e28cf01eab27a0bede4790f95
More information about the pld-cvs-commit
mailing list