Init package with version 0.4.4
This commit is contained in:
parent
bd37051d8c
commit
470cf7f3f9
BIN
jupyter_server_terminals-0.4.4.tar.gz
Normal file
BIN
jupyter_server_terminals-0.4.4.tar.gz
Normal file
Binary file not shown.
66
python-jupyter-server-terminals.spec
Normal file
66
python-jupyter-server-terminals.spec
Normal file
@ -0,0 +1,66 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-jupyter-server-terminals
|
||||
Version: 0.4.4
|
||||
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/54/e1/6bc19392e6957356f085b8d7ec33d6d0d721e646b7576c1c6758dd264c64/jupyter_server_terminals-0.4.4.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 Nov 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.4.4-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user