- find_lang with kde
[packages/kp5-kde-cli-tools.git] / kp5-kde-cli-tools.spec
1 %define         kdeplasmaver    5.4.0
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.4.0
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:  65fc93f60161988783a0c78e12640aa5
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-ki18n-devel
21 BuildRequires:  kf5-kiconthemes-devel
22 BuildRequires:  kf5-kwindowsystem-devel
23 BuildRequires:  qt5-build >= %{qtver}
24 BuildRequires:  rpmbuild(macros) >= 1.164
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xz
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Tools based on KDE Frameworks 5 to better interact with the system.
31
32 %prep
33 %setup -q -n %{kpname}-%{version}
34
35 %build
36 install -d build
37 cd build
38 %cmake \
39         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
40         ..
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} -C build install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %find_lang kde-cli-tools --all-name --with-kde
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post   -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files -f kde-cli-tools.lang
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/kcmshell5
59 %attr(755,root,root) %{_bindir}/kde-open5
60 %attr(755,root,root) %{_bindir}/kdecp5
61 %attr(755,root,root) %{_bindir}/kdemv5
62 %attr(755,root,root) %{_bindir}/keditfiletype5
63 %attr(755,root,root) %{_bindir}/kioclient5
64 %attr(755,root,root) %{_bindir}/kmimetypefinder5
65 %attr(755,root,root) %{_bindir}/kstart5
66 %attr(755,root,root) %{_bindir}/ksvgtopng5
67 %attr(755,root,root) %{_bindir}/ktraderclient5
68 %attr(755,root,root) %{_libdir}/kf5/kdeeject
69 %attr(755,root,root) %{_libdir}/kf5/kdesu
70 %attr(755,root,root) %{_libdir}/libkdeinit5_kcmshell5.so
71 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_filetypes.so
72 %{_datadir}/kservices5/filetypes.desktop
73 %{_mandir}/man1/kdesu.1*
This page took 0.122524 seconds and 3 git commands to generate.