# RPM spec file for gadap # # NOTE: this package requires epel-release to be installed # but cannot be put in requirements since # RPM tries to resolve all dependencies before installing anything # # 20231115 Paolo Oliveri # Name: gadap Version: 2.0.2 Release: 0%{?dist} Summary: GrADS prerequisite to enable OPeNDAP access of in situ data Group: Applications/Engineering # gxeps is under the MIT, other programs are GPLv2 License: GPLv2 and MIT URL: http://cola.gmu.edu/grads/gadoc/supplibs.html Source0: https://github.com/paolo-oliveri/gadap/archive/refs/tags/v%{version}.tar.gz BuildRequires: gcc gcc-c++ automake autoconf libtool make BuildRequires: libdap-devel libtirpc-devel libxml2-devel Requires: libdap libtirpc %description Enables OPeNDAP access of in situ data. GrADS prerequisite. %prep %setup -q autoreconf -f -i %build #./bootstrap %configure \ CFLAGS="-I/usr/include/tirpc -fPIC" \ CPPFLAGS="-I/usr/include/tirpc -fPIC" make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %{__install} -d -m755 $RPM_BUILD_ROOT%{_datadir}/%{name} %define _unpackaged_files_terminate_build 0 %files %{_bindir}/gadap-config %{_includedir}/gadap.h %{_includedir}/gadap_err.h %{_includedir}/gadap_types.h %{_libdir}/libgadap.a %exclude %{_bindir}/test %changelog * Thu May 22 2025 Paolo Oliveri 2.0.2-0 - Rebuilt for Fedora 42 * Mon Mar 17 2025 Paolo Oliveri 2.0.2-0 - Rebuilt for EL 10 * Thu Nov 16 2023 Paolo Oliveri 2.0.2-0 - Rebuilt for EL 8 * Fri Oct 6 2023 Paolo Oliveri 2.0.2-0 - Built for EL 9