Package kde5-cantor: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | %define rname cantor %def_enable python2 %def_enable python3 %def_disable luajit %define cantor_sover 28 %define libcantorlibs libcantorlibs%cantor_sover %define cantor_config_sover 0 %define libcantor_config libcantor_config%cantor_config_sover Name: kde5-%rname Version: 20.12.3 Release: alt2 %K5init no_appdata Group: Education Summary: KDE Frontend to Mathematical Software Url: http://www.kde.org License: GPLv2+ / LGPLv2+ Requires: kde5-kalgebra Requires: epstool Source: %rname-%version.tar Patch1: alt-lib-so-ver.patch Patch2: alt-find-luajit.patch Patch3: cantor-20.12.3-alt-octave-backend-default-settings.patch # Automatically added by buildreq on Wed Mar 30 2016 (-bi) # optimized out: cmake cmake-modules docbook-dtds docbook-style-xsl elfutils fontconfig gcc-c++ gtk-update-icon-cache kf5-attica-devel kf5-kdoctools kf5-kdoctools-devel libEGL-devel libGL-devel libgpg-error libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-printsupport libqt5-script libqt5-svg libqt5-test libqt5-widgets libqt5-x11extras libqt5-xml libqt5-xmlpatterns libstdc++-devel libxcbutil-keysyms pkg-config python-base python-devel python-modules python3 python3-base qt5-base-devel rpm-build-python3 ruby ruby-stdlibs xml-common xml-utils #BuildRequires: extra-cmake-modules kde5-analitza-devel kf5-karchive-devel kf5-kauth-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kconfig-devel kf5-kconfigwidgets-devel kf5-kcoreaddons-devel kf5-kcrash-devel kf5-kdelibs4support kf5-kdoctools-devel-static kf5-ki18n-devel kf5-kiconthemes-devel kf5-kio-devel kf5-kitemviews-devel kf5-kjobwidgets-devel kf5-knewstuff-devel kf5-kparts-devel kf5-kpty-devel kf5-kservice-devel kf5-ktexteditor-devel kf5-ktextwidgets-devel kf5-kwidgetsaddons-devel kf5-kxmlgui-devel kf5-solid-devel kf5-sonnet-devel libcln-devel liblua5-devel libluajit-devel libspectre-devel python-module-google python3-dev qt5-svg-devel qt5-xmlpatterns-devel rpm-build-ruby BuildRequires(pre): rpm-build-kf5 rpm-build-ubt BuildRequires: extra-cmake-modules qt5-svg-devel qt5-xmlpatterns-devel BuildRequires: libcln-devel libspectre-devel libdiscount-devel libpoppler-qt5-devel %{?_enable_python2:BuildRequires: python-devel} %{?_enable_python3:BuildRequires: python3-devel} %{?_enable_luajit:BuildRequires: liblua5-devel libluajit-devel} BuildRequires: kde5-analitza-devel BuildRequires: kf5-karchive-devel kf5-kauth-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kconfig-devel BuildRequires: kf5-kconfigwidgets-devel kf5-kcoreaddons-devel kf5-kcrash-devel kf5-kdelibs4support kf5-kdoctools-devel-static BuildRequires: kf5-ki18n-devel kf5-kiconthemes-devel kf5-kio-devel kf5-kitemviews-devel kf5-kjobwidgets-devel BuildRequires: kf5-knewstuff-devel kf5-kparts-devel kf5-kpty-devel kf5-kservice-devel kf5-ktexteditor-devel BuildRequires: kf5-ktextwidgets-devel kf5-kwidgetsaddons-devel kf5-kxmlgui-devel kf5-solid-devel kf5-sonnet-devel BuildRequires: kf5-syntax-highlighting-devel %description 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. It supports environments for KAlgebra, Lua, Maxima, R, Sage, Octave, Python, Scilab, and Qalculate! %package common Summary: %name common package Group: System/Configuration/Other BuildArch: noarch Requires: kf5-filesystem %description common %name common package %package devel Group: Development/KDE and QT Summary: Development files for %name %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package -n %libcantorlibs Group: System/Libraries Summary: KF5 library Requires: %name-common = %version-%release %description -n %libcantorlibs KF5 library %package -n %libcantor_config Group: System/Libraries Summary: KF5 library Requires: %name-common = %version-%release %description -n %libcantor_config KF5 library %prep %setup -n %rname-%version %patch1 -p1 %patch2 -p1 %patch3 -p2 #LUA_BASE_VER=`echo "%{get_version libluajit-devel}" | sed -E 's|^([[:digit:]]+\.[[:digit:]]).*|\1|'` #pushd src/backends/lua #for f in *.{h,cpp} ; do # sed -i "s|luajit-2.0/lua.hpp|luajit-${LUA_BASE_VER}/lua.hpp|" $f #done #popd %build %K5build \ -DKDE_INSTALL_INCLUDEDIR=%_K5inc \ # %install %K5install %K5install_move data cantor knsrcfiles %find_lang %name --with-kde --all-name %files common -f %name.lang %doc COPYING* %files %_K5bin/cantor* %_K5lib/cantor_pythonbackend.so %_K5plug/libcantorpart.so %_K5plug/cantor/ %_K5data/cantor/ %_K5cfg/*.kcfg %_K5xdgapp/org.kde.cantor.desktop %_K5icon/*/*/apps/*.* %_K5xmlgui/cantor/ %_K5data/knsrcfiles/*cantor*.knsrc %files devel #%_K5inc/cantor_version.h %_K5inc/cantor/ %_K5link/lib*.so %_libdir/cmake/Cantor/ #%_K5archdata/mkspecs/modules/qt_Cantor.pri %files -n %libcantorlibs %_K5lib/libcantorlibs.so.%cantor_sover %_K5lib/libcantorlibs.so.* %files -n %libcantor_config %_K5lib/libcantor_config.so.%cantor_config_sover %_K5lib/libcantor_config.so.* %changelog * Tue Mar 23 2021 Egor Ignatov <egori@altlinux.org> 20.12.3-alt2 - fix octave backend * Fri Mar 12 2021 Sergey V Turchin <zerg@altlinux.org> 20.12.3-alt1 - new version * Wed Mar 10 2021 Egor Ignatov <egori@altlinux.org> 20.12.2-alt2 - Fix octave backend + Add epstool dependency to prevent crash on plotting + Add patch to use gnuplot graphics toolkit by default * Wed Feb 17 2021 Sergey V Turchin <zerg@altlinux.org> 20.12.2-alt1 - new version * Tue Dec 22 2020 Sergey V Turchin <zerg@altlinux.org> 20.12.0-alt1 - new version * Wed Nov 25 2020 Sergey V Turchin <zerg@altlinux.org> 20.08.3-alt1 - new version * Thu Oct 15 2020 Sergey V Turchin <zerg@altlinux.org> 20.08.2-alt1 - new version * Wed Sep 23 2020 Sergey V Turchin <zerg@altlinux.org> 20.08.1-alt1 - new version * Wed Aug 19 2020 Sergey V Turchin <zerg@altlinux.org> 20.04.3-alt1 - new version * Fri Mar 13 2020 Sergey V Turchin <zerg@altlinux.org> 19.12.3-alt1 - new version * Thu Jan 23 2020 Sergey V Turchin <zerg@altlinux.org> 19.12.1-alt1 - new version * Wed Nov 27 2019 Sergey V Turchin <zerg@altlinux.org> 19.08.3-alt1 - new version * Mon Oct 28 2019 Sergey V Turchin <zerg@altlinux.org> 19.08.2-alt1 - new version * Tue Sep 10 2019 Sergey V Turchin <zerg@altlinux.org> 19.08.1-alt1 - new version * Thu Aug 29 2019 Sergey V Turchin <zerg@altlinux.org> 19.08.0-alt1 - new version * Fri Jul 19 2019 Sergey V Turchin <zerg@altlinux.org> 19.04.3-alt1 - new version * Thu Jun 06 2019 Sergey V Turchin <zerg@altlinux.org> 19.04.1-alt1 - new version * Wed May 08 2019 Sergey V Turchin <zerg@altlinux.org> 19.04.0-alt1 - new version * Thu Mar 21 2019 Sergey V Turchin <zerg@altlinux.org> 18.12.3-alt1 - new version * Thu Feb 28 2019 Sergey V Turchin <zerg@altlinux.org> 18.12.2-alt1 - new version * Thu Jul 26 2018 Sergey V Turchin <zerg@altlinux.org> 18.04.3-alt1%ubt - new version * Thu Jul 05 2018 Sergey V Turchin <zerg@altlinux.org> 18.04.2-alt1%ubt - new version * Fri May 25 2018 Sergey V Turchin <zerg@altlinux.org> 18.04.1-alt1%ubt - new version * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 17.12.3-alt1%ubt.1 - (NMU) Rebuilt with python-3.6.4. * Tue Mar 13 2018 Sergey V Turchin <zerg@altlinux.org> 17.12.3-alt1%ubt - new version * Tue Nov 14 2017 Sergey V Turchin <zerg@altlinux.org> 17.08.3-alt1%ubt - new version * Fri Jul 14 2017 Sergey V Turchin <zerg@altlinux.org> 17.04.3-alt1%ubt - new version * Thu Jun 15 2017 Sergey V Turchin <zerg@altlinux.org> 17.04.2-alt1%ubt - new version * Wed Jun 07 2017 Sergey V Turchin <zerg@altlinux.org> 17.04.1-alt1%ubt - new version - don't build lua backend * Thu Apr 13 2017 Sergey V Turchin <zerg@altlinux.org> 16.12.3-alt2%ubt - fix to build with luajit-2.0 * Thu Apr 06 2017 Sergey V Turchin <zerg@altlinux.org> 16.12.3-alt1%ubt - new version * Thu Sep 22 2016 Sergey V Turchin <zerg@altlinux.org> 16.08.1-alt1 - new version * Mon Jul 04 2016 Sergey V Turchin <zerg@altlinux.org> 16.04.2-alt1 - new version * Thu May 12 2016 Sergey V Turchin <zerg@altlinux.org> 16.04.1-alt1 - new version * Sun Apr 03 2016 Ivan Zakharyaschev <imz@altlinux.org> 15.12.2-alt1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Mar 17 2016 Sergey V Turchin <zerg@altlinux.org> 15.12.2-alt1 - initial build |