SHA256
1
0
forked from pool/texlab
texlab/texlab.spec

61 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package texlab
#
- Update to version 5.1.0: * Allow manually overriding the root directory using a texlabroot/.texlabroot marker file. See the wiki for more information. (#826, #838) * Deprecate texlab.rootDirectory setting in favor of .texlabroot files * Do not use .git, .chktexrc, .latexmkrc files/directories to determine the root directory (#826) * Fix building documents without an explicit root directory (#837) - Changes from 5.0.0: * BREAKING: texlab.rootDirectory is now used as the folder path from which the compiler is executed relative to the main document. By default it is equal to ".". For more information, please visit the wiki. * Improve performance of completion by a huge margin due to a faster filtering method used internally * Do not discover project files beyond the provided workspace folders * Try to guess the root directory by checking for files such as .latexmkrc or Tectonic.toml if texlab.rootDirectory is not set * Update positions of reported build diagnostics when editing the affected line * Do not treat links to files as bidirectional by default. This prevents issues where texlab ends up compiling the wrong file in projects with shared files (#806, #757, #679) * Fix coverage of directories which need to be watched for changes (#502, #491) * Resolve links of the import package correctly * Use filterText of completion items when filtering internally (#829) - Specfile changes: * Enable tests * Enable `--all-features` flag OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=24
2023-01-28 02:18:18 +01:00
# Copyright (c) 2023 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
- Update to version 5.1.0: * Allow manually overriding the root directory using a texlabroot/.texlabroot marker file. See the wiki for more information. (#826, #838) * Deprecate texlab.rootDirectory setting in favor of .texlabroot files * Do not use .git, .chktexrc, .latexmkrc files/directories to determine the root directory (#826) * Fix building documents without an explicit root directory (#837) - Changes from 5.0.0: * BREAKING: texlab.rootDirectory is now used as the folder path from which the compiler is executed relative to the main document. By default it is equal to ".". For more information, please visit the wiki. * Improve performance of completion by a huge margin due to a faster filtering method used internally * Do not discover project files beyond the provided workspace folders * Try to guess the root directory by checking for files such as .latexmkrc or Tectonic.toml if texlab.rootDirectory is not set * Update positions of reported build diagnostics when editing the affected line * Do not treat links to files as bidirectional by default. This prevents issues where texlab ends up compiling the wrong file in projects with shared files (#806, #757, #679) * Fix coverage of directories which need to be watched for changes (#502, #491) * Resolve links of the import package correctly * Use filterText of completion items when filtering internally (#829) - Specfile changes: * Enable tests * Enable `--all-features` flag OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=24
2023-01-28 02:18:18 +01:00
Version: 5.1.0
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
- Update to version 5.1.0: * Allow manually overriding the root directory using a texlabroot/.texlabroot marker file. See the wiki for more information. (#826, #838) * Deprecate texlab.rootDirectory setting in favor of .texlabroot files * Do not use .git, .chktexrc, .latexmkrc files/directories to determine the root directory (#826) * Fix building documents without an explicit root directory (#837) - Changes from 5.0.0: * BREAKING: texlab.rootDirectory is now used as the folder path from which the compiler is executed relative to the main document. By default it is equal to ".". For more information, please visit the wiki. * Improve performance of completion by a huge margin due to a faster filtering method used internally * Do not discover project files beyond the provided workspace folders * Try to guess the root directory by checking for files such as .latexmkrc or Tectonic.toml if texlab.rootDirectory is not set * Update positions of reported build diagnostics when editing the affected line * Do not treat links to files as bidirectional by default. This prevents issues where texlab ends up compiling the wrong file in projects with shared files (#806, #757, #679) * Fix coverage of directories which need to be watched for changes (#502, #491) * Resolve links of the import package correctly * Use filterText of completion items when filtering internally (#829) - Specfile changes: * Enable tests * Enable `--all-features` flag OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=24
2023-01-28 02:18:18 +01:00
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: rust+cargo >= 1.59
ExclusiveArch: %{rust_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
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
- Update to version 5.1.0: * Allow manually overriding the root directory using a texlabroot/.texlabroot marker file. See the wiki for more information. (#826, #838) * Deprecate texlab.rootDirectory setting in favor of .texlabroot files * Do not use .git, .chktexrc, .latexmkrc files/directories to determine the root directory (#826) * Fix building documents without an explicit root directory (#837) - Changes from 5.0.0: * BREAKING: texlab.rootDirectory is now used as the folder path from which the compiler is executed relative to the main document. By default it is equal to ".". For more information, please visit the wiki. * Improve performance of completion by a huge margin due to a faster filtering method used internally * Do not discover project files beyond the provided workspace folders * Try to guess the root directory by checking for files such as .latexmkrc or Tectonic.toml if texlab.rootDirectory is not set * Update positions of reported build diagnostics when editing the affected line * Do not treat links to files as bidirectional by default. This prevents issues where texlab ends up compiling the wrong file in projects with shared files (#806, #757, #679) * Fix coverage of directories which need to be watched for changes (#502, #491) * Resolve links of the import package correctly * Use filterText of completion items when filtering internally (#829) - Specfile changes: * Enable tests * Enable `--all-features` flag OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=24
2023-01-28 02:18:18 +01:00
%{cargo_build} --all-features
%install
- Update to version 5.1.0: * Allow manually overriding the root directory using a texlabroot/.texlabroot marker file. See the wiki for more information. (#826, #838) * Deprecate texlab.rootDirectory setting in favor of .texlabroot files * Do not use .git, .chktexrc, .latexmkrc files/directories to determine the root directory (#826) * Fix building documents without an explicit root directory (#837) - Changes from 5.0.0: * BREAKING: texlab.rootDirectory is now used as the folder path from which the compiler is executed relative to the main document. By default it is equal to ".". For more information, please visit the wiki. * Improve performance of completion by a huge margin due to a faster filtering method used internally * Do not discover project files beyond the provided workspace folders * Try to guess the root directory by checking for files such as .latexmkrc or Tectonic.toml if texlab.rootDirectory is not set * Update positions of reported build diagnostics when editing the affected line * Do not treat links to files as bidirectional by default. This prevents issues where texlab ends up compiling the wrong file in projects with shared files (#806, #757, #679) * Fix coverage of directories which need to be watched for changes (#502, #491) * Resolve links of the import package correctly * Use filterText of completion items when filtering internally (#829) - Specfile changes: * Enable tests * Enable `--all-features` flag OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=24
2023-01-28 02:18:18 +01:00
%{cargo_install} --all-features
# They deleted it.
# install -Dm644 texlab.1 -t %%{buildroot}%%{_mandir}/man1/
- Update to version 5.1.0: * Allow manually overriding the root directory using a texlabroot/.texlabroot marker file. See the wiki for more information. (#826, #838) * Deprecate texlab.rootDirectory setting in favor of .texlabroot files * Do not use .git, .chktexrc, .latexmkrc files/directories to determine the root directory (#826) * Fix building documents without an explicit root directory (#837) - Changes from 5.0.0: * BREAKING: texlab.rootDirectory is now used as the folder path from which the compiler is executed relative to the main document. By default it is equal to ".". For more information, please visit the wiki. * Improve performance of completion by a huge margin due to a faster filtering method used internally * Do not discover project files beyond the provided workspace folders * Try to guess the root directory by checking for files such as .latexmkrc or Tectonic.toml if texlab.rootDirectory is not set * Update positions of reported build diagnostics when editing the affected line * Do not treat links to files as bidirectional by default. This prevents issues where texlab ends up compiling the wrong file in projects with shared files (#806, #757, #679) * Fix coverage of directories which need to be watched for changes (#502, #491) * Resolve links of the import package correctly * Use filterText of completion items when filtering internally (#829) - Specfile changes: * Enable tests * Enable `--all-features` flag OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=24
2023-01-28 02:18:18 +01:00
%check
%{cargo_test} --all-features
%files
%{_bindir}/texlab
%license LICENSE
%doc README.md CHANGELOG.md
# %{_mandir}/man1/texlab.1%{?ext_man}
%changelog