%global commit 25d881bff65a05fcf9f646112ca9af5b24f98016 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global gitdate 01052026.090128 Name: plasma-remotecontrollers Version: 6.4.50~%{gitdate}.%{shortcommit} Release: 1%{?dist} Summary: Translate various events into keyboard and pointer events License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only URL: https://invent.kde.org/plasma-bigscreen/%{name} Source0: %{url}/-/archive/%{shortcommit}/%{name}-%{shortcommit}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6WaylandClient) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Solid) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Declarative) BuildRequires: cmake(KF6DBusAddons) BuildRequires: cmake(KF6KCMUtils) BuildRequires: cmake(KF6Package) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6StatusNotifierItem) BuildRequires: cmake(ScreenSaverDBusInterface) BuildRequires: cmake(LibTaskManager) BuildRequires: cmake(KF6ItemModels) BuildRequires: cmake(PlasmaWaylandProtocols) BuildRequires: pkgconfig(wayland-client) BuildRequires: cmake(SDL3) BuildRequires: pkgconfig(libevdev) BuildRequires: libwiimote-devel %description %{summary}. %prep %autosetup -p1 -n %{name}-%{shortcommit} %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang kcm_mediacenter_remotecontrollers %find_lang %{name} %check desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/org.kde.plasma-remotecontrollers.desktop desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/kcm_mediacenter_remotecontrollers.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %files -f kcm_mediacenter_remotecontrollers.lang -f %{name}.lang %license LICENSES/* %doc README.md %{_sysconfdir}/xdg/autostart/org.kde.plasma-remotecontrollers.desktop %{_sysconfdir}/xdg/plasma-remotecontrollersrc %{_kf6_bindir}/plasma-remotecontrollers %{_kf6_qtplugindir}/plasma/kcms/systemsettings/kcm_mediacenter_remotecontrollers.so %{_kf6_qmldir}/org/kde/plasma/remotecontrollers %{_kf6_libdir}/udev/rules.d/40-uinput.rules %{_kf6_datadir}/applications/kcm_mediacenter_remotecontrollers.desktop %{_kf6_datadir}/applications/org.kde.plasma-remotecontrollers.desktop %{_kf6_datadir}/dbus-1/interfaces/org.kde.plasma.remotecontrollers*.xml %{_kf6_datadir}/knotifications6/plasma-remotecontrollers.notifyrc %{_kf6_metainfodir}/org.kde.plasma.remotecontrollers.metainfo.xml %{_kf6_datadir}/qlogging-categories6/plasma-remotecontrollers.categories %changelog * Sat Jan 10 2026 Steve Cossette - 6.4.50~25d881b.01052026.090128-1 - Initial Release