%global git_date 20230608 %global git_hash 4835334 %global git_ver 1.2.0 %global rel 2 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: wayland-utils Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Wayland utilities License: MIT URL: https://wayland.freedesktop.org/ Source0: %{url}/%{src_name} BuildRequires: gcc BuildRequires: meson BuildRequires: pkgconfig(wayland-client) >= 1.20 BuildRequires: pkgconfig(wayland-protocols) >= 1.24 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(libdrm) >= 2.4.109 %description wayland-utils contains wayland-info, a standalone version of weston-info, a utility for displaying information about the Wayland protocols supported by the Wayland compositor. wayland-info also provides additional information for a subset of Wayland protocols it knows about, namely Linux DMABUF, presentation time, tablet and XDG output protocols. %prep %setup -n %{name} %build %meson %meson_build %install %meson_install %files %license COPYING %doc README.md %{_bindir}/wayland-info %{_mandir}/man1/wayland-info.1* %changelog %autochangelog