]>
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 | |
47ae1674 AM |
39 | BuildRequires: qt5-build >= %{qtver} |
40 | BuildRequires: rpmbuild(macros) >= 1.164 | |
41 | BuildRequires: tar >= 1:1.22 | |
42 | BuildRequires: xz | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
f40c6f09 WF |
46 | Konsole is a terminal emulator. |
47 | ||
48 | Features | |
49 | ||
50 | • Tabs | |
51 | • Multiple profiles | |
52 | • Silence and Activity monitoring | |
53 | • Bookmark support | |
54 | • Searching | |
55 | • Saving output | |
47ae1674 AM |
56 | |
57 | %prep | |
58 | %setup -q -n %{kaname}-%{version} | |
59 | ||
60 | %build | |
61 | install -d build | |
62 | cd build | |
63 | %cmake \ | |
64 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
65 | .. | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | %{__make} -C build install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
5ac51d13 | 73 | %find_lang %{kaname} --all-name --with-kde |
47ae1674 AM |
74 | |
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %post -p /sbin/ldconfig | |
79 | %postun -p /sbin/ldconfig | |
80 | ||
5ac51d13 | 81 | %files -f %{kaname}.lang |
47ae1674 | 82 | %defattr(644,root,root,755) |
47ae1674 AM |
83 | %defattr(644,root,root,755) |
84 | %attr(755,root,root) %{_bindir}/konsole | |
85 | %attr(755,root,root) %{_bindir}/konsoleprofile | |
86 | %attr(755,root,root) %{_libdir}/libkdeinit5_konsole.so | |
7c953ef8 | 87 | %attr(755,root,root) %ghost %{_libdir}/libkonsoleprivate.so.18 |
47ae1674 AM |
88 | %attr(755,root,root) %{_libdir}/libkonsoleprivate.so.*.*.* |
89 | %attr(755,root,root) %{_libdir}/qt5/plugins/konsolepart.so | |
f40c6f09 | 90 | /etc/xdg/konsole.categories |
7c953ef8 | 91 | /etc/xdg/konsole.knsrc |
5ac51d13 | 92 | %{_datadir}/metainfo/org.kde.konsole.appdata.xml |
47ae1674 AM |
93 | %{_desktopdir}/org.kde.konsole.desktop |
94 | %{_datadir}/knotifications5/konsole.notifyrc | |
95 | %{_datadir}/konsole | |
96 | %{_datadir}/kservices5/ServiceMenus/konsolehere.desktop | |
97 | %{_datadir}/kservices5/ServiceMenus/konsolerun.desktop | |
98 | %{_datadir}/kservices5/konsolepart.desktop | |
99 | %{_datadir}/kservicetypes5/terminalemulator.desktop | |
f40c6f09 | 100 | %{_datadir}/khotkeys/konsole.khotkeys |
5ac51d13 | 101 | #%%{_datadir}/kxmlgui5/konsole |