commit 35c79efdc2a76159edfc624914e45b0d31aca003 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Tue Mar 11 17:22:25 2014 +0100
- new opendap-xml_data_handler.spec | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) --- diff --git a/opendap-xml_data_handler.spec b/opendap-xml_data_handler.spec new file mode 100644 index 0000000..d776dad --- /dev/null +++ b/opendap-xml_data_handler.spec @@ -0,0 +1,73 @@ +# +# Conditional build: +%bcond_with tests # make check (requires BES server) +# +Summary: Basic request handling the OPeNDAP data server +Summary(pl.UTF-8): Obsługa podstawowych zapytań dla serwera danych OPeNDAP +Name: opendap-xml_data_handler +Version: 1.0.3 +Release: 1 +License: LGPL v2.1+ +Group: Daemons +Source0: http://www.opendap.org/pub/source/xml_data_handler-%{version}.tar.gz +# Source0-md5: 7dbe4a9c2a8644b06c11110f5620b82a +URL: http://opendap.org/ +BuildRequires: autoconf >= 2.62 +BuildRequires: automake >= 1:1.10 +%{?with_tests:BuildRequires: bes >= 3.9.0} +BuildRequires: bes-devel >= 3.9.0 +%{?with_tests:BuildRequires: cppunit-devel >= 1.12.0} +BuildRequires: libdap-devel >= 3.11.0 +BuildRequires: libstdc++-devel +BuildRequires: libtool >= 2:2 +BuildRequires: pkgconfig +Requires: bes >= 3.9.0 +Requires: libdap >= 3.11.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package contains a general purpose handler for use with the Hyrax +data server. This handler takes input from a 'data handler' and +returns XML document that encodes both dataset metadata and values. It +is intended to be used for small data requests and web systems that +need data in XML documents. + +%description -l pl.UTF-8 +Ten pakiet zawiera moduł obsługi ogólnego przeznaczenia przeznaczony +dla serwera danych Hyrax. Moduł ten przyjmuje dane wejściowe z modułu +obsługi danych (data handler) i zwraca dokuemnt XML, zawierający +zakodowane zarówno metadane, jak i wartości zbioru danych. Jest +przeznaczony do użycia dla ządań małych danych oraz systemów WWW +wymagających danych w dokumentach XML. + +%prep +%setup -q -n xml_data_handler-%{version} + +%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 NEWS README +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/xml_data_handler.conf +%attr(755,root,root) %{_libdir}/bes/libxml_data_module.so ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/opendap-xml_data_handler.git/commitdiff/35c79efdc2a76159edfc624914e45b0d31aca003 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit