%define _debugsource_template %{nil} %define debug_package %{nil} Name: neocmakelsp Version: 0.11.2 Release: 1%{?dist} Summary: Language server for CMake License: MIT URL: https://github.com/neocmakelsp/neocmakelsp Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cargo BuildRequires: rust >= 1.89 BuildRequires: gcc BuildRequires: bash-completion %description neocmakelsp is a language server for CMake with completion, diagnostics, formatting, go-to-definition and a command-line formatter and tree viewer. %prep %autosetup -n %{name}-%{version} %build export CARGO_HOME=$PWD/.cargo-home cargo build --release --locked %install install -Dpm 0755 target/release/neocmakelsp %{buildroot}%{_bindir}/neocmakelsp install -Dpm 0644 completions/bash/neocmakelsp %{buildroot}%{bash_completions_dir}/neocmakelsp install -Dpm 0644 completions/zsh/_neocmakelsp %{buildroot}%{_datadir}/zsh/site-functions/_neocmakelsp install -Dpm 0644 completions/fish/neocmakelsp.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/neocmakelsp.fish %check %{buildroot}%{_bindir}/neocmakelsp --version %files %license LICENSE %doc README.md CHANGELOG.md %{_bindir}/neocmakelsp %{bash_completions_dir}/neocmakelsp %{_datadir}/zsh/site-functions/_neocmakelsp %{_datadir}/fish/vendor_completions.d/neocmakelsp.fish %changelog * Sat Oct 03 2026 sachesi - 0.11.2-1 - Update to 0.11.2. * Wed Sep 23 2026 sachesi - 0.11.1-2 - Rebuild. * Tue Sep 22 2026 sachesi - 0.11.1-1 - Initial package for Copr.