%define libname libverdict1_4 Name: verdict Version: 1.4.1 Release: 1 Summary: Compute quality functions of 2 and 3-dimensional regions License: BSD-3-Clause URL: https://github.com/sandialabs/verdict Source: https://github.com/sandialabs/verdict/archive/refs/tags/%{version}.tar.gz#/verdict-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gtest gtest-devel %description Verdict is a library for evaluating the geometric qualities of regions of space. %package -n %{libname} Summary: Verdict library for evaluating the geometric qualities of regions of space Group: System/Libraries %description -n %{libname} Verdict is a library for evaluating the geometric qualities of regions of space. %package devel Summary: Verdict header files Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description devel This package contains the header files and cmake config files. %prep %setup %build %cmake \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DVERDICT_ENABLE_TESTING:BOOL=ON \ -DCMAKE_INSTALL_DOCDIR=%{_docdir} \ %{nil} %cmake_build %install %cmake_install rm -vrf %{buildroot}/%{_docdir} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %license LICENSE %{_libdir}/lib*so.* %files devel %doc README.md %{_includedir}/verdict*.h %{_libdir}/lib*so %{_libdir}/cmake/verdict %changelog * Tue Aug 5 2025 mimanchiok - 1.4.1-1 - project init