--- /dev/null
+###############################################################################
+# 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