SHA256
1
0
forked from pool/texlab
texlab/texlab.spec
Soc Virnyl Estela 8b4f3d222c - Update to version 5.16.1. Changes since then:
* Don't treat `\label{}` and `\ref{}` with macro parameter as label commands
  * Fix parsing `latexmkrc` for `latexmk` versions older than `v4.8.4`
  * Remove unused `texlab.rootDirectory` setting from documentation
  * Add `texlab.experimental.labelDefinitionCommands` setting to customize the list of `\label`-like commands
  * Extend list of commands treated as command definitions and environment definitions
  * Allow the server to trigger the forward search in an editor-agnostic way:
    Running `texlab inverse-search --input <FILE> --line <LINE>` will open the specified document in the editor if the client supports it
  * Fix detection of log dir when using `latexmkrc` (use `$aux_dir` instead of `$out_dir`)
  * Fix extracting `$aux_dir` and `$out_dir` from `latexmkrc`
  * Add support for extracting `$aux_dir` and `$out_dir` from `latexmk >= v4.85` 
  * Improve log file change detection under Windows
  * Cleanup diagnostics of deleted files
  * Let `\declaretheorem` accept a list of environment names instead of just a single name
  * Use configured directories if not set explicitly by `latexmkrc` file
  * Replace tilde (`~`), environment variables, `${userHome}`, `${workspaceFolder}` in options
  * Replace tidle (`~`) and environment variables in `\include`-like commands
  * Add "Go To Definition" support for user-defined commands with `\def` and `\let`
  * Add "Find all References" for commands
  * Support more macros for defining commands
  * Avoid panicking when malformed URIs are sent to the server
  * Don't report errors for citations with macro arguments
  * Fix parsing `\label` with options (for example, when using `cleverref`)
  * Fix detecting project root if the home directory contains a `.latexmkrc` file
  * Improve support for handling `Tectonic.toml` projects
  * Cache results of project detection to improve performance
  * Triggering completion inside `\label{...}` will suggest undefined labels
  * Add snippets for `\( ... \)`, `\[ ... \]` and `\{ ... \}`
  * Don't return document symbol with empty name if `\item[]` is encountered
  * Fix extracting label numbers inside theorems defined by `ntheorem` package

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=61
2024-05-29 23:28:41 +00:00

57 lines
2.1 KiB
RPMSpec

#
# spec file for package texlab
#
# Copyright (c) 2024 SUSE LLC
#
# 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: texlab
Version: 5.16.1
Release: 0
Summary: Implementation of the Language Server Protocol for LaTeX
License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 OR Apache-2.0 OR MIT ) AND ( CC0-1.0 OR Artistic-2.0 ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-3-Clause AND GPL-3.0 AND GPL-3.0+ AND ISC AND MIT AND MPL-2.0 AND MPL-2.0+ AND GPL-3.0
Group: Productivity/Publishing/TeX/Utilities
URL: https://github.com/latex-lsp/texlab
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: zstd
ExclusiveArch: %{rust_tier1_arches}
%description
Cross-platform implementation of the Language Server Protocol providing rich
cross-editing support for the LaTeX typesetting system.
The server may be used with any editor that implements the Language Server Protocol.
%prep
%autosetup -a1
%build
%{cargo_build} --all-features --frozen --locked
%install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}
%check
%{cargo_test} --all-features --frozen --locked
%files
%{_bindir}/texlab
%license LICENSE
%doc README.md CHANGELOG.md
%changelog