]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
check: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Dec 2022 18:50:38 +0000 (18:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Dec 2022 18:50:38 +0000 (18:50 +0000)
Required by libdnet

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
check/check.nm [new file with mode: 0644]

diff --git a/check/check.nm b/check/check.nm
new file mode 100644 (file)
index 0000000..f2753c6
--- /dev/null
@@ -0,0 +1,41 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+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