[packages/dap-server] - new

qboosh qboosh at pld-linux.org
Tue Mar 4 14:57:48 CET 2014


commit d35862d8cbadbe4af98452749c0c59d49c73bfcf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 4 15:00:24 2014 +0100

    - new

 dap-server.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
---
diff --git a/dap-server.spec b/dap-server.spec
new file mode 100644
index 0000000..094f825
--- /dev/null
+++ b/dap-server.spec
@@ -0,0 +1,73 @@
+#
+# Conditional build:
+%bcond_without	tests	# make check
+#
+Summary:	Basic request handling for OPeNDAP servers
+Summary(pl.UTF-8):	Podstawowa obsługa żądań dla serwerów OPeNDAP
+Name:		dap-server
+Version:	4.1.3
+Release:	1
+License:	LGPL v2.1+
+Group:		Daemons
+Source0:	http://www.opendap.org/pub/source/%{name}-%{version}.tar.gz
+# Source0-md5:	4f11130d6d84c4d22ba2f116efcf6ef1
+URL:		http://opendap.org/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.10
+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:1.5
+BuildRequires:	pkgconfig
+Requires:	bes >= 3.9.0
+Requires:	libdap >= 3.11.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains general purpose handlers for use with the new
+Hyrax data server. These are the Usage, ASCII and HTML form handlers.
+Each takes input from a 'data handler' and returns a HTML or plain
+text response - something other than a DAP response object.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera kilka procedur obsługi ogólnego przeznaczenia dla
+nowego serwera danych Hyrax. Są to procedury obsługi Usage, ASCII oraz
+formularzy HTML. Każdy z nich pobiera wejście z procedury obsługi
+danych i zwraca odpowiedź w formacie HTML lub czystego tekstu - czegoś
+innego, niż obiekt odpowiedzi DAP.
+
+%prep
+%setup -q
+
+%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/dap-server.conf
+%attr(755,root,root) %{_libdir}/bes/libascii_module.so
+%attr(755,root,root) %{_libdir}/bes/libusage_module.so
+%attr(755,root,root) %{_libdir}/bes/libwww_module.so
+%{_datadir}/bes/dap-server_help.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dap-server.git/commitdiff/d35862d8cbadbe4af98452749c0c59d49c73bfcf



More information about the pld-cvs-commit mailing list