]>
Commit | Line | Data |
---|---|---|
c4b473b9 WF |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with tests # build with tests | |
d3beb95e | 4 | %define kdeplasmaver 5.27.2 |
c4b473b9 WF |
5 | %define qtver 5.15.2 |
6 | %define kpname plasma-bigscreen | |
7 | %define kf5ver 5.39.0 | |
8 | ||
9 | Summary: plasma-bigscreen | |
10 | Name: kp5-%{kpname} | |
d3beb95e | 11 | Version: 5.27.2 |
c4b473b9 WF |
12 | Release: 1 |
13 | License: LGPL v2.1+ | |
14 | Group: X11/Applications | |
15 | Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz | |
d3beb95e | 16 | # Source0-md5: f43030af71c0e68a603e72d974a4d437 |
c4b473b9 WF |
17 | URL: https://kde.org/ |
18 | BuildRequires: Qt5Core-devel >= 5.15.0 | |
19 | BuildRequires: Qt5DBus-devel | |
20 | BuildRequires: Qt5Gui-devel >= 5.15.0 | |
21 | BuildRequires: Qt5Multimedia-devel | |
22 | BuildRequires: Qt5Network-devel >= 5.15.0 | |
23 | BuildRequires: Qt5Qml-devel | |
24 | BuildRequires: Qt5Quick-devel | |
25 | BuildRequires: cmake >= 2.8.12 | |
26 | BuildRequires: fontconfig-devel | |
27 | BuildRequires: freetype-devel | |
28 | BuildRequires: gettext | |
29 | BuildRequires: kf5-extra-cmake-modules | |
30 | BuildRequires: kf5-extra-cmake-modules >= 5.82 | |
31 | BuildRequires: kf5-kactivities-devel >= 5.98.0 | |
32 | BuildRequires: kf5-kactivities-stats-devel >= 5.98.0 | |
33 | BuildRequires: kf5-kauth-devel >= 5.99.0 | |
34 | BuildRequires: kf5-kcmutils-devel >= 5.98.0 | |
35 | BuildRequires: kf5-kcodecs-devel >= 5.99.0 | |
36 | BuildRequires: kf5-kcoreaddons-devel >= 5.99.0 | |
37 | BuildRequires: kf5-kdeclarative-devel >= 5.98.0 | |
38 | BuildRequires: kf5-ki18n-devel >= 5.98.0 | |
39 | BuildRequires: kf5-kio-devel >= 5.98.0 | |
40 | BuildRequires: kf5-kirigami2-devel >= 5.98.0 | |
41 | BuildRequires: kf5-kjobwidgets-devel >= 5.99.0 | |
42 | BuildRequires: kf5-knotifications-devel >= 5.98.0 | |
43 | BuildRequires: kf5-kpackage-devel >= 5.99.0 | |
44 | BuildRequires: kf5-kservice-devel >= 5.99.0 | |
45 | BuildRequires: kf5-kwayland-devel >= 5.98.0 | |
46 | BuildRequires: kf5-kwindowsystem-devel >= 5.98.0 | |
47 | BuildRequires: kf5-plasma-framework-devel >= 5.98.0 | |
48 | BuildRequires: kf5-solid-devel >= 5.99.0 | |
49 | BuildRequires: kp5-plasma-workspace-devel >= 5.19 | |
50 | BuildRequires: ninja | |
51 | BuildRequires: pkgconfig | |
52 | BuildRequires: pkgconfig | |
53 | BuildRequires: rpmbuild(macros) >= 1.164 | |
54 | BuildRequires: xz | |
55 | Obsoletes: kp5-plasma-phone-components < 5.24.1 | |
56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
57 | ||
58 | %define qt5dir %{_libdir}/qt5 | |
59 | ||
60 | %description | |
61 | A big launcher giving you easy access to any installed apps and | |
62 | skills. Controllable via voice or TV remote. | |
63 | ||
64 | This project is using various open-source components like Plasma | |
65 | Bigscreen, Mycroft AI and libcec. | |
66 | ||
67 | %description -l pl.UTF-8 | |
68 | ||
69 | %prep | |
70 | %setup -q -n %{kpname}-%{version} | |
71 | ||
72 | %build | |
73 | install -d build | |
74 | cd build | |
75 | %cmake -G Ninja \ | |
76 | %{!?with_tests:-DBUILD_TESTING=OFF} \ | |
77 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
78 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ | |
79 | ../ | |
80 | %ninja_build | |
81 | ||
82 | %if %{with tests} | |
83 | ctest | |
84 | %endif | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | %ninja_install -C build | |
89 | sed -i -e 's|bin/env python3|bin/python3|' $RPM_BUILD_ROOT%{_bindir}/mycroft-skill-launcher.py | |
90 | ||
91 | %find_lang %{kpname} --all-name --with-kde | |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %files -f %{kpname}.lang | |
97 | %defattr(644,root,root,755) | |
98 | %attr(755,root,root) %{_bindir}/mycroft-skill-launcher.py | |
99 | %attr(755,root,root) %{_bindir}/plasma-bigscreen-wayland | |
100 | %attr(755,root,root) %{_bindir}/plasma-bigscreen-x11 | |
101 | %{_libdir}/qt5/plugins/kcms/kcm_mediacenter_audiodevice.so | |
102 | %{_libdir}/qt5/plugins/kcms/kcm_mediacenter_bigscreen_settings.so | |
103 | %{_libdir}/qt5/plugins/kcms/kcm_mediacenter_kdeconnect.so | |
104 | %{_libdir}/qt5/plugins/kcms/kcm_mediacenter_wifi.so | |
105 | %{_libdir}/qt5/plugins/plasma/applets/plasma_containment_biglauncherhomescreen.so | |
106 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/AbstractDelegate.qml | |
107 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/IconDelegate.qml | |
108 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/NavigationSoundEffects.qml | |
109 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/TileRepeater.qml | |
110 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/TileView.qml | |
111 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/background.svg | |
112 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/libbigscreenplugin.so | |
113 | %{_libdir}/qt5/qml/org/kde/mycroft/bigscreen/qmldir | |
114 | %{_datadir}/kpackage/genericqml/org.kde.plasma.settings/contents/ui/+mediacenter/KCMContainer.qml | |
115 | %{_datadir}/kpackage/genericqml/org.kde.plasma.settings/contents/ui/+mediacenter/ModulesListPage.qml | |
116 | %{_datadir}/kpackage/genericqml/org.kde.plasma.settings/contents/ui/+mediacenter/VirtualKeyboard.qml | |
117 | %{_datadir}/kpackage/genericqml/org.kde.plasma.settings/contents/ui/+mediacenter/VirtualKeyboardLoader.qml | |
118 | %{_datadir}/kpackage/genericqml/org.kde.plasma.settings/contents/ui/+mediacenter/main.qml | |
119 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/DeviceChooserPage.qml | |
120 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/SettingsItem.qml | |
121 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/code/icon.js | |
122 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/delegates/AudioDelegate.qml | |
123 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/delegates/CompactAudioDelegate.qml | |
124 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/delegates/VolumeObject.qml | |
125 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/images/green-tick-thick.svg | |
126 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/images/green-tick.svg | |
127 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/main.qml | |
128 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/views/RowLabelView.qml | |
129 | %{_datadir}/kpackage/kcms/kcm_mediacenter_audiodevice/contents/ui/views/TileView.qml | |
c4b473b9 WF |
130 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/DeviceTimeSettings.qml |
131 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/DatePicker.qml | |
132 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/Digit.qml | |
133 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/Hand.qml | |
134 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/LocalSettingDelegate.qml | |
135 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/ThemeDelegate.qml | |
136 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/ThemePreview.qml | |
137 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/TimeDelegate.qml | |
138 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/delegates/TimePicker.qml | |
139 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/images/green-tick-thick.svg | |
140 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/images/green-tick.svg | |
141 | %{_datadir}/kpackage/kcms/kcm_mediacenter_bigscreen_settings/contents/ui/main.qml | |
c4b473b9 WF |
142 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/DeviceConnectionView.qml |
143 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/delegates/DeviceDelegate.qml | |
144 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/delegates/PairRequest.qml | |
145 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/delegates/PairedView.qml | |
146 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/delegates/UnpairedView.qml | |
147 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/delegates/Unreachable.qml | |
148 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/images/green-tick-thick.svg | |
149 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/images/green-tick.svg | |
150 | %{_datadir}/kpackage/kcms/kcm_mediacenter_kdeconnect/contents/ui/main.qml | |
c4b473b9 WF |
151 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/DetailsText.qml |
152 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/DeviceConnectionItem.qml | |
153 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/NetworkItem.qml | |
154 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/delegates/CompactNetworkDelegate.qml | |
155 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/delegates/NetworkDelegate.qml | |
156 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/images/green-tick-thick.svg | |
157 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/images/green-tick.svg | |
158 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/main.qml | |
159 | %{_datadir}/kpackage/kcms/kcm_mediacenter_wifi/contents/ui/views/RowLabelView.qml | |
c4b473b9 WF |
160 | %{_datadir}/kservices5/plasma-applet-org.kde.mycroft.bigscreen.homescreen.desktop |
161 | %{_datadir}/kservices5/plasma-applet-org.kde.plasma.mycroft.bigscreen.desktop | |
162 | %{_datadir}/kservices5/plasma-lookandfeel-org.kde.plasma.mycroft.bigscreen.desktop | |
163 | %{_datadir}/metainfo/org.kde.mycroft.bigscreen.homescreen.appdata.xml | |
164 | %{_datadir}/metainfo/org.kde.plasma.mycroft.bigscreen.appdata.xml | |
165 | %{_datadir}/metainfo/org.kde.plasma.mycroft.bigscreen.metainfo.xml | |
166 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/defaults | |
167 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/layouts/org.kde.plasma.mycroft.bigscreen-layout.js | |
168 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/lockscreen/LockScreen.qml | |
169 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/previews/splash.png | |
170 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/Splash.qml | |
171 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/busycolored.svg | |
172 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/busywidget.svgz | |
173 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/kde.svgz | |
174 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/logo-big.svg | |
175 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/logo.svg | |
176 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/plasma.svgz | |
177 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/contents/splash/images/rocket.svg | |
178 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/metadata.desktop | |
179 | %{_datadir}/plasma/look-and-feel/org.kde.plasma.mycroft.bigscreen/metadata.json | |
180 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/config/config.qml | |
181 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/config/main.xml | |
182 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/ConfigWindow.qml | |
183 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/MycroftIndicator.qml | |
184 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/MycroftWindow.qml | |
185 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/PowerManagementItem.qml | |
186 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/AbstractIndicator.qml | |
187 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/KdeConnect.qml | |
188 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/MycroftConnect.qml | |
189 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/PairWindow.qml | |
190 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/Shutdown.qml | |
191 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/Volume.qml | |
192 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/Wifi.qml | |
193 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/indicators/code/icon.js | |
194 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/FeedbackWindow.qml | |
195 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/LauncherHome.qml | |
196 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/LauncherMenu.qml | |
197 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/PlaceHolderPage.qml | |
198 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/SettingActions.qml | |
199 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/config/configGeneral.qml | |
200 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/delegates/AppDelegate.qml | |
201 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/delegates/SettingDelegate.qml | |
202 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/launcher/delegates/VoiceAppDelegate.qml | |
203 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/contents/ui/main.qml | |
204 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/metadata.desktop | |
205 | %{_datadir}/plasma/plasmoids/org.kde.mycroft.bigscreen.homescreen/metadata.json | |
206 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/configuration/AppletConfiguration.qml | |
207 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/configuration/ConfigCategoryDelegate.qml | |
208 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/configuration/ConfigurationContainmentAppearance.qml | |
209 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/configuration/ContainmentConfiguration.qml | |
210 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/configuration/SlideshowThumbnail.png | |
211 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/configuration/WallpaperDelegate.qml | |
212 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/defaults | |
213 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/contents/layout.js | |
214 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/metadata.desktop | |
215 | %{_datadir}/plasma/shells/org.kde.plasma.mycroft.bigscreen/metadata.json | |
216 | %{_datadir}/sounds/plasma-bigscreen/LICENSE | |
217 | %{_datadir}/sounds/plasma-bigscreen/clicked.wav | |
218 | %{_datadir}/sounds/plasma-bigscreen/moving.wav | |
219 | %{_datadir}/wayland-sessions/plasma-bigscreen-wayland.desktop | |
220 | %{_datadir}/xsessions/plasma-bigscreen-x11.desktop |