--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = libgudev
+version = 238
+release = 1
+
+groups = System/Libraries
+url = https://gitlab.gnome.org/GNOME/libgudev/
+license = LGPLv2.1
+summary = GObject bindings for libudev.
+
+description
+ This library provides GObject bindings for libudev.
+end
+
+source_dl = https://download.gnome.org/sources/%{name}/%{version}/
+sources = %{thisapp}.tar.xz
+
+build
+ requires
+ glib2-devel
+ gobject-introspection-devel
+ libudev-devel
+ meson
+ ninja
+ pkg-config
+ umockdev-devel
+ vala = 0.56.17
+ end
+
+ configure_options =\
+ --buildtype=release \
+ -D introspection=enabled
+ 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 and install
+ %{meson_install}
+ end
+end
+
+packages
+ package %{name}
+
+ package %{name}-devel
+ template DEVEL
+
+ requires
+ pkgconfig(libudev)
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end