%undefine __cmake_in_source_build %undefine __cmake3_in_source_build %define _unpackaged_files_terminate_build 0 Name: zfp Version: 1.0.1 Release: 1%{?dist} Summary: Compressed numerical arrays that support high-speed random access License: BSD-3-Clause URL: https://github.com/LLNL/zfp.git Source0: https://github.com/LLNL/zfp/releases/download/1.0.1/zfp-1.0.1.tar.gz BuildRequires: cmake3 BuildRequires: gcc-c++ BuildRequires: git Requires: libgomp %description ZFP 1.0.1 needed by the carta-backend. %package devel Summary: ZFP 1.0.1 development files Provides: zfp-devel %define NVdir %{name}-%{version} %description devel Development package of ZFP 1.0.1 containing the lib and header files. %prep rm -rf %{NVdir} git clone %{url} %{NVdir} cd %{NVdir} git checkout -b %{version} tags/%{version} %build cd %{NVdir} %cmake3 -DCMAKE_INSTALL_PREFIX=/usr %cmake3_build %install cd %{NVdir} %cmake3_install %clean rm -rf $RPM_BUILD_ROOT %files devel %{_includedir}/zfp* %{_libdir}/cmake/zfp %{_libdir}/lib* %files %{_libdir}/libzfp.so %{_libdir}/libzfp.so.1 %{_libdir}/libzfp.so.1.0.1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Thu Jun 12 2025 Kuan-Chou Hou 1.0.1 - Upgrade to version 1.0.1 * Wed Feb 19 2025 Cheng-Chin Chiang 0.5.5-4 - Remove the build for CentOS 7 and openSUSE * Wed Jul 26 2023 William Davey 0.5.5-3 - Pulls source directly from scm * Tue Feb 7 2023 Anthony Moraghan 0.5.5-2 - Rebuilt for opensuse 15.4 * Sat Aug 13 2022 Anthony Moraghan 0.5.5 - Rebuilt for RedHat9 (el9) * Thu Apr 29 2021 Anthony Moraghan 0.5.5 - An initial zfp RPM to be used with carta_backend