Files
Raboneko 9b9d1c0d91 bump: anki-bin discord-canary-openasar discord-canary discord-openasar discord-ptb-openasar discord-ptb discord fontviewer komikku nekoray ruffle-nightly elementary-appcenter elementary-camera elementary-capnet-assist elementary-code elementary-files elementary-greeter elementary-icon-theme elementary-notifications elementary-onboarding elementary-photos elementary-screenshot-tool elementary-settings-daemon elementary-shortcut-overlay elementary-sideload elementary-terminal elementary-theme gala granite-7 pantheon-agent-polkit switchboard-plug-about switchboard-plug-applications switchboard-plug-bluetooth switchboard-plug-datetime switchboard-plug-display switchboard-plug-keyboard switchboard-plug-locale switchboard-plug-mouse-touchpad switchboard-plug-networking switchboard-plug-onlineaccounts switchboard-plug-pantheon-shell switchboard-plug-parental-controls switchboard-plug-power switchboard-plug-printers switchboard-plug-security-privacy switchboard-plug-sharing switchboard-plug-sound switchboard-plug-tweaks switchboard-plug-useraccounts switchboard-plug-wacom switchboard wingpanel-applications-menu wingpanel-indicator-power wingpanel-indicator-sound wingpanel xdg-desktop-portal-pantheon lomiri-system-settings lomiri-url-dispatcher bun-bin zed-preview zed maple-fonts heroic-games-launcher inputplumber osu-lazer prismlauncher-qt5 chezmoi golang-github-xyproto-textoutput golang-github-xyproto-vt100 nimble python-pip-system-certs python-pywal16 zig-master-bootstrap libhelium tdlib-nightly sass uutils-coreutils helium-gtk-theme arduino-cli rust-mise electron yt-dlp-git
2025-06-15 14:51:44 +00:00

54 lines
1.6 KiB
RPMSpec

%global __brp_mangle_shebangs %{nil}
Name: inputplumber
Version: 0.58.6
Release: 1%?dist
Summary: Open source input router and remapper daemon for Linux
License: GPL-3.0-or-later
URL: https://github.com/ShadowBlip/InputPlumber
Source0: %{url}/archive/refs/tags/v%version.tar.gz
Patch0: make-install-dont-build.patch
BuildRequires: libevdev-devel libiio-devel git make cargo libudev-devel llvm-devel clang-devel
BuildRequires: rust-packaging cargo-rpm-macros mold rpm_macro(cargo_prep_online) systemd-rpm-macros
Requires: libevdev libiio
Recommends: steam gamescope-session linuxconsoletools
Packager: madonuko <mado@fyralabs.com>
Provides: inputplumber
Conflicts: hhd
%description
InputPlumber is an open source input routing and control daemon for Linux. It
can be used to combine any number of input devices (like gamepads, mice, and
keyboards) and translate their input to a variety of virtual device formats.
%prep
%autosetup -n InputPlumber-%version
%cargo_prep_online
%build
%cargo_build
%install
%make_install BUILD_TYPE=rpm PREFIX=%buildroot%_prefix
%post
%systemd_post inputplumber.service
%preun
%systemd_preun inputplumber.service
%postun
%systemd_postun_with_restart inputplumber.service
%files
%doc README.md
%license LICENSE
%_bindir/inputplumber
%_unitdir/inputplumber.service
%_unitdir/inputplumber-suspend.service
%_udevhwdbdir/59-inputplumber.hwdb
%_udevhwdbdir/60-inputplumber-autostart.hwdb
%_udevrulesdir/90-inputplumber-autostart.rules
%_datadir/dbus-1/system.d/org.shadowblip.InputPlumber.conf
%_datadir/inputplumber/