[packages/opendap-ugrid_functions] - new
qboosh
qboosh at pld-linux.org
Sat May 17 21:06:38 CEST 2014
commit 4a2d93438ffbe6ba896cf4a7a623bb89b5fd5cb9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 17 21:09:19 2014 +0200
- new
opendap-ugrid_functions-sh.patch | 11 ++++++
opendap-ugrid_functions.spec | 74 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
---
diff --git a/opendap-ugrid_functions.spec b/opendap-ugrid_functions.spec
new file mode 100644
index 0000000..1c1db73
--- /dev/null
+++ b/opendap-ugrid_functions.spec
@@ -0,0 +1,74 @@
+#
+# Conditional build:
+%bcond_with tests # make check (requires BES server)
+#
+Summary: ugrid functions handler for the OPeNDAP data server
+Summary(pl.UTF-8): Moduł obsługi funkcji ugrid dla serwera danych OPeNDAP
+Name: opendap-ugrid_functions
+Version: 1.0.1
+Release: 1
+License: LGPL v2.1+
+Group: Daemons
+Source0: http://www.opendap.org/pub/source/ugrid_functions-%{version}.tar.gz
+# Source0-md5: 8ab724ae7a8629a2414311eb75a013de
+Patch0: %{name}-sh.patch
+URL: http://opendap.org/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.10
+%{?with_tests:BuildRequires: bes >= 3.13.0}
+BuildRequires: bes-devel >= 3.13.0
+%{?with_tests:BuildRequires: cppunit-devel >= 1.12.0}
+BuildRequires: gridfields-devel >= 1.0.3
+BuildRequires: libdap-devel >= 3.13.0
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+BuildRequires: pkgconfig
+Requires: bes >= 3.13.0
+Requires: libdap >= 3.13.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the ugrid (Unstructured Grid or irregular mesh) subsetting
+function handler for Hyrax. This Hyrax server function will subset a
+compliant ugrid mesh and return a mesh that is also compliant. The
+subset can be specified using latitude, longitude and time.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduł ugrid (Unstructured Grid - tablicy bez
+struktury lub maski nieregularnej) obsługujący funkcję podzbioru dla
+serwera Hyrax. Funkcja serwera wyliczy podzbiór zgodny z siatką ugrid
+i zwróci także zgodną siatkę. Podzbiór może być określony przy użyciu
+szerokości, długości i czasu.
+
+%prep
+%setup -q -n ugrid_functions-%{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 ChangeLog INSTALL NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ugrid_functions.conf
+%attr(755,root,root) %{_libdir}/bes/libugrid_functions.so
diff --git a/opendap-ugrid_functions-sh.patch b/opendap-ugrid_functions-sh.patch
new file mode 100644
index 0000000..c545994
--- /dev/null
+++ b/opendap-ugrid_functions-sh.patch
@@ -0,0 +1,11 @@
+--- ugrid_functions-1.0.1/configure.ac.orig 2014-04-24 00:13:23.000000000 +0200
++++ ugrid_functions-1.0.1/configure.ac 2014-05-17 20:28:56.995109518 +0200
+@@ -100,7 +100,7 @@
+ version_libgf=`gridfields-config --version | sed 's at gridfields \(.*\)@\1@'`
+ AX_COMPARE_VERSION([$version_libgf], [ge], [$libgf_needed], [libgf_ok='yes'], [libgf_ok='no'])
+
+- if test "$libgf_ok"="no"
++ if test "$libgf_ok" = "no"
+ then
+ AC_MSG_ERROR([must have libgf $libgf_needed or greater, found $version_libgf])
+ fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opendap-ugrid_functions.git/commitdiff/4a2d93438ffbe6ba896cf4a7a623bb89b5fd5cb9
More information about the pld-cvs-commit
mailing list