]>
Commit | Line | Data |
---|---|---|
d76b3897 | 1 | %define kdeplasmaver 5.14.4 |
b04f0482 AM |
2 | %define qtver 5.3.2 |
3 | %define kpname kde-cli-tools | |
4 | Summary: Tools based on KDE Frameworks 5 to better interact with the system | |
5 | Name: kp5-%{kpname} | |
d76b3897 | 6 | Version: 5.14.4 |
b04f0482 AM |
7 | Release: 1 |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Libraries | |
10 | Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz | |
d76b3897 | 11 | # Source0-md5: d008931a914d5748da62f6667915c7d6 |
b04f0482 AM |
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 | |
e044854b | 20 | BuildRequires: kf5-kemoticons-devel |
b04f0482 AM |
21 | BuildRequires: kf5-ki18n-devel |
22 | BuildRequires: kf5-kiconthemes-devel | |
e044854b | 23 | BuildRequires: kf5-kitemmodels-devel |
b04f0482 AM |
24 | BuildRequires: kf5-kwindowsystem-devel |
25 | BuildRequires: qt5-build >= %{qtver} | |
26 | BuildRequires: rpmbuild(macros) >= 1.164 | |
27 | BuildRequires: tar >= 1:1.22 | |
28 | BuildRequires: xz | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Tools based on KDE Frameworks 5 to better interact with the system. | |
33 | ||
34 | %prep | |
35 | %setup -q -n %{kpname}-%{version} | |
36 | ||
37 | %build | |
38 | install -d build | |
39 | cd build | |
40 | %cmake \ | |
41 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
42 | .. | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | %{__make} -C build install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
65c2277b | 50 | %find_lang kde-cli-tools --all-name --with-kde |
b04f0482 AM |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %post -p /sbin/ldconfig | |
56 | %postun -p /sbin/ldconfig | |
57 | ||
58 | %files -f kde-cli-tools.lang | |
59 | %defattr(644,root,root,755) | |
9a9f6c93 | 60 | %attr(755,root,root) %{_bindir}/kbroadcastnotification |
b04f0482 AM |
61 | %attr(755,root,root) %{_bindir}/kcmshell5 |
62 | %attr(755,root,root) %{_bindir}/kde-open5 | |
63 | %attr(755,root,root) %{_bindir}/kdecp5 | |
64 | %attr(755,root,root) %{_bindir}/kdemv5 | |
65 | %attr(755,root,root) %{_bindir}/keditfiletype5 | |
66 | %attr(755,root,root) %{_bindir}/kioclient5 | |
67 | %attr(755,root,root) %{_bindir}/kmimetypefinder5 | |
68 | %attr(755,root,root) %{_bindir}/kstart5 | |
69 | %attr(755,root,root) %{_bindir}/ksvgtopng5 | |
70 | %attr(755,root,root) %{_bindir}/ktraderclient5 | |
d76b3897 WF |
71 | %attr(755,root,root) %{_libexecdir}/kf5/kdeeject |
72 | %attr(755,root,root) %{_libexecdir}/kf5/kdesu | |
b04f0482 AM |
73 | %attr(755,root,root) %{_libdir}/libkdeinit5_kcmshell5.so |
74 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_filetypes.so | |
75 | %{_datadir}/kservices5/filetypes.desktop | |
76 | %{_mandir}/man1/kdesu.1* |