%global debug_package %{nil} Name: helix Version: 25.01 Release: 1%{?dist} Summary: A post-modern modal text editor. License: MPL-2.0 URL: https://github.com/helix-editor/helix Source0: %{url}/releases/download/%{version}/helix-%{version}-source.tar.xz # Source0: %{url}/archive/refs/tags/${version}.tar.gz BuildRequires: cargo BuildRequires: rust BuildRequires: gcc-c++ BuildRequires: git %description A kakoune / neovim inspired editor, written in Rust. The editing model is very heavily based on kakoune. Features include Vim-like modal editing, multiple selections, built-in language server support and smart, incremental syntax highlighting and code editing via tree-sitter %prep %autosetup -c %install cargo build --release HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar fetch HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build rm -rf ./runtime/grammars/sources mkdir -p %{buildroot}%{_datadir}/helix mkdir -p %{buildroot}%{_libexecdir} mv ./runtime %{buildroot}%{_datadir}/helix mv ./target/release/hx %{buildroot}%{_libexecdir}/hx strip --strip-all %{buildroot}%{_libexecdir}/hx mkdir -p %{buildroot}%{_datadir}/licenses/helix mv ./LICENSE %{buildroot}%{_datadir}/licenses/helix/LICENSE mkdir -p %{buildroot}%{_docdir}/helix mv README.md %{buildroot}%{_docdir}/helix/README.md mkdir -p %{buildroot}%{_bindir} touch %{buildroot}%{_bindir}/hx cat >> %{buildroot}%{_bindir}/hx < 25.02-1 - Add a textobject for entries/elements of list-like things (#8150) - Add a picker showing files changed in VCS (#5645) - Use a temporary file for writes (#9236, #10339, #10790) - Allow cycling through LSP signature-help signatures with A-n/A-p (#9974, #10654, #10655) - Use tree-sitter when finding matching brackets and closest pairs (#8294, #10613, #10777) - Auto-save all buffers after a delay (#10899, #11047)