diff --git a/python-jupyter_console.changes b/python-jupyter_console.changes index 5d6f640..b6f5e1e 100644 --- a/python-jupyter_console.changes +++ b/python-jupyter_console.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 17 18:46:30 UTC 2019 - Todd R + +- Split jupyter components into own subpackage. + ------------------------------------------------------------------- Tue Oct 16 01:56:19 UTC 2018 - Todd R diff --git a/python-jupyter_console.spec b/python-jupyter_console.spec index fc9ca0c..adc4e35 100644 --- a/python-jupyter_console.spec +++ b/python-jupyter_console.spec @@ -1,7 +1,7 @@ # # spec file for package python-jupyter_console # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,21 +20,22 @@ %define skip_python2 1 Name: python-jupyter_console Version: 6.0.0 +%define doc_ver 6.0.0 Release: 0 Summary: Jupyter terminal console License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/jupyter/jupyter_console Source0: https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz -Source1: https://media.readthedocs.org/pdf/jupyter-console/v%{version}/jupyter-console.pdf -BuildRequires: %{python_module devel} +Source1: https://media.readthedocs.org/pdf/jupyter-console/v%{doc_ver}/jupyter-console.pdf BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jupyter_client -Requires: python-jupyter_ipykernel -Requires: python-jupyter_ipython +Requires: python-ipykernel +Requires: python-ipython Requires: python-prompt_toolkit >= 2 +Requires: jupyter-jupyter_console = %{version} BuildArch: noarch %python_subpackages @@ -43,16 +44,31 @@ BuildArch: noarch A terminal-based console frontend for Jupter kernels. This code is based on the single-process IPython terminal. -%package -n %{name}-doc -Summary: Documentation for %{name} -Group: Documentation/Other -Provides: %{python_module jupyter_console-doc = %{version}} +This package provides the python components. -%description -n %{name}-doc +%package -n jupyter-jupyter_console +Summary: Jupyter terminal console +Requires: python3-jupyter_console = %{version} + +%description -n jupyter-jupyter_console A terminal-based console frontend for Jupter kernels. This code is based on the single-process IPython terminal. -This package provides the help files for %{name}. +This package provides the jupyter components. + +%package -n jupyter-jupyter_console-doc +Summary: Documentation for jupyter-jupyter_console +Group: Documentation/Other +Provides: python-jupyter_console-doc = %{version} +Obsoletes: python-jupyter_console-doc <= %{version} +Provides: %{python_module jupyter_console-doc = %{version}} +Obsoletes: %{python_module jupyter_console-doc <= %{version}} + +%description -n jupyter-jupyter_console-doc +A terminal-based console frontend for Jupter kernels. +This code is based on the single-process IPython terminal. + +This package provides the help files. %prep %setup -q -n jupyter_console-%{version} @@ -72,10 +88,13 @@ cp %{SOURCE1} . %files %{python_files} %doc CONTRIBUTING.md README.md %license COPYING.md -%{_bindir}/jupyter-console %{python_sitelib}/* -%files -n %{name}-doc +%files -n jupyter-jupyter_console +%license COPYING.md +%{_bindir}/jupyter-console + +%files -n jupyter-jupyter_console-doc %license COPYING.md %doc jupyter-console.pdf