72 lines
2.5 KiB
RPMSpec
72 lines
2.5 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
Name: python-jupyter-server-terminals
|
|
Version: 0.5.2
|
|
Release: 1
|
|
Summary: A Jupyter Server Extension Providing Terminals.
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/jupyter-server/jupyter_server_terminals
|
|
Source0: https://files.pythonhosted.org/packages/e2/71/c07cc931bdf27c808ccbaff693299f7d68612c87ffdac7e28c2a59020070/jupyter_server_terminals-0.5.2.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pbr
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
|
|
%description
|
|
Jupyter Server Terminals is a Jupyter Server Extension providing support for terminals.
|
|
|
|
%package -n python3-jupyter-server-terminals
|
|
Summary: A Jupyter Server Extension providing support for terminals.
|
|
Provides: python-jupyter-server-terminals
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-hatchling
|
|
%description -n python3-jupyter-server-terminals
|
|
Jupyter Server Terminals is a Jupyter Server Extension providing support for terminals.
|
|
|
|
%package help
|
|
Summary: Development documents and examples for Jupyter Server Terminals.
|
|
Provides: python3-jupyter-server-terminals-doc
|
|
|
|
%description help
|
|
Development documents and examples for Jupyter Server Terminals.
|
|
|
|
%prep
|
|
%autosetup -n jupyter_server_terminals-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d
|
|
mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter_server_terminals.json
|
|
|
|
%files -n python3-jupyter-server-terminals
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/jupyter_server_terminals
|
|
%{python3_sitelib}/jupyter_server_terminals*.dist-info/
|
|
%config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter_server_terminals.json
|
|
|
|
|
|
%files help
|
|
%{_docdir}/*
|
|
|
|
%changelog
|
|
* Wed Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.5.2-1
|
|
- Update package with version 0.5.2
|
|
Set terminals_available to False when not enabled
|
|
Update ruff config
|
|
|
|
* Wed Nov 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.4.4-1
|
|
- Init package
|