- updated to 5.15.3
[packages/kp5-kde-cli-tools.git] / kp5-kde-cli-tools.spec
CommitLineData
9227f9e9 1%define kdeplasmaver 5.15.3
1b47ceb5 2%define qtver 5.9.0
b04f0482
AM
3%define kpname kde-cli-tools
4Summary: Tools based on KDE Frameworks 5 to better interact with the system
5Name: kp5-%{kpname}
9227f9e9 6Version: 5.15.3
b04f0482
AM
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
9227f9e9 11# Source0-md5: 882890f64e5143e67e061f6267feea5f
b04f0482
AM
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
e044854b 20BuildRequires: kf5-kemoticons-devel
b04f0482
AM
21BuildRequires: kf5-ki18n-devel
22BuildRequires: kf5-kiconthemes-devel
e044854b 23BuildRequires: kf5-kitemmodels-devel
b04f0482 24BuildRequires: kf5-kwindowsystem-devel
9227f9e9
WF
25BuildRequires: kp5-plasma-workspace-devel >= %{version}
26BuildRequires: ninja
b04f0482
AM
27BuildRequires: qt5-build >= %{qtver}
28BuildRequires: rpmbuild(macros) >= 1.164
29BuildRequires: tar >= 1:1.22
30BuildRequires: xz
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34Tools based on KDE Frameworks 5 to better interact with the system.
35
36%prep
37%setup -q -n %{kpname}-%{version}
38
39%build
40install -d build
41cd build
9227f9e9 42%cmake -G Ninja \
b04f0482
AM
43 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
44 ..
9227f9e9 45%ninja_build
b04f0482
AM
46
47%install
48rm -rf $RPM_BUILD_ROOT
9227f9e9 49%ninja_install -C build
b04f0482 50
65c2277b 51%find_lang kde-cli-tools --all-name --with-kde
b04f0482
AM
52
53%clean
54rm -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)
9a9f6c93 61%attr(755,root,root) %{_bindir}/kbroadcastnotification
b04f0482
AM
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
d76b3897
WF
72%attr(755,root,root) %{_libexecdir}/kf5/kdeeject
73%attr(755,root,root) %{_libexecdir}/kf5/kdesu
b04f0482
AM
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*
1b47ceb5
WF
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.205829 seconds and 4 git commands to generate.