]> git.pld-linux.org Git - packages/opendap-freeform_handler.git/blob - opendap-freeform_handler.spec
da1baacc03570377ae5bf395fadbff3f678abb7e
[packages/opendap-freeform_handler.git] / opendap-freeform_handler.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # make check (requires BES server)
4 #
5 Summary:        FreeForm data handler module for the OPeNDAP data server
6 Summary(pl.UTF-8):      Moduł obsługujący dane FreeForm dla serwera danych OPeNDAP
7 Name:           opendap-freeform_handler
8 Version:        3.8.7
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Daemons
12 Source0:        http://www.opendap.org/pub/source/freeform_handler-%{version}.tar.gz
13 # Source0-md5:  f3c3ceab59db4c33492f5575c3a3cefb
14 URL:            http://opendap.org/
15 BuildRequires:  autoconf >= 2.63
16 BuildRequires:  automake
17 %{?with_tests:BuildRequires:    bes >= 3.9.0}
18 BuildRequires:  bes-devel >= 3.9.0
19 BuildRequires:  libdap-devel >= 3.11.0
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool >= 2:1.5
22 BuildRequires:  pkgconfig
23 Requires:       bes >= 3.9.0
24 Requires:       libdap >= 3.11.0
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This is the FreeForm data handler module for the OPeNDAP data server.
29 It reads ASCII, binary and DB4 files which have been described using
30 FreeForm and returns DAP responses that are compatible with DAP2 and
31 the dap-server software.
32
33 %description -l pl.UTF-8
34 Ten pakiet zawiera moduł obsługujący dane FreeForm dla serwera danych
35 OPeNDAP. Odczytuje dane z plików ASCII, binarnych i DB4 opisane przy
36 użyciu FreeForm i zwraca odpowiedzi DAP zgodne z oprogramowaniem DAP2
37 i dap-server.
38
39 %prep
40 %setup -q -n freeform_handler-%{version}
41
42 %build
43 # rebuild autotools for -as-needed to work
44 %{__libtoolize}
45 %{__aclocal} -I conf
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %{?with_tests:%{__make} check}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc COPYRIGHT ChangeLog NEWS README
68 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ff.conf
69 %attr(755,root,root) %{_libdir}/bes/libff_module.so
70 %dir %{_datadir}/hyrax/data/ff
71 %{_datadir}/hyrax/data/ff/*.dat
72 %{_datadir}/hyrax/data/ff/*.das
73 %{_datadir}/hyrax/data/ff/*.fmt
This page took 0.088905 seconds and 2 git commands to generate.