1 Summary: CDF 3 data handler for the OPeNDAP data server
2 Summary(pl.UTF-8): Moduł obsługujący dane CDF 3 dla serwera danych OPeNDAP
3 Name: opendap-cdf_handler
8 Source0: http://www.opendap.org/pub/source/cdf_handler-%{version}.tar.gz
9 # Source0-md5: 79060adceda4e72265e1899f80926639
10 Patch0: %{name}-libdap.patch
11 Patch1: %{name}-includes.patch
12 Patch2: %{name}-bes.patch
13 URL: http://opendap.org/
14 BuildRequires: autoconf >= 2.59
15 BuildRequires: automake
16 BuildRequires: bes-devel >= 3.6.0
17 BuildRequires: cdflib-devel >= 3.1
18 BuildRequires: libdap-devel >= 3.8.0
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool >= 2:1.5
21 BuildRequires: pkgconfig
22 Requires: bes >= 3.6.0
23 Requires: cdflib >= 3.1
24 Requires: libdap >= 3.8.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This is the CDF data handler for OPeNDAP data server. It reads
29 cdf31-dist files and returns DAP responses that are compatible with
30 DAP2 and the dap-server software.
32 %description -l pl.UTF-8
33 Ten pakiet zawiera moduł obsługi danych CDF dla serwera danych
34 OPeNDAP. Odczytuje pliki cdf31-dist i zwraca odpowiedzi DAP zgodne z
35 DAP2 oraz oprogramowaniem dap-server.
38 %setup -q -n cdf_handler-%{version}
44 # rebuild autotools for -as-needed to work
52 --with-cdf-include=%{_includedir}/cdf \
53 --with-cdf-libdir=%{_libdir}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
62 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
64 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %defattr(644,root,root,755)
74 %doc COPYRIGHT ChangeLog NEWS README
75 %attr(755,root,root) %{_bindir}/bes-cdf-data.sh
76 %attr(755,root,root) %{_bindir}/dap_cdf_handler
77 %attr(755,root,root) %{_libdir}/libcdf_handler.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libcdf_handler.so.1
79 %attr(755,root,root) %{_libdir}/bes/libcdf_module.so
80 %dir %{_datadir}/hyrax/data/cdf
81 %{_datadir}/hyrax/data/cdf/*.cdf