]> git.pld-linux.org Git - SPECS.git/blob - opendap-ncml_module.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / opendap-ncml_module.spec
1 # NOTE: for versions >= 1.4.1 see bes.spec
2 #
3 # Conditional build:
4 %bcond_with     tests   # make check (requires BES server)
5 #
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
9 Version:        1.2.4
10 Release:        5
11 License:        LGPL v2.1+
12 Group:          Daemons
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)
33
34 %description
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.
39
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.
45
46 %prep
47 %setup -q -n ncml_module-%{version}
48 %patch0 -p1
49
50 %build
51 # rebuild autotools for -as-needed to work
52 %{__libtoolize}
53 %{__aclocal} -I conf
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure
58 %{__make}
59
60 %{?with_tests:%{__make} check}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
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
This page took 0.906564 seconds and 3 git commands to generate.