From d63239b6242a90b0e5a66f68e6658e2daac597d1 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 29 Mar 2024 18:03:32 +0100 Subject: [PATCH] automatic version update by autodist [release 24.02.1-1mamba;Fri Mar 22 2024] --- kate-4.10.0-python-2.6.patch | 11 ----- kate.spec | 91 +++++++++++++++++++----------------- 2 files changed, 47 insertions(+), 55 deletions(-) delete mode 100644 kate-4.10.0-python-2.6.patch diff --git a/kate-4.10.0-python-2.6.patch b/kate-4.10.0-python-2.6.patch deleted file mode 100644 index fb62d70..0000000 --- a/kate-4.10.0-python-2.6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kate-4.10.0/kate/plugins/pate/src/engine.cpp.orig 2013-02-16 12:38:38.511115875 +0100 -+++ kate-4.10.0/kate/plugins/pate/src/engine.cpp 2013-02-16 12:37:41.919587402 +0100 -@@ -195,7 +195,7 @@ - bool Pate::Engine::init() - { - kDebug() << "Construct the Python engine for Python" << PY_MAJOR_VERSION << PY_MINOR_VERSION; -- if (0 != PyImport_AppendInittab(Python::PATE_ENGINE, PATE_INIT)) { -+ if (0 != PyImport_AppendInittab((char*)Python::PATE_ENGINE, PATE_INIT)) { - kError() << "Cannot extend inittab"; - return false; - } diff --git a/kate.spec b/kate.spec index 73b7157..db019f4 100644 --- a/kate.spec +++ b/kate.spec @@ -1,5 +1,5 @@ Name: kate -Version: 23.08.5 +Version: 24.02.1 Release: 1mamba Summary: A fast and advanced text editor Group: Graphical Desktop/Applications/Development @@ -7,46 +7,42 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org/ -Source: http://download.kde.org/stable/release-service/%{version}/src/kate-%{version}.tar.xz -Patch0: kate-4.10.0-python-2.6.patch +Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/kate-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libQt5X11Extras-devel BuildRequires: libX11-devel -BuildRequires: libattica5-devel BuildRequires: libgcc -BuildRequires: libkactivities-devel -BuildRequires: libkauth-devel -BuildRequires: libkbookmarks-devel -BuildRequires: libkcodecs-devel -BuildRequires: libkcompletion-devel -BuildRequires: libkconfig-devel -BuildRequires: libkconfigwidgets-devel -BuildRequires: libkcoreaddons-devel -BuildRequires: libkcrash-devel -BuildRequires: libkdbusaddons-devel -BuildRequires: libkguiaddons-devel -BuildRequires: libki18n-devel -BuildRequires: libkiconthemes-devel -BuildRequires: libkio-devel -BuildRequires: libkitemviews-devel -BuildRequires: libkjobwidgets-devel -BuildRequires: libknewstuff-devel -BuildRequires: libkparts-devel -BuildRequires: libkservice-devel -BuildRequires: libktexteditor-devel -BuildRequires: libktextwidgets-devel -BuildRequires: libkuserfeedback-devel -BuildRequires: libkwallet-devel -BuildRequires: libkwidgetsaddons-devel -BuildRequires: libkwindowsystem-devel -BuildRequires: libkxmlgui-devel -BuildRequires: libsolid-devel -BuildRequires: libsonnet-devel +BuildRequires: libglvnd-devel +BuildRequires: libkf6-attica-devel +BuildRequires: libkf6-kbookmarks-devel +BuildRequires: libkf6-kcolorscheme-devel +BuildRequires: libkf6-kcompletion-devel +BuildRequires: libkf6-kconfig-devel +BuildRequires: libkf6-kconfigwidgets-devel +BuildRequires: libkf6-kcoreaddons-devel +BuildRequires: libkf6-kcrash-devel +BuildRequires: libkf6-kdbusaddons-devel +BuildRequires: libkf6-kguiaddons-devel +BuildRequires: libkf6-ki18n-devel +BuildRequires: libkf6-kiconthemes-devel +BuildRequires: libkf6-kio-devel +BuildRequires: libkf6-kitemviews-devel +BuildRequires: libkf6-kjobwidgets-devel +BuildRequires: libkf6-knewstuff-devel +BuildRequires: libkf6-kparts-devel +BuildRequires: libkf6-kservice-devel +BuildRequires: libkf6-ktexteditor-devel +BuildRequires: libkf6-ktextwidgets-devel +BuildRequires: libkf6-kwidgetsaddons-devel +BuildRequires: libkf6-kwindowsystem-devel +BuildRequires: libkf6-kxmlgui-devel +BuildRequires: libkf6-solid-devel +BuildRequires: libkf6-sonnet-devel +BuildRequires: libkf6-syntax-highlighting-devel BuildRequires: libstdc++6-devel -BuildRequires: libsyntax-highlighting-devel -BuildRequires: qt5-qtbase-devel +BuildRequires: libxkbcommon-devel +BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libgit2-devel >= 0.26.0 @@ -62,40 +58,47 @@ A fast and advanced text editor, extensible with nice plugins. %setup -q %build -%cmake_kde5 -d build +%cmake_kf6 + +%cmake_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build +%cmake_install -%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}5_qt.lang +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/kate %{_bindir}/kwrite -%{_libdir}/qt5/plugins/ktexteditor/*.so %{_libdir}/libkateprivate.so.* +%dir %{_kf6_plugindir}/ktexteditor +%{_kf6_plugindir}/ktexteditor/*.so %{_datadir}/metainfo/org.kde.kate.appdata.xml %{_datadir}/metainfo/org.kde.kwrite.appdata.xml %{_datadir}/applications/org.kde.kwrite.desktop %{_datadir}/applications/org.kde.kate.desktop %{_datadir}/kateproject/kateproject.example -%{_datadir}/kconf_update/katesession_migration.upd -%{_datadir}/kconf_update/migrate_kate_sessions_applet_to_kdeplasma-addons.sh +%dir %{_datadir}/katexmltools +%{_datadir}/katexmltools/* %{_datadir}/icons/hicolor/*/apps/kate.png %{_datadir}/icons/hicolor/scalable/apps/kate.svg* %{_datadir}/icons/hicolor/*/apps/kwrite.png %{_datadir}/icons/hicolor/scalable/apps/kwrite.svg -%dir %{_datadir}/katexmltools -%{_datadir}/katexmltools/* %{_mandir}/man1/kate.1* %doc LICENSES %changelog +* Fri Mar 22 2024 Automatic Build System 24.02.1-1mamba +- automatic version update by autodist + +* Thu Mar 07 2024 Automatic Build System 24.02.0-1mamba +- automatic version update by autodist + * Fri Feb 16 2024 Automatic Build System 23.08.5-1mamba - automatic version update by autodist