jupyter-jupyterlab-latex/jupyter-jupyterlab-latex.spec
Todd R 221b41877e Accepting request 698340 from home:TheBlackCat:branches:devel:languages:python:jupyter
- Rename to to match jupyter package naming guidelines.
- Update to 0.4.1
  * Allow SyncTeX to work on windows by using absolute file paths.
- Update to 0.4.0
  * Fixes for Windows paths and line endings.
  * Use absolute path in SyncTeX view command.
  * Output synctex response when parse fails.
  * Updates for JupyterLab v0.34.
- Update to 0.3.1
  * Flip the y coordinate for PDFJS, and add a margin when scrolling.
- Don't need to manually enable extension.
- Initial version

OBS-URL: https://build.opensuse.org/request/show/698340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=1
2019-04-26 19:40:55 +00:00

64 lines
2.2 KiB
RPMSpec

#
# spec file for package jupyter-jupyterlab-latex
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: jupyter-jupyterlab-latex
Version: 0.4.1
Release: 0
Summary: Jupyter Notebook server extension which acts as an endpoint for LaTeX
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyterlab/jupyterlab-latex
Source: https://files.pythonhosted.org/packages/py3/j/jupyterlab_latex/jupyterlab_latex-%{version}-py3-none-any.whl
BuildRequires: fdupes
BuildRequires: jupyter-notebook
BuildRequires: python-rpm-macros
BuildRequires: python3-base >= 3.6
BuildRequires: python3-pip
Requires: jupyter-notebook
Requires: texlive-latex-bin
Provides: python3-jupyter_jupyterlab_latex = %{version}
Obsoletes: python3-jupyter_jupyterlab_latex <= %{version}
Provides: python3-jupyterlab-latex = %{version}
BuildArch: noarch
# SECTION test requirements
BuildRequires: jupyter-jupyterlab
# /SECTION
%description
An extension for JupyterLab which allows for live-editing of LaTeX documents.
%prep
%setup -q -c -T
%build
# Not Needed
%install
pip%{python3_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%{jupyter_move_config}
%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
%files
%license %{python3_sitelib}/jupyterlab_latex-*.dist-info/LICENSE.txt
%{python3_sitelib}/jupyterlab_latex-*.dist-info
%{python3_sitelib}/jupyterlab_latex/
%config %{_jupyter_servextension_confdir}/jupyterlab_latex.json
%changelog