## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Unset -s on python shebang - ensure that extensions installed with pip # to user locations are seen and properly loaded %undefine _py3_shebang_s Name: jupyterlab Version: 4.1.2 Release: %autorelease Summary: JupyterLab computational environment # JupyterLab itself is BSD-3-Clause and # semver.py file is MIT. # The rest are licenses of bundled JS libs. # To get them, run: # cat third-party-licenses.json | sed -n '/licenseId/s/"licenseId": "\(.*\)",/\1/p' | sort | uniq # in jupyterlab/static. The result is: # # 0BSD # Apache-2.0 # BSD-2-Clause # BSD-3-Clause # (CC-BY-4.0 AND OFL-1.1 AND MIT) # EPL-2.0 # ISC # MIT # (MPL-2.0 OR Apache-2.0) # Unlicense License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND (CC-BY-4.0 AND OFL-1.1 AND MIT) AND EPL-2.0 AND ISC AND (MPL-2.0 OR Apache-2.0) AND MIT AND Unlicense URL: https://jupyter.org Source0: %{pypi_source} # TODO: propose upstream Source1: jupyterlab.metainfo.xml BuildArch: noarch BuildRequires: python3-devel # Needed for tests BuildRequires: nodejs BuildRequires: npm # For validating desktop entry and appdata BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires: python-jupyter-filesystem Requires: hicolor-icon-theme # pip allows to install third-party # extensions into jupyterlab. Recommends: python3-pip %py_provides python3-jupyterlab %py_provides jupyter-lab # Bundled provides # Generated by: # python3 -c "import json; [print(f\"Provides: bundled(npm({p['name']})) = {p['versionInfo']}\") for p in json.load(open(\"third-party-licenses.json\"))[\"packages\"]]" # in jupyterlab/static. Provides: bundled(npm(@babel/runtime)) = 7.21.0 Provides: bundled(npm(@braintree/sanitize-url)) = 6.0.4 Provides: bundled(npm(@codemirror/autocomplete)) = 6.5.1 Provides: bundled(npm(@codemirror/commands)) = 6.2.3 Provides: bundled(npm(@codemirror/lang-cpp)) = 6.0.2 Provides: bundled(npm(@codemirror/lang-css)) = 6.1.1 Provides: bundled(npm(@codemirror/lang-html)) = 6.4.3 Provides: bundled(npm(@codemirror/lang-java)) = 6.0.1 Provides: bundled(npm(@codemirror/lang-javascript)) = 6.1.7 Provides: bundled(npm(@codemirror/lang-json)) = 6.0.1 Provides: bundled(npm(@codemirror/lang-markdown)) = 6.1.1 Provides: bundled(npm(@codemirror/lang-php)) = 6.0.1 Provides: bundled(npm(@codemirror/lang-python)) = 6.1.3 Provides: bundled(npm(@codemirror/lang-rust)) = 6.0.1 Provides: bundled(npm(@codemirror/lang-sql)) = 6.4.1 Provides: bundled(npm(@codemirror/lang-wast)) = 6.0.1 Provides: bundled(npm(@codemirror/lang-xml)) = 6.0.2 Provides: bundled(npm(@codemirror/language)) = 6.8.0 Provides: bundled(npm(@codemirror/legacy-modes)) = 6.3.2 Provides: bundled(npm(@codemirror/search)) = 6.3.0 Provides: bundled(npm(@codemirror/state)) = 6.2.0 Provides: bundled(npm(@codemirror/view)) = 6.9.6 Provides: bundled(npm(@fortawesome/fontawesome-free)) = 5.15.4 Provides: bundled(npm(@jupyter/react-components)) = 0.13.3 Provides: bundled(npm(@jupyter/web-components)) = 0.13.3 Provides: bundled(npm(@jupyter/ydoc)) = 1.1.1 Provides: bundled(npm(@jupyterlab/application)) = 4.1.2 Provides: bundled(npm(@jupyterlab/application-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/apputils)) = 4.2.2 Provides: bundled(npm(@jupyterlab/apputils-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/attachments)) = 4.1.2 Provides: bundled(npm(@jupyterlab/cell-toolbar)) = 4.1.2 Provides: bundled(npm(@jupyterlab/cell-toolbar-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/cells)) = 4.1.2 Provides: bundled(npm(@jupyterlab/celltags-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/codeeditor)) = 4.1.2 Provides: bundled(npm(@jupyterlab/codemirror)) = 4.1.2 Provides: bundled(npm(@jupyterlab/codemirror-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/completer)) = 4.1.2 Provides: bundled(npm(@jupyterlab/completer-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/console)) = 4.1.2 Provides: bundled(npm(@jupyterlab/console-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/coreutils)) = 6.1.2 Provides: bundled(npm(@jupyterlab/csvviewer)) = 4.1.2 Provides: bundled(npm(@jupyterlab/csvviewer-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/debugger)) = 4.1.2 Provides: bundled(npm(@jupyterlab/debugger-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/docmanager)) = 4.1.2 Provides: bundled(npm(@jupyterlab/docmanager-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/docregistry)) = 4.1.2 Provides: bundled(npm(@jupyterlab/documentsearch)) = 4.1.2 Provides: bundled(npm(@jupyterlab/documentsearch-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/extensionmanager)) = 4.1.2 Provides: bundled(npm(@jupyterlab/extensionmanager-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/filebrowser)) = 4.1.2 Provides: bundled(npm(@jupyterlab/filebrowser-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/fileeditor)) = 4.1.2 Provides: bundled(npm(@jupyterlab/fileeditor-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/help-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/htmlviewer)) = 4.1.2 Provides: bundled(npm(@jupyterlab/htmlviewer-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/hub-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/imageviewer)) = 4.1.2 Provides: bundled(npm(@jupyterlab/imageviewer-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/inspector)) = 4.1.2 Provides: bundled(npm(@jupyterlab/inspector-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/javascript-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/json-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/launcher)) = 4.1.2 Provides: bundled(npm(@jupyterlab/launcher-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/logconsole)) = 4.1.2 Provides: bundled(npm(@jupyterlab/logconsole-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/lsp)) = 4.1.2 Provides: bundled(npm(@jupyterlab/lsp-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/mainmenu)) = 4.1.2 Provides: bundled(npm(@jupyterlab/mainmenu-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/markdownviewer)) = 4.1.2 Provides: bundled(npm(@jupyterlab/markdownviewer-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/markedparser-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/mathjax-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/mermaid)) = 4.1.2 Provides: bundled(npm(@jupyterlab/mermaid-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/metadataform)) = 4.1.2 Provides: bundled(npm(@jupyterlab/metadataform-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/nbformat)) = 4.1.2 Provides: bundled(npm(@jupyterlab/notebook)) = 4.1.2 Provides: bundled(npm(@jupyterlab/notebook-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/observables)) = 5.1.2 Provides: bundled(npm(@jupyterlab/outputarea)) = 4.1.2 Provides: bundled(npm(@jupyterlab/pdf-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/pluginmanager)) = 4.1.2 Provides: bundled(npm(@jupyterlab/pluginmanager-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/property-inspector)) = 4.1.2 Provides: bundled(npm(@jupyterlab/rendermime)) = 4.1.2 Provides: bundled(npm(@jupyterlab/rendermime-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/rendermime-interfaces)) = 3.9.2 Provides: bundled(npm(@jupyterlab/running)) = 4.1.2 Provides: bundled(npm(@jupyterlab/running-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/services)) = 7.1.2 Provides: bundled(npm(@jupyterlab/settingeditor)) = 4.1.2 Provides: bundled(npm(@jupyterlab/settingeditor-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/settingregistry)) = 4.1.2 Provides: bundled(npm(@jupyterlab/shortcuts-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/statedb)) = 4.1.2 Provides: bundled(npm(@jupyterlab/statusbar)) = 4.1.2 Provides: bundled(npm(@jupyterlab/statusbar-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/terminal)) = 4.1.2 Provides: bundled(npm(@jupyterlab/terminal-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/theme-dark-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/theme-light-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/toc)) = 6.1.2 Provides: bundled(npm(@jupyterlab/toc-extension)) = 6.1.2 Provides: bundled(npm(@jupyterlab/tooltip)) = 4.1.2 Provides: bundled(npm(@jupyterlab/tooltip-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/translation)) = 4.1.2 Provides: bundled(npm(@jupyterlab/translation-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/ui-components)) = 4.1.2 Provides: bundled(npm(@jupyterlab/ui-components-extension)) = 4.1.2 Provides: bundled(npm(@jupyterlab/vega5-extension)) = 4.1.2 Provides: bundled(npm(@lezer/common)) = 1.0.2 Provides: bundled(npm(@lezer/cpp)) = 1.1.0 Provides: bundled(npm(@lezer/css)) = 1.1.1 Provides: bundled(npm(@lezer/generator)) = 1.2.2 Provides: bundled(npm(@lezer/highlight)) = 1.1.4 Provides: bundled(npm(@lezer/html)) = 1.3.3 Provides: bundled(npm(@lezer/java)) = 1.0.3 Provides: bundled(npm(@lezer/javascript)) = 1.4.1 Provides: bundled(npm(@lezer/json)) = 1.0.0 Provides: bundled(npm(@lezer/lr)) = 1.3.3 Provides: bundled(npm(@lezer/markdown)) = 1.0.2 Provides: bundled(npm(@lezer/php)) = 1.0.1 Provides: bundled(npm(@lezer/python)) = 1.1.7 Provides: bundled(npm(@lezer/rust)) = 1.0.0 Provides: bundled(npm(@lezer/xml)) = 1.0.1 Provides: bundled(npm(@lumino/algorithm)) = 2.0.1 Provides: bundled(npm(@lumino/application)) = 2.3.0 Provides: bundled(npm(@lumino/collections)) = 2.0.1 Provides: bundled(npm(@lumino/commands)) = 2.2.0 Provides: bundled(npm(@lumino/coreutils)) = 2.1.2 Provides: bundled(npm(@lumino/datagrid)) = 2.3.0 Provides: bundled(npm(@lumino/disposable)) = 2.1.2 Provides: bundled(npm(@lumino/domutils)) = 2.0.1 Provides: bundled(npm(@lumino/dragdrop)) = 2.1.4 Provides: bundled(npm(@lumino/keyboard)) = 2.0.1 Provides: bundled(npm(@lumino/messaging)) = 2.0.1 Provides: bundled(npm(@lumino/polling)) = 2.1.2 Provides: bundled(npm(@lumino/properties)) = 2.0.1 Provides: bundled(npm(@lumino/signaling)) = 2.1.2 Provides: bundled(npm(@lumino/virtualdom)) = 2.0.1 Provides: bundled(npm(@lumino/widgets)) = 2.3.1 Provides: bundled(npm(@microsoft/fast-colors)) = 5.3.1 Provides: bundled(npm(@microsoft/fast-components)) = 2.30.6 Provides: bundled(npm(@microsoft/fast-element)) = 1.12.0 Provides: bundled(npm(@microsoft/fast-foundation)) = 2.49.4 Provides: bundled(npm(@microsoft/fast-react-wrapper)) = 0.3.22 Provides: bundled(npm(@microsoft/fast-web-utilities)) = 6.0.0 Provides: bundled(npm(@rjsf/core)) = 5.14.3 Provides: bundled(npm(@rjsf/utils)) = 5.14.3 Provides: bundled(npm(@rjsf/validator-ajv8)) = 5.14.3 Provides: bundled(npm(ajv)) = 8.12.0 Provides: bundled(npm(ajv-formats)) = 2.1.1 Provides: bundled(npm(base16)) = 1.0.0 Provides: bundled(npm(clone)) = 2.1.2 Provides: bundled(npm(clsx)) = 1.2.1 Provides: bundled(npm(color)) = 3.2.1 Provides: bundled(npm(color-convert)) = 1.9.3 Provides: bundled(npm(color-name)) = 1.1.3 Provides: bundled(npm(color-string)) = 1.9.1 Provides: bundled(npm(compute-gcd)) = 1.2.1 Provides: bundled(npm(compute-lcm)) = 1.1.2 Provides: bundled(npm(cose-base)) = 1.0.3 Provides: bundled(npm(crelt)) = 1.0.5 Provides: bundled(npm(css-loader)) = 6.7.3 Provides: bundled(npm(cytoscape)) = 3.26.0 Provides: bundled(npm(cytoscape-cose-bilkent)) = 4.1.0 Provides: bundled(npm(d3)) = 7.8.5 Provides: bundled(npm(d3-array)) = 3.2.2 Provides: bundled(npm(d3-axis)) = 3.0.0 Provides: bundled(npm(d3-brush)) = 3.0.0 Provides: bundled(npm(d3-color)) = 3.1.0 Provides: bundled(npm(d3-delaunay)) = 6.0.4 Provides: bundled(npm(d3-dispatch)) = 3.0.1 Provides: bundled(npm(d3-dsv)) = 3.0.1 Provides: bundled(npm(d3-ease)) = 3.0.1 Provides: bundled(npm(d3-fetch)) = 3.0.1 Provides: bundled(npm(d3-force)) = 3.0.0 Provides: bundled(npm(d3-format)) = 3.1.0 Provides: bundled(npm(d3-geo)) = 3.1.0 Provides: bundled(npm(d3-geo-projection)) = 4.0.0 Provides: bundled(npm(d3-hierarchy)) = 3.1.2 Provides: bundled(npm(d3-interpolate)) = 3.0.1 Provides: bundled(npm(d3-path)) = 1.0.9 Provides: bundled(npm(d3-quadtree)) = 3.0.1 Provides: bundled(npm(d3-sankey)) = 0.12.3 Provides: bundled(npm(d3-scale)) = 4.0.2 Provides: bundled(npm(d3-scale-chromatic)) = 3.0.0 Provides: bundled(npm(d3-selection)) = 3.0.0 Provides: bundled(npm(d3-shape)) = 3.2.0 Provides: bundled(npm(d3-time)) = 3.1.0 Provides: bundled(npm(d3-time-format)) = 4.1.0 Provides: bundled(npm(d3-timer)) = 3.0.1 Provides: bundled(npm(d3-transition)) = 3.0.1 Provides: bundled(npm(d3-zoom)) = 3.0.0 Provides: bundled(npm(dagre-d3-es)) = 7.0.10 Provides: bundled(npm(dayjs)) = 1.11.7 Provides: bundled(npm(decode-named-character-reference)) = 1.0.2 Provides: bundled(npm(deepmerge)) = 4.3.0 Provides: bundled(npm(delaunator)) = 5.0.0 Provides: bundled(npm(dom-serializer)) = 1.4.1 Provides: bundled(npm(domelementtype)) = 2.3.0 Provides: bundled(npm(domhandler)) = 4.3.1 Provides: bundled(npm(dompurify)) = 3.0.5 Provides: bundled(npm(domutils)) = 2.8.0 Provides: bundled(npm(elkjs)) = 0.9.1 Provides: bundled(npm(entities)) = 2.2.0 Provides: bundled(npm(escape-string-regexp)) = 4.0.0 Provides: bundled(npm(exenv-es6)) = 1.1.1 Provides: bundled(npm(fast-deep-equal)) = 3.1.3 Provides: bundled(npm(fast-json-patch)) = 3.1.1 Provides: bundled(npm(fast-json-stable-stringify)) = 2.1.0 Provides: bundled(npm(free-style)) = 3.1.0 Provides: bundled(npm(github-slugger)) = 2.0.0 Provides: bundled(npm(htmlparser2)) = 6.1.0 Provides: bundled(npm(internmap)) = 1.0.1 Provides: bundled(npm(is-arrayish)) = 0.3.2 Provides: bundled(npm(is-plain-object)) = 5.0.0 Provides: bundled(npm(isomorphic.js)) = 0.2.5 Provides: bundled(npm(json-schema-compare)) = 0.2.2 Provides: bundled(npm(json-schema-merge-allof)) = 0.8.1 Provides: bundled(npm(json-schema-traverse)) = 1.0.0 Provides: bundled(npm(json-stringify-pretty-compact)) = 3.0.0 Provides: bundled(npm(json5)) = 2.2.3 Provides: bundled(npm(jsonpointer)) = 5.0.1 Provides: bundled(npm(khroma)) = 2.0.0 Provides: bundled(npm(layout-base)) = 1.0.2 Provides: bundled(npm(lib0)) = 0.2.65 Provides: bundled(npm(lodash)) = 4.17.21 Provides: bundled(npm(lodash-es)) = 4.17.21 Provides: bundled(npm(lodash.curry)) = 4.1.1 Provides: bundled(npm(lodash.escape)) = 4.0.1 Provides: bundled(npm(lodash.mergewith)) = 4.6.2 Provides: bundled(npm(lru-cache)) = 6.0.0 Provides: bundled(npm(markdown-to-jsx)) = 7.3.2 Provides: bundled(npm(marked)) = 9.1.2 Provides: bundled(npm(marked-gfm-heading-id)) = 3.1.0 Provides: bundled(npm(marked-mangle)) = 1.1.4 Provides: bundled(npm(mathjax-full)) = 3.2.2 Provides: bundled(npm(mdast-util-from-markdown)) = 1.3.1 Provides: bundled(npm(mdast-util-to-string)) = 3.2.0 Provides: bundled(npm(mermaid)) = 10.7.0 Provides: bundled(npm(mhchemparser)) = 4.1.1 Provides: bundled(npm(micromark)) = 3.2.0 Provides: bundled(npm(micromark-core-commonmark)) = 1.1.0 Provides: bundled(npm(micromark-factory-destination)) = 1.1.0 Provides: bundled(npm(micromark-factory-label)) = 1.1.0 Provides: bundled(npm(micromark-factory-space)) = 1.1.0 Provides: bundled(npm(micromark-factory-title)) = 1.1.0 Provides: bundled(npm(micromark-factory-whitespace)) = 1.1.0 Provides: bundled(npm(micromark-util-character)) = 1.2.0 Provides: bundled(npm(micromark-util-chunked)) = 1.1.0 Provides: bundled(npm(micromark-util-classify-character)) = 1.1.0 Provides: bundled(npm(micromark-util-combine-extensions)) = 1.1.0 Provides: bundled(npm(micromark-util-decode-numeric-character-reference)) = 1.1.0 Provides: bundled(npm(micromark-util-decode-string)) = 1.1.0 Provides: bundled(npm(micromark-util-html-tag-name)) = 1.2.0 Provides: bundled(npm(micromark-util-normalize-identifier)) = 1.1.0 Provides: bundled(npm(micromark-util-resolve-all)) = 1.1.0 Provides: bundled(npm(micromark-util-subtokenize)) = 1.1.0 Provides: bundled(npm(minimist)) = 1.2.8 Provides: bundled(npm(nanoid)) = 3.3.6 Provides: bundled(npm(parse-srcset)) = 1.0.2 Provides: bundled(npm(path-browserify)) = 1.0.1 Provides: bundled(npm(picocolors)) = 1.0.0 Provides: bundled(npm(postcss)) = 8.4.31 Provides: bundled(npm(process)) = 0.11.10 Provides: bundled(npm(querystringify)) = 2.2.0 Provides: bundled(npm(react)) = 18.2.0 Provides: bundled(npm(react-base16-styling)) = 0.9.1 Provides: bundled(npm(react-dom)) = 18.2.0 Provides: bundled(npm(react-highlight-words)) = 0.20.0 Provides: bundled(npm(react-is)) = 18.2.0 Provides: bundled(npm(react-json-tree)) = 0.18.0 Provides: bundled(npm(react-paginate)) = 6.5.0 Provides: bundled(npm(react-toastify)) = 9.1.1 Provides: bundled(npm(regexp-match-indices)) = 1.0.2 Provides: bundled(npm(regexp-tree)) = 0.1.24 Provides: bundled(npm(requires-port)) = 1.0.0 Provides: bundled(npm(robust-predicates)) = 3.0.1 Provides: bundled(npm(sanitize-html)) = 2.7.3 Provides: bundled(npm(scheduler)) = 0.23.0 Provides: bundled(npm(semver)) = 7.5.1 Provides: bundled(npm(simple-swizzle)) = 0.2.2 Provides: bundled(npm(style-loader)) = 3.3.1 Provides: bundled(npm(style-mod)) = 4.0.0 Provides: bundled(npm(stylis)) = 4.3.0 Provides: bundled(npm(tabbable)) = 5.3.3 Provides: bundled(npm(topojson-client)) = 3.1.0 Provides: bundled(npm(ts-dedent)) = 2.2.0 Provides: bundled(npm(tslib)) = 2.5.0 Provides: bundled(npm(typestyle)) = 2.4.0 Provides: bundled(npm(unist-util-stringify-position)) = 3.0.3 Provides: bundled(npm(uri-js)) = 4.4.1 Provides: bundled(npm(url-parse)) = 1.5.10 Provides: bundled(npm(uuid)) = 9.0.0 Provides: bundled(npm(validate.io-array)) = 1.0.6 Provides: bundled(npm(validate.io-function)) = 1.0.2 Provides: bundled(npm(validate.io-integer)) = 1.0.5 Provides: bundled(npm(validate.io-integer-array)) = 1.0.0 Provides: bundled(npm(validate.io-number)) = 1.0.3 Provides: bundled(npm(vega)) = 5.24.0 Provides: bundled(npm(vega-canvas)) = 1.2.7 Provides: bundled(npm(vega-crossfilter)) = 4.1.1 Provides: bundled(npm(vega-dataflow)) = 5.7.5 Provides: bundled(npm(vega-embed)) = 6.21.3 Provides: bundled(npm(vega-encode)) = 4.9.1 Provides: bundled(npm(vega-event-selector)) = 3.0.1 Provides: bundled(npm(vega-expression)) = 5.0.1 Provides: bundled(npm(vega-force)) = 4.2.0 Provides: bundled(npm(vega-format)) = 1.1.1 Provides: bundled(npm(vega-functions)) = 5.13.1 Provides: bundled(npm(vega-geo)) = 4.4.1 Provides: bundled(npm(vega-hierarchy)) = 4.1.1 Provides: bundled(npm(vega-interpreter)) = 1.0.5 Provides: bundled(npm(vega-label)) = 1.2.1 Provides: bundled(npm(vega-lite)) = 5.6.1 Provides: bundled(npm(vega-loader)) = 4.5.1 Provides: bundled(npm(vega-parser)) = 6.2.0 Provides: bundled(npm(vega-projection)) = 1.6.0 Provides: bundled(npm(vega-regression)) = 1.1.1 Provides: bundled(npm(vega-runtime)) = 6.1.4 Provides: bundled(npm(vega-scale)) = 7.3.0 Provides: bundled(npm(vega-scenegraph)) = 4.10.2 Provides: bundled(npm(vega-schema-url-parser)) = 2.2.0 Provides: bundled(npm(vega-selections)) = 5.4.1 Provides: bundled(npm(vega-statistics)) = 1.8.1 Provides: bundled(npm(vega-themes)) = 2.12.1 Provides: bundled(npm(vega-time)) = 2.1.1 Provides: bundled(npm(vega-tooltip)) = 0.30.1 Provides: bundled(npm(vega-transforms)) = 4.10.1 Provides: bundled(npm(vega-util)) = 1.17.1 Provides: bundled(npm(vega-view)) = 5.11.1 Provides: bundled(npm(vega-view-transforms)) = 4.5.9 Provides: bundled(npm(vega-voronoi)) = 4.2.1 Provides: bundled(npm(vega-wordcloud)) = 4.1.4 Provides: bundled(npm(vscode-jsonrpc)) = 8.1.0 Provides: bundled(npm(vscode-ws-jsonrpc)) = 1.0.2 Provides: bundled(npm(w3c-keyname)) = 2.2.6 Provides: bundled(npm(whatwg-fetch)) = 3.6.2 Provides: bundled(npm(xterm)) = 5.1.0 Provides: bundled(npm(xterm-addon-canvas)) = 0.3.0 Provides: bundled(npm(xterm-addon-fit)) = 0.7.0 Provides: bundled(npm(xterm-addon-web-links)) = 0.8.0 Provides: bundled(npm(xterm-addon-webgl)) = 0.14.0 Provides: bundled(npm(y-protocols)) = 1.0.5 Provides: bundled(npm(yallist)) = 4.0.0 Provides: bundled(npm(yjs)) = 13.5.49 %description JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. %prep %autosetup -p1 -n jupyterlab-%{version} # pytest-tornasync is not available in Fedora # and upstream will switch to pytest-jupyter soon # https://github.com/jupyterlab/jupyterlab/issues/13794 sed -i "/pytest-tornasync/d" pyproject.toml sed -i "/coverage/d" pyproject.toml sed -i "/pytest-cov/d" pyproject.toml sed -i "/pytest-check-links/d" pyproject.toml # Remove woff and woff2 fonts find jupyterlab/static -name "*.woff" -delete find jupyterlab/static -name "*.woff2" -delete # Remove all empty files find ./ -empty -type f -delete # Remove all backup files find ./ -name "*.json.orig" -delete # Remove shebang from yarn.js to drop runtime dependency on node sed -i "1d" jupyterlab/staging/yarn.js %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files jupyterlab # Add %%license to some bundled LICENSE.txt files sed -i "s/\(.*\.LICEN[SC]E\.txt\)/%%license \1/" %{pyproject_files} install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_notebook_config.d install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_notebook_config.d/jupyterlab.json mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/jupyterlab.json # Replace identical files with a symlink pushd %{buildroot}%{python3_sitelib}/jupyterlab/tests/mock_packages ln -sf ../../extension/mock_package.py interop/consumer/jlab_mock_consumer.py popd # Install appdata mkdir -p %{buildroot}%{_metainfodir} install -m 0644 -p %{SOURCE1} %{buildroot}%{_metainfodir}/jupyterlab.metainfo.xml %check # Some tests fail because of missing tornasync and # some try to install dependencies from internet via npm. # test_load_extension is flaky. %pytest -k "not test_build and not test_check and not test_install_and_uninstall and not test_uninstall_core_extension and not test_load_extension" desktop-file-validate %{buildroot}%{_datadir}/applications/jupyterlab.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml # Regression test for node shebang in executable files grep -E '!#.+node' $(find %{buildroot} -type f -executable) && exit 1 || true %files -f %{pyproject_files} %doc README.md %config(noreplace) %{_sysconfdir}/jupyter/jupyter_notebook_config.d/jupyterlab.json %config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/jupyterlab.json %{_bindir}/jlpm %{_bindir}/jupyter-lab* %{_datadir}/jupyter/lab %{_datadir}/applications/jupyterlab.desktop %{_datadir}/icons/hicolor/scalable/apps/jupyterlab.svg %{_metainfodir}/jupyterlab.metainfo.xml %changelog ## START: Generated by rpmautospec * Tue Feb 20 2024 Lumir Balhar - 4.1.2-1 - Update to 4.1.2 (rhbz#2265014) * Tue Feb 13 2024 Lumir Balhar - 4.1.1-1 - Update to 4.1.1 (rhbz#2263963) * Thu Feb 08 2024 Lumir Balhar - 4.1.0-1 - Update to 4.1.0 (rhbz#2260673) * Wed Jan 24 2024 Fedora Release Engineering - 4.0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Lumir Balhar - 4.0.11-1 - Update to 4.0.11 (rhbz#2233853) * Wed Jan 10 2024 Lumir Balhar - 4.0.5-2 - Make it possible to install jupyterlab extensions via pip * Mon Aug 14 2023 Lumir Balhar - 4.0.5-1 - Update to 4.0.5 (rhbz#2231708) * Mon Aug 07 2023 Lumir Balhar - 4.0.4-1 - Update to 4.0.4 (rhbz#2228952) * Thu Jul 20 2023 Fedora Release Engineering - 4.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 17 2023 Lumir Balhar - 4.0.3-1 - Update to 4.0.3 (rhbz#2222621) * Tue Jul 11 2023 Lumir Balhar - 4.0.2-1 - Update to 4.0.2 (rhbz#2213603) * Tue Jul 04 2023 Python Maint - 4.0.1-2 - Rebuilt for Python 3.12 * Thu Jun 01 2023 Lumir Balhar - 4.0.1-1 - Update to 4.0.1 (rhbz#2210989) * Fri May 19 2023 Lumir Balhar - 4.0.0-2 - Add rpminspect config to ignore forbidden unicode characters * Thu May 18 2023 Lumir Balhar - 4.0.0-1 - Update to 4.0.0 * Wed Apr 26 2023 Lumir Balhar - 4.0.0~b2-1 - Update to 4.0.0 beta 2 (rhbz#2189438) * Tue Apr 11 2023 Lumir Balhar - 4.0.0~b1-1 - Update to 4.0.0 beta 1 (rhbz#2185189) * Wed Mar 29 2023 Lumir Balhar - 4.0.0~b0-4 - Add appdata metalink file (rhbz#2181526) * Wed Mar 29 2023 Lumir Balhar - 4.0.0~b0-3 - Drop runtime dependency on nodejs (rhbz#2181523) * Wed Mar 29 2023 Lumir Balhar - 4.0.0~b0-2 - Add desktop file and icon (rhbz#2181526) * Mon Mar 27 2023 Lumir Balhar - 4.0.0~b0-1 - Update to 4.0.0 beta 0 (rhbz#2181970) * Fri Mar 17 2023 Lumir Balhar - 4.0.0~a37-1 - Update to alpha 37 (rhbz#2178295) * Wed Mar 15 2023 Lumir Balhar - 4.0.0~a36-1 - Update to alpha 36 * Mon Jan 16 2023 Lumír Balhar - 4.0.0~a34-1 - Initial package ## END: Generated by rpmautospec