Name: nceplibs-ip Version: 5.4.0 Release: 2%{?dist} Summary: The NCEP general interpolation library contains Fortran 90 subprograms to be used for interpolating between nearly all grids used at NCEP. License: LGPL-3.0-only URL: https://github.com/NOAA-EMC/NCEPLIBS-ip Source0: https://github.com/NOAA-EMC/NCEPLIBS-ip/archive/refs/tags/v%{version}.tar.gz Source1: nceplibs-ip.pc Patch0: 0001-use-standard-include-directory.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: gfortran BuildRequires: pkgconfig(flexiblas) %description The NCEP general interpolation library contains Fortran 90 subprograms to be used for interpolating between nearly all grids used at NCEP. The library is particularly efficient when interpolating many fields at one time. It also contains routines for spectral transforms and other processing, including those previously contained in the NCEPLIBS-sp library. This is part of the NCEPLIBS project. There are currently six interpolation methods available in the library: - bilinear - bicubic - neighbor - budget - spectral - neighbor-budget %package devel Summary: Development files for NCEPLIBS-ip Requires: %{name} = %{version}-%{release} %description devel Headers, Fortran module files, and CMake configuration files needed to develop software against NCEPLIBS-ip. %prep %autosetup -n NCEPLIBS-ip-%{version} -p0 %build FC='gfortran' %cmake %cmake_build %install %cmake_install install -Dpm 0644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/nceplibs-ip.pc %files %license LICENSE.md %doc README.md %{_libdir}/libip_*.so.* %files devel %{_includedir}/ip4 %{_includedir}/ipd %{_libdir}/cmake/ip %{_libdir}/libip_*.so %{_libdir}/pkgconfig/nceplibs-ip.pc %changelog * Tue Jul 29 2025 Benjamin Cook - 5.4.0-2 - Fix missing cmake build dependency * Thu Jul 24 2025 Benjamin Cook - 5.4.0-1 - Initial package