%global commit 03a53b6ad7bd3d4b379f660d813ac75731d68641 %global snapdate 20241218 Name: xwayland-satellite Version: 0^%{snapdate}g%(c=%{commit}; echo ${c:0:7}) Release: %autorelease Summary: Xwayland outside your Wayland. License: MPL-2.0-only URL: https://github.com/Supreeeme/xwayland-satellite Source: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz BuildRequires: cargo-rpm-macros >= 24 BuildRequires: clang BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-cursor) Requires: xorg-x11-server-Xwayland %description xwayland-satellite grants rootless Xwayland integration to any Wayland compositor implementing xdg_wm_base. This is particularly useful for compositors that (understandably) do not want to go through implementing support for rootless Xwayland themselves. %prep %autosetup -n %{name}-%{commit} -p1 cargo vendor %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %files %license LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/xwayland-satellite %changelog %autochangelog