SHA256
1
0
forked from pool/cantor

KDE release gear 24.08.1

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/cantor?expand=0&rev=222
This commit is contained in:
Christophe Marin 2024-09-12 11:39:46 +00:00 committed by Git OBS Bridge
commit ff8175dd96
11 changed files with 3637 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
applications.keyring Normal file

Binary file not shown.

3
cantor-24.05.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41fb9b47ab194d393e4ff33f3afba24267b409f30801c09934f05c52e7ba533f
size 9196572

16
cantor-24.05.2.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDmOEACgkQu0YzUNbv
Me+MAA/+P/lGQQuGsXND3+sUYKp8HfDzU+xQMouPTcE8PWCYgntljhpt2NekNhF0
OnpNXNSLWt3bVhabW25jync+PKawm/GFWNBhIAIJ2r1jE7LmD/4B5TyHf3W6RjHV
XOIbAgG38lz6SCTFc2xiZ2lT2cuorLfGl6WR05kLYzTQ+QNffSW9XxMZH01cStIX
1BYSCoEOm3CDhJG2jphmAvNR2oKymvizFusjLaPHRESPx3voxiG1TK/ljh3njNJH
gGo7Qhxl9XEe25PvsifXkRutfEhB1a9Z/QujCYTwZUxWYMXNvpQT4+nugmCUyEzH
2vWx88/4CmWFCRJQfPwoZjJhnGlG/Sjke6i3D9OpEK3LbcL29fS2FCcUcMmlPXax
45ybEtBNJGjgdPKJEUXCTVm8slCUU2nR0SmrX+ywXYzfHynebsScvbe3VqZpesly
jGfKKuhAcp7JD4EKEMNDT1KP1Xp0e7M6JTQ7oHtK/bkoU/kmisXGQZHjDwGvGJjk
OO4PgblLNoh5jljfr32pfVErVT3gs9pgEzGPRDrd3V3YeHFtyH+SXfDoiPiK6hpM
eeQIBVnY+QF2nPqv1+mbxDLIl9bQ7qvjIF9BW6jfgHrNRXv4RQZMTtRyOq3O+0Mw
nvDK924uWWRGZxOnmHoNSYvLZuae/1XpSWNR3CRu9ekCLNJMtzc=
=9WEo
-----END PGP SIGNATURE-----

3
cantor-24.08.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5292977d1a96e30d62011532aa642d3071b751f3c9656371401e0ee8d9e7092f
size 10846196

16
cantor-24.08.0.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+3LcACgkQu0YzUNbv
Me/vTQ//X2p/iNOU2ZUs/Ggur3cjM7RdC7edO3AEyMo12mBo9z/qtf1UrJFr6EMh
iNm2omYpeCJCW6ch5FRmDV+h8ow+kny8NLbfBBcHEfTk1s+jjP/sndeSdNLtqnYz
qcTqtGMoJ6H4RmO8VJLKAlpD6ydJbV9zqDImjo9cP7B/V9eTXVNrngf5vnC0/f2m
uaQhNhKr7t9UXbs+SAif40ARMk2JxX1oEar6hIAu5GBJVXGQsq/p36WAj2b/MR1L
5o4KEopF9CQMOgpAyDIlEkAsukOLxjPLQ+16E33Z+Uy2q/cB6juBupjY040jd2rl
dJ1XhDzjSFUpyO0BmCeCR2AMy0FN9T/aWqo6rvONlWLFffDM8tos8nGfXhxPBSMj
iZJPpHFF4IW2k1ZZKOasW5QYBeHiL4dLIP4o2/9s+p0YrQCr9anXR16Yp1y++ZPf
ixD2J6kUTXgz59VDCZTeRYRwJ/Ez+bjIPYIR/ovwF4b7QzO3iDMZL35aOkU8vb3K
LnAeDNhcwwVXnBEym5Icd/ms7erCaAJ69vJ7mJyTOm+tMH6PDDuzRYHMSxvziJ6+
0vXHGNQMfbko0ixIaJ8aZOAVFnRAfTf6K8u646zbYE3rCKk6wQGK5TAs+8lou5su
nkXlClCm5BJU1tHaozTnGE/0H/5owglHkHYfdlhbv3c5023WYMs=
=w5gU
-----END PGP SIGNATURE-----

3
cantor-24.08.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18e4ae0412c50e06cd5f665072aa9a32281e2e8315eed8cd2aceb6e2334cf17a
size 10847628

16
cantor-24.08.1.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmbf+NgACgkQu0YzUNbv
Me9o0g//afs+VRB6jNudNBeh6sBQslhANnUZ1FXprjnEeTouuQJKPwka9bwM7zzA
AjnH0+3AomCcLXV4QzlKj/xryZg2fYrkIMJ6nWe6MSRR7zBy6jp3M/mhJJVB3T7R
W25XUHDQk+sjpezWshAx9/eobX0h9XtFNVFMQExmlLQqsr14V2v0sJt8s8442iSC
H2AFFWY7wik8Zb11GDa/4iIipvgJ9a+80WbEJ/rTpUB3qvFd8LMtpT3n4Pxthfme
zMp5G4L3D+Hj8ocyCz0R/Dn64LG2Ly+Af9oDfCy+YrUFWVfoqhOHYat4Ft/zeyIf
l4lr5UN4Bhtt+/E3U4kWj+7UaCYTRXQsrtRBusQDu7ubhm3EYR68xs8XNoAaXyWT
yqndn+U0ZGm0vTORuvX1UL3VPIwfPLQ4QytK8fnxG2hncCZ1xrg6FB5wEYMfe0ri
gQHgANO3NEu6kIQxNafN2xZFdS+NqHs1kEkoaVIwNnQi5+vrgvNAMKVAvl52DsHc
DnJbqX6MGLqV2pHyOvS47vVRWDnkOtzjHgPs+uuudE0TZKTKVtuZJL6sQ2cfIp3t
vazEMNVc3TXo+5R4hpktrDEUkpNVaP5txIO+kNLmK1kB/Fe2GSk89yO4J2o+hOxR
0icl0fT35f0uzNRR1hGljY+cleRhwdFh9b3W4bSrWZMA2y8O7mY=
=wn5V
-----END PGP SIGNATURE-----

3344
cantor.changes Normal file

File diff suppressed because it is too large Load Diff

212
cantor.spec Normal file
View File

@ -0,0 +1,212 @@
#
# spec file for package cantor
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global libMAJOR 28
# TODO Reenable when cantor is ported to KF6/Qt6
%bcond_with analitza
%bcond_without released
Name: cantor
Version: 24.08.1
Release: 0
Summary: Worksheet GUI for mathematical software
License: GPL-2.0-or-later
URL: https://apps.kde.org/cantor
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: R-base
BuildRequires: R-base-devel
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: gcc-fortran
BuildRequires: help2man
BuildRequires: libpoppler-qt5-devel
BuildRequires: libspectre-devel
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: shared-mime-info
%if %{with analitza}
BuildRequires: cmake(Analitza5)
%endif
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5KDELibs4Support)
BuildRequires: cmake(KF5NewStuff)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5Pty)
BuildRequires: cmake(KF5SyntaxHighlighting)
BuildRequires: cmake(KF5TextEditor)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Help)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5WebEngine)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(Qt5XmlPatterns)
BuildRequires: pkgconfig(libqalculate)
BuildRequires: pkgconfig(luajit)
Recommends: maxima
Recommends: octave
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
# Only build on archs where Qt5WebEngine is available
ExcludeArch: ppc ppc64 ppc64le s390 s390x
%description
A frontend to several existing mathematical software such as R, Sage
and Maxima: Cantor. Cantor offers a worksheet as a nice GUI for all
those backends and is not targeted to kids but to scientists.
%package devel
Summary: Worksheet GUI for mathematical software
Requires: libcantorlibs%{libMAJOR} = %{version}
Requires: libpoppler-qt5-devel
Requires: libspectre-devel
Requires: cmake(KF5Archive)
Requires: cmake(KF5Completion)
Requires: cmake(KF5Config)
Requires: cmake(KF5I18n)
Requires: cmake(KF5IconThemes)
Requires: cmake(KF5KIO)
Requires: cmake(KF5XmlGui)
Requires: cmake(Qt5Svg)
Requires: cmake(Qt5Xml)
%description devel
A frontend to several existing mathematical software such as R, Sage
and Maxima: Cantor. Cantor offers a worksheet as a nice GUI for all
those backends and is not targeted to kids but to scientists.
%package -n libcantorlibs%{libMAJOR}
Summary: Shared libraries for Cantor
%description -n libcantorlibs%{libMAJOR}
Shared libraries for package cantor.
%lang_package
%prep
%autosetup -p1
mkdir .doc
cd src/backends
for d in *
do ! ln -T "${d}/DESIGN" "../../.doc/${d}"
done
%build
export RPM_OPT_FLAGS="%{optflags}"
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
# Julia uses <> instead of "" in some files, so it has to be a system include
# export RPM_OPT_FLAGS="%{optflags} -isystem %{_includedir}/julia -isystem $PWD/src/lib/test -isystem %{_includedir}/qt5/QtTest"
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}
%ldconfig_scriptlets -n libcantorlibs%{libMAJOR}
%files devel
%dir %{_kf5_cmakedir}/Cantor
%{_kf5_cmakedir}/Cantor/CantorConfig.cmake
%{_kf5_cmakedir}/Cantor/CantorConfigVersion.cmake
%{_kf5_cmakedir}/Cantor/CantorTargets-none.cmake
%{_kf5_cmakedir}/Cantor/CantorTargets.cmake
%{_kf5_libdir}/libcantorlibs.so
%{_kf5_prefix}/include/cantor/
%files
%doc README.md DESIGN .doc/*
%{_kf5_knsrcfilesdir}/*.knsrc
%doc %lang(en) %{_kf5_htmldir}/en/*/
%{_kf5_applicationsdir}/org.kde.cantor.desktop
%{_kf5_appstreamdir}/org.kde.cantor.appdata.xml
%{_kf5_bindir}/cantor
%{_kf5_bindir}/cantor_pythonserver
%{_kf5_bindir}/cantor_rserver
%{_kf5_bindir}/cantor_scripteditor
%{_kf5_configkcfgdir}/*backend.kcfg
%{_kf5_configkcfgdir}/cantor.kcfg
%{_kf5_configkcfgdir}/cantor_libs.kcfg
%{_kf5_configkcfgdir}/rserver.kcfg
%{_kf5_configkcfgdir}/octavebackend.kcfg.in
%{_kf5_iconsdir}/hicolor/*/apps/*
%{_kf5_libdir}/libcantor_config.so
%{_kf5_libdir}/cantor_pythonbackend.so
%dir %{_kf5_plugindir}/cantor
%dir %{_kf5_plugindir}/cantor/assistants
%{_kf5_plugindir}/cantor/assistants/cantor_advancedplotassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_creatematrixassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_differentiateassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_eigenvaluesassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_eigenvectorsassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_importpackageassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_integrateassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_invertmatrixassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_plot2dassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_plot3dassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_runscriptassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_solveassistant.so
%{_kf5_plugindir}/cantor/assistants/cantor_qalculateplotassistant.so
%dir %{_kf5_plugindir}/cantor/backends
%if %{with analitza}
%{_kf5_plugindir}/cantor/backends/cantor_kalgebrabackend.so
%endif
%{_kf5_plugindir}/cantor/backends/cantor_maximabackend.so
%{_kf5_plugindir}/cantor/backends/cantor_octavebackend.so
%{_kf5_plugindir}/cantor/backends/cantor_pythonbackend.so
%{_kf5_plugindir}/cantor/backends/cantor_rbackend.so
%{_kf5_plugindir}/cantor/backends/cantor_sagebackend.so
%{_kf5_plugindir}/cantor/backends/cantor_scilabbackend.so
%{_kf5_plugindir}/cantor/backends/cantor_qalculatebackend.so
%{_kf5_plugindir}/cantor/backends/cantor_luabackend.so
%dir %{_kf5_plugindir}/cantor/panels
%{_kf5_plugindir}/cantor/panels/cantor_helppanelplugin.so
%{_kf5_plugindir}/cantor/panels/cantor_variablemanagerplugin.so
%{_kf5_plugindir}/cantor/panels/cantor_filebrowserpanelplugin.so
%{_kf5_plugindir}/cantor/panels/cantor_tocpanelplugin.so
%{_kf5_plugindir}/cantor/panels/cantor_documentationpanelplugin.so
%dir %{_kf5_plugindir}/kf5
%dir %{_kf5_plugindir}/kf5/parts
%{_kf5_plugindir}/kf5/parts/cantorpart.so
%{_kf5_sharedir}/cantor/
%{_kf5_sharedir}/mime/packages/cantor.xml
%files -n libcantorlibs%{libMAJOR}
%license LICENSES/*
%{_kf5_libdir}/libcantorlibs.so.*
%files lang -f %{name}.lang
%changelog