Name: texlab Version: 5.20.0 Release: 1%{?dist} Summary: texlab language server License: GPL-3.0 URL: https://texlab.netlify.app/ Source0: https://github.com/latex-lsp/texlab/archive/v%{version}.tar.gz BuildRequires: cargo %if 0%{?fedora} >= 24 ExclusiveArch: x86_64 i686 armv7hl %else ExclusiveArch: x86_64 aarch64 %endif %description A cross-platform implementation of the Language Server Protocol providing rich cross-editing support for the LaTeX typesetting system # Disable debug info; texlab doesn't include debug info in release profile %define debug_package %{nil} %prep %autosetup -v -n %{name}-%{version} %build cargo build --release %install install -D -p -s -m 755 target/release/%{name} %{buildroot}%{_bindir}/%{name} %check cargo test %files %license LICENSE %doc README.md CHANGELOG.md CONTRIBUTING.md %{_bindir}/%{name} %changelog %autochangelog