X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=ka5-konsole.spec;h=bc2afdc121f4b801b902d14d8ab52dbe906a5e7a;hb=HEAD;hp=7eb4b3214291240bcd7f9ecf852fa9285f7ab422;hpb=9a153a112110ab57ae87594c25ca903b9ab59aaa;p=packages%2Fka5-konsole.git diff --git a/ka5-konsole.spec b/ka5-konsole.spec index 7eb4b32..bc2afdc 100644 --- a/ka5-konsole.spec +++ b/ka5-konsole.spec @@ -1,24 +1,24 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeappsver 22.08.1 +%define kdeappsver 23.08.5 %define qtver 5.15.2 %define kf5ver 5.71.0 %define kaname konsole Summary: KDE Terminal Emulator Name: ka5-%{kaname} -Version: 22.08.1 +Version: 23.08.5 Release: 1 License: GPL v2+/LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz -# Source0-md5: 59acbbba63fc7a2c8ee1955639c3f2c7 +# Source0-md5: 7c7297f44101d0765c9d843fc99a44d6 URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5DBus-devel >= %{qtver} BuildRequires: Qt5PrintSupport-devel >= %{qtver} BuildRequires: Qt5Widgets-devel >= %{qtver} -BuildRequires: cmake >= 3.13 +BuildRequires: cmake >= 3.20 BuildRequires: kf5-extra-cmake-modules >= %{kf5ver} BuildRequires: kf5-kbookmarks-devel >= %{kf5ver} BuildRequires: kf5-kconfig-devel >= %{kf5ver} @@ -96,18 +96,16 @@ Zakładki • Szukanie • Zapisywanie danych wyjściowych %setup -q -n %{kaname}-%{version} %build -install -d build -cd build %cmake \ + -B build \ -G Ninja \ %{!?with_tests:-DBUILD_TESTING=OFF} \ -DHTML_INSTALL_DIR=%{_kdedocdir} \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - .. -%ninja_build + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +%ninja_build -C build %if %{with tests} -ctest +ctest --test-dir build %endif @@ -116,6 +114,10 @@ rm -rf $RPM_BUILD_ROOT %ninja_install -C build rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN} + +# not supported by glibc yet +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie + %find_lang %{kaname} --all-name --with-kde %clean @@ -126,7 +128,7 @@ rm -rf $RPM_BUILD_ROOT %files -f %{kaname}.lang %defattr(644,root,root,755) -%defattr(644,root,root,755) +/etc/xdg/konsolerc %attr(755,root,root) %{_bindir}/konsole %attr(755,root,root) %{_bindir}/konsoleprofile %ghost %{_libdir}/libkonsoleprivate.so.1 @@ -144,7 +146,11 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/kservicetypes5/terminalemulator.desktop %{_datadir}/knsrcfiles/konsole.knsrc %{_datadir}/qlogging-categories5/konsole.categories -%attr(755,root,root) %{_libdir}/kconf_update_bin/konsole_globalaccel %attr(755,root,root) %{_libdir}/qt5/plugins/konsoleplugins/konsole_quickcommandsplugin.so -%{_datadir}/kconf_update/konsole_globalaccel.upd %{_datadir}/kio/servicemenus/konsolerun.desktop +%attr(755,root,root)%{_libdir}/kconf_update_bin/konsole_globalaccel +%attr(755,root,root)%{_libdir}/kconf_update_bin/konsole_show_menubar +%{_datadir}/kconf_update/konsole.upd +%attr(755,root,root)%{_datadir}/kconf_update/konsole_add_hamburgermenu_to_toolbar.sh +%{zsh_compdir}/_konsole +%{_datadir}/kglobalaccel/org.kde.konsole.desktop