]> git.pld-linux.org Git - packages/ka5-konsole.git/blame - ka5-konsole.spec
- updated to 23.08.5
[packages/ka5-konsole.git] / ka5-konsole.spec
CommitLineData
0922577f
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
ce57a0ea 4%define kdeappsver 23.08.5
437fe48a 5%define qtver 5.15.2
a732aee9 6%define kf5ver 5.71.0
47ae1674
AM
7%define kaname konsole
8Summary: KDE Terminal Emulator
9Name: ka5-%{kaname}
ce57a0ea 10Version: 23.08.5
c30c1cf6 11Release: 1
47ae1674
AM
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
c30c1cf6 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
ce57a0ea 15# Source0-md5: 7c7297f44101d0765c9d843fc99a44d6
47ae1674 16URL: http://www.kde.org/
c30c1cf6
WF
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5DBus-devel >= %{qtver}
19BuildRequires: Qt5PrintSupport-devel >= %{qtver}
20BuildRequires: Qt5Widgets-devel >= %{qtver}
3bcd7900 21BuildRequires: cmake >= 3.20
c30c1cf6
WF
22BuildRequires: kf5-extra-cmake-modules >= %{kf5ver}
23BuildRequires: kf5-kbookmarks-devel >= %{kf5ver}
24BuildRequires: kf5-kconfig-devel >= %{kf5ver}
25BuildRequires: kf5-kconfigwidgets-devel >= %{kf5ver}
26BuildRequires: kf5-kcoreaddons-devel >= %{kf5ver}
27BuildRequires: kf5-kcrash-devel >= %{kf5ver}
28BuildRequires: kf5-kdbusaddons-devel >= %{kf5ver}
29BuildRequires: kf5-kdoctools-devel >= %{kf5ver}
30BuildRequires: kf5-kglobalaccel-devel >= %{kf5ver}
31BuildRequires: kf5-kguiaddons-devel >= %{kf5ver}
32BuildRequires: kf5-ki18n-devel >= %{kf5ver}
33BuildRequires: kf5-kiconthemes-devel >= %{kf5ver}
34BuildRequires: kf5-kio-devel >= %{kf5ver}
35BuildRequires: kf5-knewstuff-devel >= %{kf5ver}
36BuildRequires: kf5-knotifications-devel >= %{kf5ver}
37BuildRequires: kf5-knotifyconfig-devel >= %{kf5ver}
38BuildRequires: kf5-kparts-devel >= %{kf5ver}
39BuildRequires: kf5-kpty-devel >= %{kf5ver}
40BuildRequires: kf5-kservice-devel >= %{kf5ver}
41BuildRequires: kf5-ktextwidgets-devel >= %{kf5ver}
42BuildRequires: kf5-kwidgetsaddons-devel >= %{kf5ver}
43BuildRequires: kf5-kwindowsystem-devel >= %{kf5ver}
44BuildRequires: kf5-kxmlgui-devel >= %{kf5ver}
a732aee9 45BuildRequires: libstdc++-devel >= 6:8
7eced89c 46BuildRequires: ninja
c30c1cf6 47BuildRequires: qt5-build >= %{qtver}
d732b2c7 48BuildRequires: rpmbuild(macros) >= 1.736
47ae1674 49BuildRequires: tar >= 1:1.22
4a8dfcaf 50BuildRequires: xorg-lib-libX11-devel
47ae1674 51BuildRequires: xz
c30c1cf6
WF
52Requires: Qt5Core >= %{qtver}
53Requires: Qt5DBus >= %{qtver}
54Requires: Qt5PrintSupport >= %{qtver}
55Requires: Qt5Widgets >= %{qtver}
56Requires: kf5-kbookmarks >= %{kf5ver}
57Requires: kf5-kconfig >= %{kf5ver}
58Requires: kf5-kconfigwidgets >= %{kf5ver}
59Requires: kf5-kcoreaddons >= %{kf5ver}
60Requires: kf5-kcrash >= %{kf5ver}
61Requires: kf5-kdbusaddons >= %{kf5ver}
62Requires: kf5-kglobalaccel >= %{kf5ver}
63Requires: kf5-kguiaddons >= %{kf5ver}
64Requires: kf5-ki18n >= %{kf5ver}
65Requires: kf5-kiconthemes >= %{kf5ver}
66Requires: kf5-kio >= %{kf5ver}
67Requires: kf5-knewstuff >= %{kf5ver}
68Requires: kf5-knotifications >= %{kf5ver}
69Requires: kf5-knotifyconfig >= %{kf5ver}
70Requires: kf5-kparts >= %{kf5ver}
71Requires: kf5-kpty >= %{kf5ver}
72Requires: kf5-kservice >= %{kf5ver}
73Requires: kf5-ktextwidgets >= %{kf5ver}
74Requires: kf5-kwidgetsaddons >= %{kf5ver}
75Requires: kf5-kwindowsystem >= %{kf5ver}
76Requires: kf5-kxmlgui >= %{kf5ver}
47ae1674
AM
77BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
78
79%description
f40c6f09
WF
80Konsole is a terminal emulator.
81
82Features
83
d8de92f7
WF
84• Tabs • Multiple profiles • Silence and Activity monitoring •
85Bookmark support • Searching • Saving output
47ae1674 86
997f3031
WF
87%description -l pl.UTF-8
88Konsole jest emulatorem terminala.
89
90Cechy
91
c30c1cf6
WF
92• Karty • Wiele profili • Monitoring ciszy i aktywności •
93Zakładki • Szukanie • Zapisywanie danych wyjściowych
997f3031 94
47ae1674
AM
95%prep
96%setup -q -n %{kaname}-%{version}
97
98%build
47ae1674 99%cmake \
3bcd7900 100 -B build \
7eced89c 101 -G Ninja \
0922577f 102 %{!?with_tests:-DBUILD_TESTING=OFF} \
fae40e66 103 -DHTML_INSTALL_DIR=%{_kdedocdir} \
3bcd7900
WF
104 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
105%ninja_build -C build
47ae1674 106
0922577f 107%if %{with tests}
3bcd7900 108ctest --test-dir build
0922577f
WF
109%endif
110
111
47ae1674
AM
112%install
113rm -rf $RPM_BUILD_ROOT
7eced89c 114%ninja_install -C build
47ae1674 115
d8de92f7 116rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
300eabf9
KM
117
118# not supported by glibc yet
119%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
120
5ac51d13 121%find_lang %{kaname} --all-name --with-kde
47ae1674
AM
122
123%clean
124rm -rf $RPM_BUILD_ROOT
125
126%post -p /sbin/ldconfig
127%postun -p /sbin/ldconfig
128
5ac51d13 129%files -f %{kaname}.lang
47ae1674 130%defattr(644,root,root,755)
8d93069b 131/etc/xdg/konsolerc
47ae1674
AM
132%attr(755,root,root) %{_bindir}/konsole
133%attr(755,root,root) %{_bindir}/konsoleprofile
c30c1cf6
WF
134%ghost %{_libdir}/libkonsoleprivate.so.1
135%{_libdir}/libkonsoleprivate.so.*.*.*
136%ghost %{_libdir}/libkonsoleapp.so.1
137%{_libdir}/libkonsoleapp.so.*.*.*
138%attr(755,root,root) %{_libdir}/qt5/plugins/konsolepart.so
139%dir %{_libdir}/qt5/plugins/konsoleplugins
140%attr(755,root,root) %{_libdir}/qt5/plugins/konsoleplugins/konsole_sshmanagerplugin.so
141%{_datadir}/metainfo/org.kde.konsole.appdata.xml
47ae1674 142%{_desktopdir}/org.kde.konsole.desktop
c30c1cf6 143%{_datadir}/knotifications5/konsole.notifyrc
38141b17 144%{_datadir}/konsole
c30c1cf6
WF
145%{_datadir}/kservices5/konsolepart.desktop
146%{_datadir}/kservicetypes5/terminalemulator.desktop
147%{_datadir}/knsrcfiles/konsole.knsrc
148%{_datadir}/qlogging-categories5/konsole.categories
149%attr(755,root,root) %{_libdir}/qt5/plugins/konsoleplugins/konsole_quickcommandsplugin.so
150%{_datadir}/kio/servicemenus/konsolerun.desktop
151%attr(755,root,root)%{_libdir}/kconf_update_bin/konsole_globalaccel
152%attr(755,root,root)%{_libdir}/kconf_update_bin/konsole_show_menubar
153%{_datadir}/kconf_update/konsole.upd
154%attr(755,root,root)%{_datadir}/kconf_update/konsole_add_hamburgermenu_to_toolbar.sh
38141b17 155%{zsh_compdir}/_konsole
c30c1cf6 156%{_datadir}/kglobalaccel/org.kde.konsole.desktop
This page took 0.916769 seconds and 4 git commands to generate.