From ea100fcaa2d13bc272db3cfaed5e6a67cf2fc006 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 29 Dec 2022 18:50:38 +0000 Subject: [PATCH] check: New package Required by libdnet Signed-off-by: Michael Tremer --- check/check.nm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 check/check.nm diff --git a/check/check.nm b/check/check.nm new file mode 100644 index 000000000..f2753c637 --- /dev/null +++ b/check/check.nm @@ -0,0 +1,41 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = check +version = 0.15.2 +release = 1 + +groups = System/Libraries +url = https://github.com/libcheck/check +license = LGPLv2.1 +summary = A unit testing framework for C + +description + Check is a unit testing framework for C. It features a simple + interface for defining unit tests, putting little in the way of + the developer. Tests are run in a separate address space, so + Check can catch both assertion failures and code errors that + cause segmentation faults or other signals. +end + +source_dl = https://github.com/libcheck/check/releases/download/%{version}/ + +build + test + LD_LIBRARY_PATH="%{DIR_APP}/src/.libs" make check + end +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.47.3