From 7de7021d0633a207b752c93d547dfa0a1117aab7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 6 Aug 2025 12:26:25 +0000 Subject: automatic import of verdict --- verdict.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 verdict.spec (limited to 'verdict.spec') diff --git a/verdict.spec b/verdict.spec new file mode 100644 index 0000000..e4b1692 --- /dev/null +++ b/verdict.spec @@ -0,0 +1,63 @@ +%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 -- cgit v1.2.3