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 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | %define rname cantor %def_disable python2 %def_enable python3 %def_disable luajit %ifarch %qt5_qtwebengine_arches %def_enable qtwebengine %else %def_disable qtwebengine %endif %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: 23.08.5 Release: alt1 %K5init Group: Education Summary: KDE Frontend to Mathematical Software Url: http://www.kde.org License: GPL-2.0-or-later or GPL-3.0-only %if_enabled qtwebengine Requires: kde5-kalgebra Requires: epstool %endif Source: %rname-%version.tar Patch1: alt-lib-so-ver.patch Patch2: alt-find-luajit.patch Patch3: fix-incorrect-removal-tabs.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 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-macros-qt5-webengine BuildRequires: extra-cmake-modules qt5-svg-devel qt5-xmlpatterns-devel qt5-tools-devel %if_enabled qtwebengine BuildRequires: qt5-webengine-devel %endif 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 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 >= %EVR %description -n %libcantorlibs KF5 library %package -n %libcantor_config Group: System/Libraries Summary: KF5 library Requires: %name-common >= %EVR %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 %if_enabled qtwebengine %K5build \ -DKDE_INSTALL_INCLUDEDIR=%_K5inc \ # %endif %install %if_enabled qtwebengine %K5install %K5install_move data cantor knsrcfiles mv %buildroot/%_K5xdgmime/cantor{,-kde5}.xml %find_lang %name --with-kde --all-name %else mkdir -p %buildroot %endif %files %if_enabled qtwebengine %_K5bin/cantor* %_K5lib/cantor_pythonbackend.so %_K5plug/kf5/parts/*cantor*.so %_K5plug/cantor/ %_K5data/cantor/ %_K5cfg/*.kcfg %_K5xdgapp/org.kde.cantor.desktop %_K5icon/*/*/apps/*.* %_K5xmlgui/cantor/ %_K5data/knsrcfiles/*cantor*.knsrc %_K5xdgmime/*cantor*.xml %_datadir/metainfo/*.xml %endif %if_enabled qtwebengine %files common -f %name.lang %doc LICENSES/* %files devel %_K5inc/cantor/ %_K5link/lib*.so %_libdir/cmake/Cantor/ %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.* %endif %changelog * Tue Feb 20 2024 Sergey V Turchin <zerg@altlinux.org> 23.08.5-alt1 - new version * Tue Jan 30 2024 Dmitrii Fomchenkov <sirius@altlinux.org> 23.08.4-alt2 - fix incorrect deletion of menu items (ALT #48950) * Tue Dec 12 2023 Sergey V Turchin <zerg@altlinux.org> 23.08.4-alt1 - new version * Mon Nov 27 2023 Sergey V Turchin <zerg@altlinux.org> 23.08.3-alt2 - using rpm-macros-qt5-webengine * Fri Nov 10 2023 Sergey V Turchin <zerg@altlinux.org> 23.08.3-alt1 - new version * Thu Oct 19 2023 Sergey V Turchin <zerg@altlinux.org> 23.08.2-alt1 - new version * Fri Jul 14 2023 Sergey V Turchin <zerg@altlinux.org> 23.04.3-alt1 - new version * Tue Jun 13 2023 Sergey V Turchin <zerg@altlinux.org> 23.04.2-alt1 - new version * Mon Mar 06 2023 Sergey V Turchin <zerg@altlinux.org> 22.12.3-alt1 - new version * Fri Feb 03 2023 Sergey V Turchin <zerg@altlinux.org> 22.12.2-alt1 - new version * Thu Jan 19 2023 Sergey V Turchin <zerg@altlinux.org> 22.12.1-alt1 - new version * Mon Nov 07 2022 Sergey V Turchin <zerg@altlinux.org> 22.08.3-alt1 - new version * Tue Oct 18 2022 Sergey V Turchin <zerg@altlinux.org> 22.08.2-alt1 - new version * Wed Sep 21 2022 Sergey V Turchin <zerg@altlinux.org> 22.08.1-alt1 - new version * Tue Jul 12 2022 Sergey V Turchin <zerg@altlinux.org> 22.04.3-alt1 - new version * Fri Jun 10 2022 Sergey V Turchin <zerg@altlinux.org> 22.04.2-alt1 - new version * Mon May 23 2022 Sergey V Turchin <zerg@altlinux.org> 22.04.1-alt1 - new version * Sat Mar 05 2022 Sergey V Turchin <zerg@altlinux.org> 21.12.3-alt1 - new version * Tue Feb 01 2022 Sergey V Turchin <zerg@altlinux.org> 21.12.1-alt2 - build empty package on e2k and ppc64le * Tue Jan 18 2022 Sergey V Turchin <zerg@altlinux.org> 21.12.1-alt1 - new version * Mon Nov 08 2021 Sergey V Turchin <zerg@altlinux.org> 21.08.3-alt1 - new version * Fri Oct 08 2021 Sergey V Turchin <zerg@altlinux.org> 21.08.2-alt1 - new version * Mon Sep 06 2021 Sergey V Turchin <zerg@altlinux.org> 21.08.1-alt1 - new version * Fri Aug 27 2021 Sergey V Turchin <zerg@altlinux.org> 21.08.0-alt1 - new version * Fri Jul 09 2021 Sergey V Turchin <zerg@altlinux.org> 21.04.3-alt1 - new version * Tue May 25 2021 Sergey V Turchin <zerg@altlinux.org> 21.04.1-alt1 - new version * 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 - new version * Thu Jul 05 2018 Sergey V Turchin <zerg@altlinux.org> 18.04.2-alt1 - new version * Fri May 25 2018 Sergey V Turchin <zerg@altlinux.org> 18.04.1-alt1 - new version * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 17.12.3-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Tue Mar 13 2018 Sergey V Turchin <zerg@altlinux.org> 17.12.3-alt1 - new version * Tue Nov 14 2017 Sergey V Turchin <zerg@altlinux.org> 17.08.3-alt1 - new version * Fri Jul 14 2017 Sergey V Turchin <zerg@altlinux.org> 17.04.3-alt1 - new version * Thu Jun 15 2017 Sergey V Turchin <zerg@altlinux.org> 17.04.2-alt1 - new version * Wed Jun 07 2017 Sergey V Turchin <zerg@altlinux.org> 17.04.1-alt1 - new version - don't build lua backend * Thu Apr 13 2017 Sergey V Turchin <zerg@altlinux.org> 16.12.3-alt2 - fix to build with luajit-2.0 * Thu Apr 06 2017 Sergey V Turchin <zerg@altlinux.org> 16.12.3-alt1 - 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 |