a8c6188c4b3350ea5f7680cec445cf49ccec49c2
[packages/kp5-kde-cli-tools.git] / kp5-kde-cli-tools.spec
1 %define         kdeplasmaver    5.11.2
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}
6 Version:        5.11.2
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
11 # Source0-md5:  5a001c97f5784ecb14228e35d8edf8f2
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:  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
50 %find_lang kde-cli-tools --all-name --with-kde
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)
60 %attr(755,root,root) %{_bindir}/kbroadcastnotification
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
71 %attr(755,root,root) %{_libdir}/kf5/kdeeject
72 %attr(755,root,root) %{_libdir}/kf5/kdesu
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*
This page took 0.08655 seconds and 2 git commands to generate.