]> git.pld-linux.org Git - packages/opendap-cdf_handler.git/blame - opendap-cdf_handler.spec
- release 2 (by relup.sh)
[packages/opendap-cdf_handler.git] / opendap-cdf_handler.spec
CommitLineData
b3b30634
JB
1Summary: CDF 3 data handler for the OPeNDAP data server
2Summary(pl.UTF-8): Moduł obsługujący dane CDF 3 dla serwera danych OPeNDAP
3Name: opendap-cdf_handler
4Version: 1.0.3
61fed36c 5Release: 2
b3b30634
JB
6License: LGPL v2.1+
7Group: Daemons
8Source0: http://www.opendap.org/pub/source/cdf_handler-%{version}.tar.gz
9# Source0-md5: 79060adceda4e72265e1899f80926639
10Patch0: %{name}-libdap.patch
11Patch1: %{name}-includes.patch
12Patch2: %{name}-bes.patch
13URL: http://opendap.org/
14BuildRequires: autoconf >= 2.59
15BuildRequires: automake
16BuildRequires: bes-devel >= 3.6.0
17BuildRequires: cdflib-devel >= 3.1
18BuildRequires: libdap-devel >= 3.8.0
19BuildRequires: libstdc++-devel
20BuildRequires: libtool >= 2:1.5
21BuildRequires: pkgconfig
22Requires: bes >= 3.6.0
23Requires: cdflib >= 3.1
24Requires: libdap >= 3.8.0
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This is the CDF data handler for OPeNDAP data server. It reads
29cdf31-dist files and returns DAP responses that are compatible with
30DAP2 and the dap-server software.
31
32%description -l pl.UTF-8
33Ten pakiet zawiera moduł obsługi danych CDF dla serwera danych
34OPeNDAP. Odczytuje pliki cdf31-dist i zwraca odpowiedzi DAP zgodne z
35DAP2 oraz oprogramowaniem dap-server.
36
37%prep
38%setup -q -n cdf_handler-%{version}
39%patch0 -p1
40%patch1 -p1
41%patch2 -p1
42
43%build
44# rebuild autotools for -as-needed to work
45%{__libtoolize}
46%{__aclocal} -I conf
47%{__autoconf}
48%{__autoheader}
49%{__automake}
50%configure \
51 --disable-static \
868a7e00 52 --with-cdf-include=%{_includedir}/cdf \
b3b30634
JB
53 --with-cdf-libdir=%{_libdir}
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
63# API not exported
64%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%files
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
This page took 0.043464 seconds and 4 git commands to generate.