12to11-rpm/12to11-autostart.spec
Anders da Silva Rytter Hansen 9b942377cf - Require libXi-devel >= 1.8 for the XI 2.4 gesture event types; on EL9
the newer libXi is supplied by this COPR project (EL9 ships 1.7.10).
- Initial package: install an XDG autostart entry for 12to11.
2026-09-15 16:04:44 +02:00

47 lines
1.4 KiB
RPMSpec

# 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 <andersrh@users.noreply.github.com> - 1.0.0-1
- Initial package: install an XDG autostart entry for 12to11.