ef780670d3bd61eacf4991b2e28b4203d87716de
[packages/kp5-kde-cli-tools.git] / kp5-kde-cli-tools.spec
1 %define         kdeplasmaver    5.15.3
2 %define         qtver           5.9.0
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.15.3
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:  882890f64e5143e67e061f6267feea5f
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 >= %{version}
26 BuildRequires:  ninja
27 BuildRequires:  qt5-build >= %{qtver}
28 BuildRequires:  rpmbuild(macros) >= 1.164
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Tools based on KDE Frameworks 5 to better interact with the system.
35
36 %prep
37 %setup -q -n %{kpname}-%{version}
38
39 %build
40 install -d build
41 cd build
42 %cmake -G Ninja \
43         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
44         ..
45 %ninja_build
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %ninja_install -C build
50
51 %find_lang kde-cli-tools --all-name --with-kde
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
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*
This page took 0.07112 seconds and 2 git commands to generate.