1 %define kdeplasmaver 5.14.5
3 %define kpname kde-cli-tools
4 Summary: Tools based on KDE Frameworks 5 to better interact with the system
8 License: GPL v2+/LGPL v2.1+
10 Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5: be9fe02e19e8e815b9b50b05b25faf0e
12 URL: http://www.kde.org/
13 BuildRequires: Qt5Core-devel >= %{qtver}
14 BuildRequires: cmake >= 2.8.12
15 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
16 BuildRequires: kf5-kcmutils-devel
17 BuildRequires: kf5-kconfig-devel
18 BuildRequires: kf5-kdelibs4support-devel
19 BuildRequires: kf5-kdesu-devel
20 BuildRequires: kf5-kemoticons-devel
21 BuildRequires: kf5-ki18n-devel
22 BuildRequires: kf5-kiconthemes-devel
23 BuildRequires: kf5-kitemmodels-devel
24 BuildRequires: kf5-kwindowsystem-devel
25 BuildRequires: kp5-plasma-workspace-devel >= 5.14.5
26 BuildRequires: qt5-build >= %{qtver}
27 BuildRequires: rpmbuild(macros) >= 1.164
28 BuildRequires: tar >= 1:1.22
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Tools based on KDE Frameworks 5 to better interact with the system.
36 %setup -q -n %{kpname}-%{version}
42 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} -C build install \
49 DESTDIR=$RPM_BUILD_ROOT
51 %find_lang kde-cli-tools --all-name --with-kde
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
59 %files -f kde-cli-tools.lang
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/kbroadcastnotification
62 %attr(755,root,root) %{_bindir}/kcmshell5
63 %attr(755,root,root) %{_bindir}/kde-open5
64 %attr(755,root,root) %{_bindir}/kdecp5
65 %attr(755,root,root) %{_bindir}/kdemv5
66 %attr(755,root,root) %{_bindir}/keditfiletype5
67 %attr(755,root,root) %{_bindir}/kioclient5
68 %attr(755,root,root) %{_bindir}/kmimetypefinder5
69 %attr(755,root,root) %{_bindir}/kstart5
70 %attr(755,root,root) %{_bindir}/ksvgtopng5
71 %attr(755,root,root) %{_bindir}/ktraderclient5
72 %attr(755,root,root) %{_libexecdir}/kf5/kdeeject
73 %attr(755,root,root) %{_libexecdir}/kf5/kdesu
74 %attr(755,root,root) %{_libdir}/libkdeinit5_kcmshell5.so
75 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_filetypes.so
76 %{_datadir}/kservices5/filetypes.desktop
77 %{_mandir}/man1/kdesu.1*
78 %lang(ca) /usr/share/man/ca/man1/kdesu.1*
79 %lang(de) /usr/share/man/de/man1/kdesu.1*
80 %lang(es) /usr/share/man/es/man1/kdesu.1*
81 %lang(et) /usr/share/man/et/man1/kdesu.1*
82 %lang(it) /usr/share/man/it/man1/kdesu.1*
83 %lang(nb) /usr/share/man/nb/man1/kdesu.1*
84 %lang(nl) /usr/share/man/nl/man1/kdesu.1*
85 %lang(pt) /usr/share/man/pt/man1/kdesu.1*
86 %lang(pt_BR) /usr/share/man/pt_BR/man1/kdesu.1*
87 %lang(ru) /usr/share/man/ru/man1/kdesu.1*
88 %lang(sr) /usr/share/man/sr/man1/kdesu.1*
89 %lang(sv) /usr/share/man/sv/man1/kdesu.1*
90 %lang(uk) /usr/share/man/uk/man1/kdesu.1*