%if 0%{!?mkrel:1} %define mkrel(c) %{1}%{?dist} %endif Summary: Wayland utilities Name: wayland-utils Version: 1.3.0 Release: %mkrel 1 Group: System/Libraries License: MIT URL: https://wayland.freedesktop.org/ Source0: https://gitlab.freedesktop.org/wayland/%{name}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: meson >= 0.56 BuildRequires: pkgconfig(libdrm) >= 2.4.109 BuildRequires: pkgconfig(wayland-client) >= 1.20 BuildRequires: pkgconfig(wayland-protocols) >= 1.44 BuildRequires: pkgconfig(wayland-scanner) %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 %autosetup -p1 %build %meson %meson_build %install %meson_install %files %license COPYING %doc README.md %{_bindir}/wayland-info %{_mandir}/man1/wayland-info.1*