diff --git a/jupyter_server_terminals-0.4.4.tar.gz b/jupyter_server_terminals-0.4.4.tar.gz new file mode 100644 index 0000000..43bc9c8 Binary files /dev/null and b/jupyter_server_terminals-0.4.4.tar.gz differ diff --git a/python-jupyter-server-terminals.spec b/python-jupyter-server-terminals.spec new file mode 100644 index 0000000..3aaa407 --- /dev/null +++ b/python-jupyter-server-terminals.spec @@ -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 - 0.4.4-1 +- Init package