Name: neovim Version: 0.12.2 Release: 1%{?dist} Summary: Vim-fork focused on extensibility and usability (AppImage repackage) License: Apache-2.0 URL: https://neovim.io/ Source0: https://github.com/neovim/neovim/releases/download/v0.12.2/nvim-linux-x86_64.appimage Source1: https://github.com/neovim/neovim/releases/download/v0.12.2/nvim-linux-arm64.appimage # Disable stripping so the AppImage SquashFS payload isn't corrupted %define debug_package %{nil} %define __os_install_post %{nil} %define __spec_install_post %{nil} %description A COPR repackage of the official Neovim AppImage. %prep %ifarch x86_64 cp %{SOURCE0} ./nvim.appimage %endif %ifarch aarch64 cp %{SOURCE1} ./nvim.appimage %endif chmod +x nvim.appimage ./nvim-linux.appimage --appimage-extract %build %install mkdir -p %{buildroot}/opt mkdir -p %{buildroot}/usr/bin cp -r squashfs-root %{buildroot}/opt/%{name} ln -s /opt/neovim/AppRun %{buildroot}/usr/bin/nvim %files /opt/neovim /usr/bin/nvim %changelog - Automated build tracking upstream tag v0.12.2