-%define kdeplasmaver 5.15.3
+%define kdeplasmaver 5.21.2
%define qtver 5.9.0
%define kpname kscreen
Summary: KDE's screen management software
Name: kp5-%{kpname}
-Version: 5.15.3
+Version: 5.21.2
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 0efcace3965f868e4b474f501c4c3130
+# Source0-md5: f97326e82343b238a53dd4569868720d
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: cmake >= 2.8.12
cd build
%cmake -G Ninja \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DHTML_INSTALL_DIR=%{_kdedocdir} \
..
%ninja_build
%files -f %{kpname}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/kscreen-console
-%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kscreen.so
%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/kscreen.so
-%{_iconsdir}/hicolor/48x48/actions/kdocumentinfo.png
-%{_iconsdir}/hicolor/scalable/actions/kdocumentinfo.svgz
-%{_datadir}/kcm_kscreen
%{_datadir}/kservices5/kcm_kscreen.desktop
-#%%{_datadir}/kservices5/kded/kscreen.desktop
-/etc/xdg/kscreen.categories
%{_libdir}/qt5/plugins/plasma/applets/plasma_applet_kscreen.so
%dir %{_datadir}/kded_kscreen
%dir %{_datadir}/kded_kscreen/qml
%{_datadir}/plasma/plasmoids/org.kde.kscreen/contents/ui/main.qml
%{_datadir}/plasma/plasmoids/org.kde.kscreen/metadata.desktop
%{_datadir}/plasma/plasmoids/org.kde.kscreen/metadata.json
+%attr(755,root,root) %{_libdir}/qt5/plugins/kcms/kcm_kscreen.so
+%{_datadir}/kpackage/kcms/kcm_kscreen
+%{_datadir}/qlogging-categories5/kscreen.categories