1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first |
3 |
# to the KDE Team |
4 |
# This package is part of the KDE Stack. |
5 |
# |
6 |
|
7 |
%define rel 1 |
8 |
|
9 |
Name: plasma-remotecontrollers |
10 |
Version: 5.92.0 |
11 |
Release: %mkrel %rel |
12 |
Summary: Translate various input device events into keyboard and pointer events |
13 |
License: Multiples |
14 |
Group: Graphical desktop/KDE |
15 |
URL: https://plasma-bigscreen.org/ |
16 |
Source0: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz |
17 |
|
18 |
Patch1: plasma-remotecontrollers-5.27.0-udev-path.patch |
19 |
|
20 |
BuildRequires: kf5-rpm-macros |
21 |
|
22 |
BuildRequires: cmake(KF5KCMUtils) |
23 |
BuildRequires: cmake(KF5Config) |
24 |
BuildRequires: cmake(KF5CoreAddons) |
25 |
BuildRequires: cmake(KF5Declarative) |
26 |
BuildRequires: cmake(KF5I18n) |
27 |
BuildRequires: cmake(KF5Package) |
28 |
BuildRequires: cmake(KF5WindowSystem) |
29 |
BuildRequires: cmake(KF5Solid) |
30 |
BuildRequires: cmake(KF5Notifications) |
31 |
BuildRequires: cmake(LibTaskManager) |
32 |
BuildRequires: cmake(PlasmaWaylandProtocols) |
33 |
BuildRequires: cmake(ScreenSaverDBusInterface) |
34 |
|
35 |
BuildRequires: cmake(Qt5Core) |
36 |
BuildRequires: cmake(Qt5DBus) |
37 |
BuildRequires: cmake(Qt5Gui) |
38 |
BuildRequires: cmake(Qt5WaylandClient) |
39 |
BuildRequires: pkgconfig(libcec) |
40 |
BuildRequires: pkgconfig(libevdev) |
41 |
#BuildRequires: pkgconfig(libxwiimote) |
42 |
BuildRequires: pkgconfig(wayland-protocols) |
43 |
|
44 |
|
45 |
%description |
46 |
Remote control interface for Plasma, primarily for use with plasma-bigscreen. |
47 |
Translate various input device events into keyboard and pointer events. |
48 |
|
49 |
%files -f %{name}.lang |
50 |
%{_kf5_categoriesdir}/plasma-remotecontrollers.categories |
51 |
%{_qt5_settingsdir}/autostart/org.kde.plasma-remotecontrollers.desktop |
52 |
%{_qt5_settingsdir}/plasma-remotecontrollersrc |
53 |
%{_kf5_bindir}/plasma-remotecontrollers |
54 |
%{_qt5_plugindir}/kcms/kcm_mediacenter_remotecontrollers.so |
55 |
%{_kf5_qmldir}/org/kde/plasma/remotecontrollers/ |
56 |
%{_kf5_applicationsdir}/org.kde.plasma-remotecontrollers.desktop |
57 |
%{_kf5_datadir}/dbus-1/interfaces/org.kde.plasma.remotecontrollers.CEC.xml |
58 |
%{_kf5_datadir}/dbus-1/interfaces/org.kde.plasma.remotecontrollers.ControllerManager.xml |
59 |
%{_kf5_datadir}/dbus-1/interfaces/org.kde.plasma.remotecontrollers.EVDEV.xml |
60 |
%{_kf5_knotificationsdir}/plasma-remotecontrollers.notifyrc |
61 |
%{_kf5_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/ |
62 |
%{_kf5_services}/kcm_mediacenter_remotecontrollers.desktop |
63 |
%{_kf5_metainfodir}/org.kde.plasma.remotecontrollers.metainfo.xml |
64 |
%{_udevrulesdir}/40-uinput.rules |
65 |
|
66 |
#-------------------------------------------------------------------- |
67 |
|
68 |
%prep |
69 |
%autosetup -p1 |
70 |
|
71 |
%build |
72 |
%cmake_kf5 |
73 |
|
74 |
%cmake_build |
75 |
|
76 |
%install |
77 |
%cmake_install |
78 |
|
79 |
%find_lang %{name} --all-name |