- find_lang with kde
[packages/kp5-kde-cli-tools.git] / kp5-kde-cli-tools.spec
CommitLineData
b04f0482
AM
1%define kdeplasmaver 5.4.0
2%define qtver 5.3.2
3%define kpname kde-cli-tools
4Summary: Tools based on KDE Frameworks 5 to better interact with the system
5Name: kp5-%{kpname}
6Version: 5.4.0
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11# Source0-md5: 65fc93f60161988783a0c78e12640aa5
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: cmake >= 2.8.12
15BuildRequires: kf5-extra-cmake-modules >= 1.4.0
16BuildRequires: kf5-kcmutils-devel
17BuildRequires: kf5-kconfig-devel
18BuildRequires: kf5-kdelibs4support-devel
19BuildRequires: kf5-kdesu-devel
20BuildRequires: kf5-ki18n-devel
21BuildRequires: kf5-kiconthemes-devel
22BuildRequires: kf5-kwindowsystem-devel
23BuildRequires: qt5-build >= %{qtver}
24BuildRequires: rpmbuild(macros) >= 1.164
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Tools based on KDE Frameworks 5 to better interact with the system.
31
32%prep
33%setup -q -n %{kpname}-%{version}
34
35%build
36install -d build
37cd build
38%cmake \
39 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
40 ..
41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45%{__make} -C build install \
46 DESTDIR=$RPM_BUILD_ROOT
47
65c2277b 48%find_lang kde-cli-tools --all-name --with-kde
b04f0482
AM
49
50%clean
51rm -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.108764 seconds and 4 git commands to generate.