File xwayland-satellite.spec of Package xwayland-satellite
Name: xwayland-satellite
Version: 0.8
Release: 6%{?dist}
Summary: Rootless Xwayland integration for Wayland compositors
License: MPL-2.0
URL: https://github.com/Supreeeme/xwayland-satellite
Source0: xwayland-satellite-source.tar.gz
BuildRequires: cargo >= 1.83
BuildRequires: rust >= 1.83
BuildRequires: clang-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-res)
BuildRequires: pkgconfig(xcb-cursor)
Conflicts: xwayland-satellite-git
%description
xwayland-satellite grants rootless Xwayland integration to any Wayland
compositor implementing xdg_wm_base and viewporter. This is particularly
useful for compositors that do not want to implement support for rootless
Xwayland themselves, such as niri.
%prep
%setup -q -n xwayland-satellite-source
%build
# Fix vendor checksums for offline build
for checksum in vendor/*/.cargo-checksum.json; do
if [ -f "$checksum" ]; then
pkg=$(cat "$checksum" | grep -o '"package":"[^"]*"' | cut -d'"' -f4)
echo "{\"files\":{},\"package\":\"$pkg\"}" > "$checksum"
fi
done
cargo build --offline --release
%install
install -Dm755 target/release/xwayland-satellite %{buildroot}%{_bindir}/xwayland-satellite
%files
%license LICENSE
%doc README.md
%{_bindir}/xwayland-satellite
%changelog
* Fri Jan 02 2026 Avenge Media <AvengeMedia.US@gmail.com> - 0.8-6
- Rebuild #6
* Sat Dec 06 2025 Avenge Media <AvengeMedia.US@gmail.com> - 0.8-1
- Update to upstream version 0.8
* Tue Nov 25 2025 Avenge Media <AvengeMedia.US@gmail.com> - 0.7-1
- Initial stable release 0.7