--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = libinih
+version = 56
+release = 1
+thisapp = inih-r%{version}
+
+groups = System/Libraries
+url = https://github.com/benhoyt/inih
+license = BSD
+summary = Simple .INI file parser in C, good for embedded systems
+
+description
+ inih (INI Not Invented Here) is a simple .INI file parser written in C.
+ It's only a couple of pages of code, and it was designed to be small
+ and simple, so it's good for embedded systems. It's also more or less
+ compatible with Python's ConfigParser style of .INI files, including
+ RFC 822-style multi-line syntax and name: value entries.
+end
+
+source_dl = https://github.com/benhoyt/inih/archive/refs/tags/r%{version}.tar.gz#/
+
+build
+ requires
+ meson
+ ninja
+ end
+
+ build
+ %{meson} \
+ -Ddefault_library=shared \
+ -Ddistro_install=true \
+ -Dwith_INIReader=true
+
+ %{meson_build}
+ end
+
+ install
+ %{meson_install}
+ end
+end
+
+packages
+ package %{name}
+
+ package %{name}-devel
+ template DEVEL
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end