Name: vimpager Version: 2.06 Release: 2%{?dist} Summary: Pager using vim and less.vim License: BSD URL: https://github.com/rkitover/vimpager Source0: %{url}/archive/%{version}/vimpager-%{version}.tar.gz BuildArch: noarch BuildRequires: sharutils BuildRequires: pandoc Requires: vim-enhanced %description A PAGER using less.vim with support for highlighting of man pages and many other features. Works on most UNIX-like systems as well as Cygwin and MSYS. %prep %autosetup sed \ -e '/INSTALLBIN/s|555|755|' \ -e '/INSTALLMAN/s|444|644|' \ -i Makefile %build %make_build vimpager %install %make_install SYSCONFDIR=/etc PREFIX=/usr %files %license LICENSE %{_bindir}/vimcat %{_bindir}/vimpager %{_mandir}/man1/vimcat.1* %{_mandir}/man1/vimpager.1* %config(noreplace) %{_sysconfdir}/vimpagerrc %changelog * Tue Oct 09 2018 Carl George - 2.06-2 - Rebuilt * Sun Jul 16 2017 Carl George - 2.06-1 - Initial spec file