1 # NOTE: for versions >= 1.4.1 see bes.spec
4 %bcond_with tests # make check (requires BES server)
6 Summary: NCML module for the OPeNDAP data server
7 Summary(pl.UTF-8): Moduł NCML dla serwera danych OPeNDAP
8 Name: opendap-ncml_module
13 Source0: http://www.opendap.org/pub/source/ncml_module-%{version}.tar.gz
14 # Source0-md5: 959411980d1653a384ef3a0e37ed2447
15 Patch0: %{name}-includes.patch
16 URL: http://opendap.org/
17 BuildRequires: autoconf >= 2.61
18 BuildRequires: automake
19 %{?with_tests:BuildRequires: bes >= 3.13.0}
20 BuildRequires: bes-devel >= 3.13.0
21 BuildRequires: bes-devel < 3.14
22 BuildRequires: curl-devel
23 BuildRequires: libdap-devel >= 3.13.0
24 BuildRequires: libicu-devel >= 3.6
25 BuildRequires: libstdc++-devel
26 BuildRequires: libtool >= 2:1.5
27 BuildRequires: perl-base
28 BuildRequires: pkgconfig
29 Requires: bes >= 3.13.0
30 Requires: libdap >= 3.13.0
31 Requires: libicu >= 3.6
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 This is the NcML module for the OPeNDAP data server. It parses NcML
36 files to add metadata to other local datasets on the local Hyrax
37 server. It also allows authors to create joinNew and union
38 aggregations of other datasets.
40 %description -l pl.UTF-8
41 Ten pakiet zawiera moduł NcML dla serwera danych OPeNDAP. Analizuje
42 pliki NcML w celu dodania metadanych do innych lokalnych zbiorów
43 danych na lokalnym serwerze Hyrax. Ponadto pozwala autorom na
44 tworzenie agregatów joinNew i union innych zbiorów danych.
47 %setup -q -n ncml_module-%{version}
51 # rebuild autotools for -as-needed to work
60 %{?with_tests:%{__make} check}
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc COPYRIGHT ChangeLog NEWS README
76 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/ncml.conf
77 %attr(755,root,root) %{_libdir}/bes/libncml_module.so
78 %dir %{_datadir}/hyrax/data/nc
79 %{_datadir}/hyrax/data/nc/*.nc
80 %dir %{_datadir}/hyrax/data/ncml
81 %{_datadir}/hyrax/data/ncml/*.nc
82 %{_datadir}/hyrax/data/ncml/*.ncml
83 %dir %{_datadir}/hyrax/data/ncml/agg
84 %{_datadir}/hyrax/data/ncml/agg/*.ncml
85 %dir %{_datadir}/hyrax/data/ncml/agg/dated
86 %{_datadir}/hyrax/data/ncml/agg/dated/*.nc
87 %dir %{_datadir}/hyrax/data/ncml/agg/grids
88 %{_datadir}/hyrax/data/ncml/agg/grids/*.hdf