commit bf185fb45663ac33247cdab90a77d64a4d97958a0ddb19b29470fa00576b7afc Author: Dr. Werner Fink Date: Mon Mar 21 08:34:34 2022 +0000 Accepting request 963226 from home:uncomfyhalomacro I want to maintain this package in Publishing/TexLive. This package is an LSP implementation for LaTeX called texlab OBS-URL: https://build.opensuse.org/request/show/963226 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlab?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..b99e121 --- /dev/null +++ b/_constraints @@ -0,0 +1,8 @@ + + + + + 8 + + + \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..8f1e538 --- /dev/null +++ b/cargo_config @@ -0,0 +1,10 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."https://github.com/cormacrelf/citeproc-rs"] +git = "https://github.com/cormacrelf/citeproc-rs" +rev = "2ab195a1e6f84f0ff284813ece61dc62096abbfe" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/texlab-3.3.2.tar.xz b/texlab-3.3.2.tar.xz new file mode 100644 index 0000000..04d8e86 --- /dev/null +++ b/texlab-3.3.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffcd0f66d62bd0f76bc70e67b139c4f86b978a6b8f88ad96597724e7c3ec3e6e +size 7497736 diff --git a/texlab.changes b/texlab.changes new file mode 100644 index 0000000..762082e --- /dev/null +++ b/texlab.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Mar 12 04:20:39 UTC 2022 - Soc Virnyl Estela + +- Initial working spec of texlab (3.3.2) diff --git a/texlab.spec b/texlab.spec new file mode 100644 index 0000000..5935f01 --- /dev/null +++ b/texlab.spec @@ -0,0 +1,54 @@ +# +# spec file for package texlab +# +# Copyright (c) 2022 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 http://bugs.opensuse.org/ +# + +%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' + +Name: texlab +Version: 3.3.2 +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: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo-packaging +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 +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +RUSTFLAGS=%{rustflags} cargo build --release --offline --jobs 2 + +%install +install -D -d -m 0755 %{buildroot}%{_bindir} +install -m 0755 %{_builddir}/%{name}-%{version}/target/release/texlab %{buildroot}%{_bindir}/texlab + +%files +%{_bindir}/texlab +%license LICENSE +%doc docs README.md CHANGELOG.md + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..c817331 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7001d7ce886b79e4d94ecfaaa65dda01e320f0647a7b2be618bfe8fa98cf9f1f +size 18349216