2022-03-21 09:34:34 +01:00
|
|
|
#
|
|
|
|
# spec file for package texlab
|
|
|
|
#
|
2023-01-28 02:18:18 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-03-21 09:34:34 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-06-01 14:47:32 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2022-03-21 09:34:34 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: texlab
|
2023-12-13 09:45:01 +01:00
|
|
|
Version: 5.12.0
|
2022-03-21 09:34:34 +01:00
|
|
|
Release: 0
|
2022-06-01 14:47:32 +02:00
|
|
|
Summary: Implementation of the Language Server Protocol for LaTeX
|
2022-03-21 09:34:34 +01:00
|
|
|
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
|
2022-06-01 14:47:32 +02:00
|
|
|
URL: https://github.com/latex-lsp/texlab
|
2022-11-21 22:25:53 +01:00
|
|
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2023-03-01 13:54:46 +01:00
|
|
|
Source1: vendor.tar.zst
|
2022-03-21 09:34:34 +01:00
|
|
|
BuildRequires: cargo-packaging
|
2023-12-01 00:06:14 +01:00
|
|
|
BuildRequires: rust+cargo >= 1.70.0
|
2023-03-01 13:54:46 +01:00
|
|
|
BuildRequires: zstd
|
|
|
|
ExclusiveArch: %{rust_tier1_arches}
|
2022-03-21 09:34:34 +01:00
|
|
|
|
|
|
|
%description
|
2023-12-01 00:06:14 +01:00
|
|
|
Cross-platform implementation of the Language Server Protocol providing rich
|
|
|
|
cross-editing support for the LaTeX typesetting system.
|
2022-03-21 09:34:34 +01:00
|
|
|
The server may be used with any editor that implements the Language Server Protocol.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -a1
|
|
|
|
|
|
|
|
%build
|
2023-01-28 02:18:18 +01:00
|
|
|
%{cargo_build} --all-features
|
2022-03-21 09:34:34 +01:00
|
|
|
|
|
|
|
%install
|
2023-01-28 03:12:19 +01:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
2023-01-28 02:50:47 +01:00
|
|
|
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}
|
2023-01-28 03:12:19 +01:00
|
|
|
|
2023-08-13 09:06:00 +02:00
|
|
|
%check
|
|
|
|
%{cargo_test} --all-features
|
2022-03-21 09:34:34 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/texlab
|
|
|
|
%license LICENSE
|
2022-10-30 13:04:23 +01:00
|
|
|
%doc README.md CHANGELOG.md
|
2022-03-21 09:34:34 +01:00
|
|
|
|
|
|
|
%changelog
|