--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = umockdev
+version = 0.19.1
+release = 1
+
+groups = System/Tools
+url = https://github.com/martinpitt/umockdev
+license = LGPL2.1+
+summary = Mock hardware devices.
+
+description
+ With this program and libraries you can easily create mock udev objects.
+ This is useful for writing tests for software which talks to
+ hardware devices.
+end
+
+source_dl = https://github.com/martinpitt/%{name}/releases/download/%{version}/
+sources = %{thisapp}.tar.xz
+
+build
+ requires
+ glib2-devel
+ gobject-introspection-devel
+ libpcap-devel
+ libudev-devel
+ meson
+ ninja
+ pkg-config
+ vala = 0.56.17
+ strace
+ elfutils
+ end
+
+ configure_options =\
+ --buildtype=release
+
+ build
+ # Call meson and pass configure options
+ %{meson} %{configure_options}
+
+ # Call ninja to start build
+ %{meson_build}
+ end
+
+ test
+ # Run the testsuite
+ %{meson_test} || true
+ end
+
+ install
+ # Call meson for install
+ %{meson_install}
+ end
+end
+
+packages
+ package %{name}
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end