From c791fc70cd875b2e364fc90960ac4a6a27721cf1 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:07:11 +0100 Subject: [PATCH] automatic version update by autodist [release 20.04.0-1mamba;Sat Apr 25 2020] --- cantor-20.04.0-luajit-5.1.patch | 11 +++++++++++ cantor.spec | 21 ++++++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 cantor-20.04.0-luajit-5.1.patch diff --git a/cantor-20.04.0-luajit-5.1.patch b/cantor-20.04.0-luajit-5.1.patch new file mode 100644 index 0000000..fb741aa --- /dev/null +++ b/cantor-20.04.0-luajit-5.1.patch @@ -0,0 +1,11 @@ +--- cantor-20.04.0/src/backends/lua/CMakeLists.txt.orig 2020-04-25 14:50:29.066000000 +0200 ++++ cantor-20.04.0/src/backends/lua/CMakeLists.txt 2020-04-25 14:49:59.745000000 +0200 +@@ -18,7 +18,7 @@ + + include_directories(${LUAJIT_INCLUDE_DIR}) + +-target_link_libraries(cantor_luabackend ${LUAJIT_LIBRARY} KF5::SyntaxHighlighting) ++target_link_libraries(cantor_luabackend ${LUAJIT_LIBRARY} KF5::SyntaxHighlighting dl) + + if(BUILD_TESTING) + add_executable( testlua testlua.cpp) diff --git a/cantor.spec b/cantor.spec index 17cbb18..272afe8 100644 --- a/cantor.spec +++ b/cantor.spec @@ -1,5 +1,5 @@ Name: cantor -Version: 19.12.3 +Version: 20.04.0 Release: 1mamba Summary: KDE Frontend to Mathematical Software Group: Graphical Desktop/Applications/Educational @@ -8,12 +8,13 @@ Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org Source: http://download.kde.org/stable/release-service/%{version}/src/cantor-%{version}.tar.xz +Patch0: cantor-20.04.0-luajit-5.1.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: R -BuildRequires: cln-devel BuildRequires: gcc-fortran BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libanalitza-devel BuildRequires: libattica5-devel BuildRequires: libgcc @@ -38,17 +39,21 @@ BuildRequires: libkservice-devel BuildRequires: libktexteditor-devel BuildRequires: libktextwidgets-devel BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel BuildRequires: libkxmlgui-devel -BuildRequires: libpython27-devel -BuildRequires: libpython3-devel +BuildRequires: libpoppler-devel +BuildRequires: libpoppler-qt5-devel +BuildRequires: libpython33 BuildRequires: libqalculate-devel BuildRequires: libqt5-devel BuildRequires: libsolid-devel BuildRequires: libsonnet-devel BuildRequires: libspectre-devel BuildRequires: libstdc++6-devel +BuildRequires: libsyntax-highlighting-devel ## AUTOBUILDREQ-END BuildRequires: libqalculate-devel >= 2.6.2-1mamba +BuildRequires: libluajit-devel BuildRequires: cmake BuildRequires: gcc >= 8.1.0 #Requires: kde-workspace @@ -72,8 +77,11 @@ Cantor is a front-end to powerful mathematics and statistics packages. Cantor integrates them into the KDE Platform and provides a nice, worksheet-based, graphical user interface. This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q +%patch0 -p1 %build %cmake_kde5 -d build @@ -118,7 +126,7 @@ exit 0 %{_kde5_kcfgdir}/*.kcfg %{_kde5_libdir}/libcantor_config.so %{_kde5_libdir}/libcantorlibs.so.* -%{_libdir}/libcantor_pythonbackend.so +%{_libdir}/cantor_pythonbackend.so %dir %{_libdir}/qt5/plugins/cantor %{_libdir}/qt5/plugins/cantor/* %{_libdir}/qt5/plugins/libcantorpart.so @@ -155,6 +163,9 @@ exit 0 %{_libdir}/cmake/Cantor/Cantor*.cmake %changelog +* Sat Apr 25 2020 Automatic Build System 20.04.0-1mamba +- automatic version update by autodist + * Sat Mar 07 2020 Automatic Build System 19.12.3-1mamba - automatic version update by autodist