[packages/opendap-fits_handler] - new
qboosh
qboosh at pld-linux.org
Mon Mar 10 11:17:47 CET 2014
commit eca106e1da044837a717950a012e865dc32387ce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Mar 10 11:20:36 2014 +0100
- new
opendap-fits_handler.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
---
diff --git a/opendap-fits_handler.spec b/opendap-fits_handler.spec
new file mode 100644
index 0000000..6abfcce
--- /dev/null
+++ b/opendap-fits_handler.spec
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_with tests # make check (requires BES server)
+#
+Summary: FITS data handler module for the OPeNDAP data server
+Summary(pl.UTF-8): Moduł obsługujący dane FITS dla serwera danych OPeNDAP
+Name: opendap-fits_handler
+Version: 1.0.10
+Release: 1
+License: LGPL v2.1+
+Group: Daemons
+Source0: http://www.opendap.org/pub/source/fits_handler-%{version}.tar.gz
+# Source0-md5: 3a479a12b73a37b2ffca4fa079421a98
+URL: http://opendap.org/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.10
+%{?with_tests:BuildRequires: bes >= 3.9.1}
+BuildRequires: bes-devel >= 3.9.1
+BuildRequires: cfitsio-devel
+BuildRequires: libdap-devel >= 3.11.1
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+BuildRequires: pkgconfig
+Requires: bes >= 3.9.1
+Requires: libdap >= 3.11.1
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the FITS data handler module for the OPeNDAP data server. It
+reads FITS data and returns DAP responses that are compatible with
+DAP2 and the dap-server software.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduł obsługujący dane FITS dla serwera danych
+OPeNDAP. Odczytuje dane FITS i zwraca odpowiedzi DAP zgodne z
+oprogramowaniem DAP2 i dap-server.
+
+%prep
+%setup -q -n fits_handler-%{version}
+
+%build
+# rebuild autotools for -as-needed to work
+%{__libtoolize}
+%{__aclocal} -I conf
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --with-cfits-include=%{_includedir} \
+ --with-cfits-libdir=%{_libdir}
+%{__make}
+
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/bes/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYRIGHT ChangeLog NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bes/modules/fits.conf
+%attr(755,root,root) %{_libdir}/bes/libfits_module.so
+%dir %{_datadir}/hyrax/data/fits
+%{_datadir}/hyrax/data/fits/*.fts
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opendap-fits_handler.git/commitdiff/eca106e1da044837a717950a012e865dc32387ce
More information about the pld-cvs-commit
mailing list