]>
Commit | Line | Data |
---|---|---|
b7a6fa82 | 1 | %define kdeappsver 18.12.1 |
f40c6f09 | 2 | %define qtver 5.9.0 |
47ae1674 AM |
3 | %define kaname konsole |
4 | Summary: KDE Terminal Emulator | |
5 | Name: ka5-%{kaname} | |
b7a6fa82 | 6 | Version: 18.12.1 |
5ac51d13 | 7 | Release: 1 |
47ae1674 AM |
8 | License: GPL v2+/LGPL v2.1+ |
9 | Group: X11/Libraries | |
f40c6f09 | 10 | Source0: https://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
b7a6fa82 | 11 | # Source0-md5: cfc8cdc3578de53a3e5daea1c5a5c2d0 |
47ae1674 AM |
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 | |
bb437bd0 AM |
16 | BuildRequires: kf5-kbookmarks-devel |
17 | BuildRequires: kf5-kcompletion-devel | |
18 | BuildRequires: kf5-kconfig-devel | |
19 | BuildRequires: kf5-kconfigwidgets-devel | |
20 | BuildRequires: kf5-kcoreaddons-devel | |
47ae1674 | 21 | BuildRequires: kf5-kdelibs4support-devel |
bb437bd0 | 22 | BuildRequires: kf5-kdoctools-devel |
97f8e98f | 23 | BuildRequires: kf5-kemoticons-devel |
bb437bd0 AM |
24 | BuildRequires: kf5-kguiaddons-devel |
25 | BuildRequires: kf5-ki18n-devel | |
26 | BuildRequires: kf5-kiconthemes-devel | |
27 | BuildRequires: kf5-kinit-devel | |
28 | BuildRequires: kf5-kio-devel | |
835fb6a8 | 29 | BuildRequires: kf5-kitemmodels-devel |
bb437bd0 AM |
30 | BuildRequires: kf5-knotifications-devel |
31 | BuildRequires: kf5-knotifyconfig-devel | |
32 | BuildRequires: kf5-kparts-devel | |
33 | BuildRequires: kf5-kpty-devel | |
34 | BuildRequires: kf5-kservice-devel | |
35 | BuildRequires: kf5-ktextwidgets-devel | |
36 | BuildRequires: kf5-kwidgetsaddons-devel | |
37 | BuildRequires: kf5-kwindowsystem-devel | |
38 | BuildRequires: kf5-kxmlgui-devel | |
7eced89c | 39 | BuildRequires: ninja |
47ae1674 AM |
40 | BuildRequires: qt5-build >= %{qtver} |
41 | BuildRequires: rpmbuild(macros) >= 1.164 | |
42 | BuildRequires: tar >= 1:1.22 | |
43 | BuildRequires: xz | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
f40c6f09 WF |
47 | Konsole is a terminal emulator. |
48 | ||
49 | Features | |
50 | ||
51 | • Tabs | |
52 | • Multiple profiles | |
53 | • Silence and Activity monitoring | |
54 | • Bookmark support | |
55 | • Searching | |
56 | • Saving output | |
47ae1674 AM |
57 | |
58 | %prep | |
59 | %setup -q -n %{kaname}-%{version} | |
60 | ||
61 | %build | |
62 | install -d build | |
63 | cd build | |
64 | %cmake \ | |
7eced89c | 65 | -G Ninja \ |
47ae1674 AM |
66 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
67 | .. | |
7eced89c | 68 | %ninja_build |
47ae1674 AM |
69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
7eced89c | 72 | %ninja_install -C build |
47ae1674 | 73 | |
5ac51d13 | 74 | %find_lang %{kaname} --all-name --with-kde |
47ae1674 AM |
75 | |
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
5ac51d13 | 82 | %files -f %{kaname}.lang |
47ae1674 | 83 | %defattr(644,root,root,755) |
47ae1674 AM |
84 | %defattr(644,root,root,755) |
85 | %attr(755,root,root) %{_bindir}/konsole | |
86 | %attr(755,root,root) %{_bindir}/konsoleprofile | |
87 | %attr(755,root,root) %{_libdir}/libkdeinit5_konsole.so | |
7c953ef8 | 88 | %attr(755,root,root) %ghost %{_libdir}/libkonsoleprivate.so.18 |
47ae1674 AM |
89 | %attr(755,root,root) %{_libdir}/libkonsoleprivate.so.*.*.* |
90 | %attr(755,root,root) %{_libdir}/qt5/plugins/konsolepart.so | |
f40c6f09 | 91 | /etc/xdg/konsole.categories |
7c953ef8 | 92 | /etc/xdg/konsole.knsrc |
5ac51d13 | 93 | %{_datadir}/metainfo/org.kde.konsole.appdata.xml |
47ae1674 AM |
94 | %{_desktopdir}/org.kde.konsole.desktop |
95 | %{_datadir}/knotifications5/konsole.notifyrc | |
96 | %{_datadir}/konsole | |
97 | %{_datadir}/kservices5/ServiceMenus/konsolehere.desktop | |
98 | %{_datadir}/kservices5/ServiceMenus/konsolerun.desktop | |
99 | %{_datadir}/kservices5/konsolepart.desktop | |
100 | %{_datadir}/kservicetypes5/terminalemulator.desktop | |
f40c6f09 | 101 | %{_datadir}/khotkeys/konsole.khotkeys |
5ac51d13 | 102 | #%%{_datadir}/kxmlgui5/konsole |