%global _empty_manifest_terminate_build 0 %global pypi_name jupyterlab_server %global _description %{expand: JupyterLab Server sits between JupyterLab and Jupyter Server, and provides a set of REST API handlers and utilities that are used by JupyterLab. It is a separate project in order to accommodate creating JupyterLab-like applications from a more limited scope.} Name: python-%{pypi_name} Version: 2.24.0 Release: 1 Summary: A set of server components for JupyterLab and JupyterLab like applications License: BSD-3-Clause URL: https://jupyterlab-server.readthedocs.io Source0: %{pypi_source jupyterlab_server} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-hatchling BuildRequires: python3-fastjsonschema %description %_description %package -n python3-%{pypi_name} Summary: A set of server components for JupyterLab and JupyterLab like applications %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %_description %package help Summary: Help documents for %{name} %description help Help documents for the %{name} API %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/jupyterlab_server-*.dist-info/ %{python3_sitelib}/jupyterlab_server/ %files help %doc docs %changelog * Mon Jul 31 2023 li-miaomiao_zhr - 2.24.0-1 - package init