# SPDX-License-Identifier: GPLv3+ # # 12to11-autostart - XDG autostart entry for 12to11 # # Ships /etc/xdg/autostart/12to11.desktop so the compositor is started # automatically when an X11 session begins (e.g. for Waydroid). Name: 12to11-autostart Version: 1.0.0 Release: 1%{?dist} Summary: Autostart the 12to11 Wayland-to-X11 translator License: GPL-3.0-only URL: https://github.com/fish4terrisa-MSDSM/12to11 Source0: 12to11.desktop BuildArch: noarch BuildRequires: desktop-file-utils Requires: 12to11 %description This package installs an XDG autostart entry that launches 12to11, the Wayland-to-X11 protocol translator, at the start of each X11 session. Wayland applications can then connect to its socket without starting the compositor by hand. The entry is marked NoDisplay, so it does not appear in application menus. %prep # Source0 is the desktop file itself; nothing to extract. %build # Nothing to compile. %install install -D -p -m 0644 %{SOURCE0} %{buildroot}%{_sysconfdir}/xdg/autostart/12to11.desktop desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/12to11.desktop %files %{_sysconfdir}/xdg/autostart/12to11.desktop %changelog * Tue Sep 15 2026 Anders da Silva Rytter Hansen - 1.0.0-1 - Initial package: install an XDG autostart entry for 12to11.