%global git_date 20241223 %global git_hash 360e259 %global git_ver 0.2.0 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: cage Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: a Wayland kiosk License: MIT URL: https://github.com/Hjdskes/cage Source: %{url}/%{src_name} BuildRequires: meson make gcc BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wlroots-0.18) #BuildRequires: wlroots0.17-devel BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(scdoc) BuildRequires: pkgconfig(xcb) %description This is Cage, a Wayland kiosk. A kiosk runs a single, maximized application. %prep %autosetup -n %{name} %build %meson %meson_build %install %meson_install %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %changelog %autochangelog