[packages/opendap-ncml_module] - new
qboosh
qboosh at pld-linux.org
Wed Mar 12 20:00:30 CET 2014
commit 99c32044b682da2ddabcc2ad018ecce7ab15f7e1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Mar 12 20:03:22 2014 +0100
- new
opendap-ncml_module-includes.patch | 10 +++++
opendap-ncml_module.spec | 86 ++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
---
diff --git a/opendap-ncml_module.spec b/opendap-ncml_module.spec
new file mode 100644
index 0000000..7c16a4d
--- /dev/null
+++ b/opendap-ncml_module.spec
@@ -0,0 +1,86 @@
+#
+# Conditional build:
+%bcond_with tests # make check (requires BES server)
+#
+Summary: NCML module for the OPeNDAP data server
+Summary(pl.UTF-8): Moduł NCML dla serwera danych OPeNDAP
+Name: opendap-ncml_module
+Version: 1.2.3
+Release: 1
+License: LGPL v2.1+
+Group: Daemons
+Source0: http://www.opendap.org/pub/source/ncml_module-%{version}.tar.gz
+# Source0-md5: da7a6dbc90e3142ea36f099ccdff9fb3
+Patch0: %{name}-includes.patch
+URL: http://opendap.org/
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake
+%{?with_tests:BuildRequires: bes >= 3.9.0}
+BuildRequires: bes-devel >= 3.9.0
+BuildRequires: curl-devel
+BuildRequires: libdap-devel >= 3.11.0
+BuildRequires: libicu-devel >= 3.6
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+BuildRequires: perl-base
+BuildRequires: pkgconfig
+Requires: bes >= 3.9.0
+Requires: libdap >= 3.11.0
+Requires: libicu >= 3.6
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the NcML module for the OPeNDAP data server. It parses NcML
+files to add metadata to other local datasets on the local Hyrax
+server. It also allows authors to create joinNew and union
+aggregations of other datasets.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduł NcML dla serwera danych OPeNDAP. Analizuje
+pliki NcML w celu dodania metadanych do innych lokalnych zbiorów
+danych na lokalnym serwerze Hyrax. Ponadto pozwala autorom na
+tworzenie agregatów joinNew i union innych zbiorów danych.
+
+%prep
+%setup -q -n ncml_module-%{version}
+%patch0 -p1
+
+%build
+# rebuild autotools for -as-needed to work
+%{__libtoolize}
+%{__aclocal} -I conf
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__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 ChangeLog NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ncml.conf
+%attr(755,root,root) %{_libdir}/bes/libncml_module.so
+%dir %{_datadir}/hyrax/data/nc
+%{_datadir}/hyrax/data/nc/*.nc
+%dir %{_datadir}/hyrax/data/ncml
+%{_datadir}/hyrax/data/ncml/*.nc
+%{_datadir}/hyrax/data/ncml/*.ncml
+%dir %{_datadir}/hyrax/data/ncml/agg
+%{_datadir}/hyrax/data/ncml/agg/*.ncml
+%dir %{_datadir}/hyrax/data/ncml/agg/dated
+%{_datadir}/hyrax/data/ncml/agg/dated/*.nc
+%dir %{_datadir}/hyrax/data/ncml/agg/grids
+%{_datadir}/hyrax/data/ncml/agg/grids/*.hdf
diff --git a/opendap-ncml_module-includes.patch b/opendap-ncml_module-includes.patch
new file mode 100644
index 0000000..f184879
--- /dev/null
+++ b/opendap-ncml_module-includes.patch
@@ -0,0 +1,10 @@
+--- ncml_module-1.2.3/NCMLContainer.cc.orig 2013-10-01 23:36:10.000000000 +0200
++++ ncml_module-1.2.3/NCMLContainer.cc 2014-03-12 14:08:06.091184102 +0100
+@@ -34,6 +34,7 @@
+ #include <cerrno>
+ #include <cstdlib>
+ #include <cstring>
++#include <unistd.h>
+
+ using std::ofstream ;
+ using std::endl ;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opendap-ncml_module.git/commitdiff/99c32044b682da2ddabcc2ad018ecce7ab15f7e1
More information about the pld-cvs-commit
mailing list