%global commit 3c4195de0748da9bba25c54d78d959d349e93c55 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global patchver 96 Name: vim-move Summary: Plugin to move lines and selections up and down Version: 1.3.%{patchver} Release: 1.git%{shortcommit}%{?dist} License: MIT URL: https://github.com/matze/vim-move Source0: %{url}/archive/%{commit}/%{name}-%{version}-g%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: vim-filesystem Requires: vim-enhanced %description Vim plugin that moves lines and selections in a more visual manner. Out of the box, the following keys are mapped in visual and normal mode: Move current line/selection up Move current line/selection down Move current character/selection left Move current character/selection right Can be changed with for example: let g:move_key_modifier = 'C' %prep %autosetup -n %{name}-%{commit} %install mkdir -p %{buildroot}%{vimfiles_root} cp -r plugin %{buildroot}%{vimfiles_root} %files %license LICENSE %doc README.md doc/* %{vimfiles_root}/plugin/* %changelog * Sun Aug 31 2025 Roy Bekken - 1.3.96-1 - Initial RPM.