]> git.pld-linux.org Git - packages/opendap-xml_data_handler.git/blame - opendap-xml_data_handler.spec
- updated to 1.0.4
[packages/opendap-xml_data_handler.git] / opendap-xml_data_handler.spec
CommitLineData
35c79efd
JB
1#
2# Conditional build:
3%bcond_with tests # make check (requires BES server)
4#
5Summary: Basic request handling the OPeNDAP data server
6Summary(pl.UTF-8): Obsługa podstawowych zapytań dla serwera danych OPeNDAP
7Name: opendap-xml_data_handler
6aafff77 8Version: 1.0.4
35c79efd
JB
9Release: 1
10License: LGPL v2.1+
11Group: Daemons
12Source0: http://www.opendap.org/pub/source/xml_data_handler-%{version}.tar.gz
6aafff77
JB
13# Source0-md5: 9762a8b761c6c21d3ebbacd23e37e9b1
14Patch0: %{name}-libdap.patch
35c79efd
JB
15URL: http://opendap.org/
16BuildRequires: autoconf >= 2.62
17BuildRequires: automake >= 1:1.10
6aafff77
JB
18%{?with_tests:BuildRequires: bes >= 3.13.0}
19BuildRequires: bes-devel >= 3.13.0
35c79efd 20%{?with_tests:BuildRequires: cppunit-devel >= 1.12.0}
6aafff77 21BuildRequires: libdap-devel >= 3.13.0
35c79efd
JB
22BuildRequires: libstdc++-devel
23BuildRequires: libtool >= 2:2
24BuildRequires: pkgconfig
6aafff77
JB
25Requires: bes >= 3.13.0
26Requires: libdap >= 3.13.0
35c79efd
JB
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This package contains a general purpose handler for use with the Hyrax
31data server. This handler takes input from a 'data handler' and
32returns XML document that encodes both dataset metadata and values. It
33is intended to be used for small data requests and web systems that
34need data in XML documents.
35
36%description -l pl.UTF-8
37Ten pakiet zawiera moduł obsługi ogólnego przeznaczenia przeznaczony
38dla serwera danych Hyrax. Moduł ten przyjmuje dane wejściowe z modułu
39obsługi danych (data handler) i zwraca dokuemnt XML, zawierający
40zakodowane zarówno metadane, jak i wartości zbioru danych. Jest
41przeznaczony do użycia dla ządań małych danych oraz systemów WWW
42wymagających danych w dokumentach XML.
43
44%prep
45%setup -q -n xml_data_handler-%{version}
6aafff77 46%patch0 -p1
35c79efd
JB
47
48%build
49# rebuild autotools for -as-needed to work
50%{__libtoolize}
51%{__aclocal} -I conf
52%{__autoconf}
53%{__autoheader}
54%{__automake}
55%configure
56%{__make}
57
58%{?with_tests:%{__make} check}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66%{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
73%doc ChangeLog NEWS README
74%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/xml_data_handler.conf
75%attr(755,root,root) %{_libdir}/bes/libxml_data_module.so
This page took 0.041312 seconds and 4 git commands to generate.