%global commit 3663e96e758145801c3cb1ce7c72f362d0d4a5f5 Name: iptsd-surface-laptop-7 Version: 3.1.0^20260716git3663e96 Release: 100.0.0.1.0%{?dist} Summary: Romulus touch input daemon with calibrated detection and lifecycle fixes License: GPL-2.0-or-later AND MIT URL: https://github.com/alex-lentz/iptsd Source0: https://github.com/alex-lentz/iptsd/archive/%{commit}/iptsd-%{commit}.tar.gz Source1: https://github.com/microsoft/GSL/archive/v4.2.0/GSL-4.2.0.zip Source2: https://wrapdb.mesonbuild.com/v2/microsoft-gsl_4.2.0-1/get_patch#/microsoft-gsl_4.2.0-1_patch.zip Source3: iptsd-romulus.service Source4: iptsd-system-sleep Source5: surface-laptop-7.conf ExclusiveArch: aarch64 BuildRequires: gcc-c++ meson ninja-build cmake unzip BuildRequires: pkgconfig(systemd) pkgconfig(udev) BuildRequires: systemd-rpm-macros BuildRequires: eigen3-devel fmt-devel inih-devel spdlog-devel cli11-devel Requires: systemd systemd-udev Provides: iptsd = %{version}-%{release} Conflicts: iptsd Provides: bundled(Microsoft.GSL) = 4.2.0 %description Pinned alex-lentz fork with the pmOS Romulus calibration, the separate r4 HID driver-handoff service fix, and the child-only SPI suspend/reprobe hook. %prep %autosetup -n iptsd-%{commit} mkdir -p subprojects/packagecache cp %{SOURCE1} %{SOURCE2} subprojects/packagecache/ %build %meson --wrap-mode=nodownload -Dwerror=false -Ddebug_tools=calibrate,dump -Dservice_manager=systemd %meson_build %install %meson_install install -Dm644 %{SOURCE3} %{buildroot}%{_unitdir}/iptsd@.service install -Dm755 %{SOURCE4} %{buildroot}%{_prefix}/lib/systemd/system-sleep/iptsd install -Dm644 %{SOURCE5} %{buildroot}%{_datadir}/iptsd/surface-laptop-7.conf %check %meson_test %files %license LICENSE %license subprojects/GSL-4.2.0/LICENSE %{_bindir}/iptsd* %{_datadir}/iptsd %{_unitdir}/iptsd@.service %{_prefix}/lib/udev/rules.d/50-iptsd.rules %{_prefix}/lib/systemd/system-sleep/iptsd %config(noreplace) %{_sysconfdir}/iptsd.conf %dir %{_sysconfdir}/iptsd.d %changelog * Fri Sep 18 2026 Felix - 3.1.0^20260716git3663e96-1 - Port calibrated Romulus input and HID handoff fixes