%if 0%{!?mkrel:1} %define mkrel(c) %{1}%{?dist} %endif Name: wayland-protocols Version: 1.39 Release: %mkrel 1 Summary: Wayland protocols that adds functionality not available in the core protocol Group: Development/C License: MIT URL: https://wayland.freedesktop.org/ Source0: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: pkgconfig(wayland-scanner) >= 1.23.0 %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 Group: Development/C 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 %build %meson %meson_build %install %meson_install %files devel %license COPYING %doc README.md %if "%{version}" >= "1.38" %{_includedir}/%{name}/ %endif %{_datadir}/pkgconfig/%{name}.pc %{_datadir}/%{name}/