%global git_date 20241107 %global git_hash fe3d544 %global git_ver 1.38 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: wayland-protocols Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Wayland protocols that adds functionality not available in the core protocol License: MIT URL: https://wayland.freedesktop.org/ Source0: %{url}/%{src_name} BuildArch: noarch BuildRequires: gcc BuildRequires: gcc-g++ BuildRequires: meson BuildRequires: wayland-devel %description wayland-protocols contains Wayland protocols that adds functionality not available in the Wayland core protocol. Such protocols either adds completely new functionality, or extends the functionality of some other protocol either in Wayland core, or some other protocol in wayland-protocols. %package devel Summary: Wayland protocols that adds functionality not available in the core protocol %description devel wayland-protocols contains Wayland protocols that adds functionality not available in the Wayland core protocol. Such protocols either adds completely new functionality, or extends the functionality of some other protocol either in Wayland core, or some other protocol in wayland-protocols. %prep %autosetup -n %{name} %build %meson %meson_build %install %meson_install %files devel %license COPYING %doc README.md %{_datadir}/pkgconfig/%{name}.pc %{_datadir}/%{name}/ %{_includedir}/%{name}/ %changelog %autochangelog