# no debug information %global debug_package %{nil} %global forgeurl https://gitlab.freedesktop.org/wlroots/wlr-protocols %global date 20240126 %global commit 2b8d43325b7012cc3f9b55c08d26e50e42beac7d %global shortcommit %(c=%{commit}; echo ${c:0:7}) %forgemeta Name: wlr-protocols Version: 0.0.0 Release: %autorelease Summary: Wayland protocols designed for use in wlroots (and other compositors) License: Apache-2.0 URL: %{forgeurl} Source0: %{forgesource} BuildRequires: make BuildRequires: /usr/bin/wayland-scanner %description Wayland protocols designed for use in wlroots (and other compositors). %package devel Summary: %{summary} %description devel %{description} %prep %forgeautosetup -p1 %build %make_build %install %make_install %files devel %{_datadir}/pkgconfig/wlr-protocols.pc %dir %{_datadir}/wlr-protocols %dir %{_datadir}/wlr-protocols/unstable %{_datadir}/wlr-protocols/unstable/*.xml %changelog %autochangelog