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