Name: zsh-autosuggestions Version: 0.5.0 Release: 1%{?dist} Summary: Fish-like autosuggestions for Zsh License: BSD URL: https://github.com/zsh-users/zsh-autosuggestions Source0: https://github.com/zsh-users/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: zsh Requires: zsh %description Fish-like fast/unobtrusive autosuggestions for zsh. It suggests commands as you type, based on command history. %prep %autosetup %build make %install install -d %{buildroot}/%{_prefix}/share/%{name} install -d %{buildroot}/%{_prefix}/share/doc/%{name} install zsh-autosuggestions.zsh %{buildroot}/%{_prefix}/share/%{name}/%{name}.zsh install README.md %{buildroot}/%{_pkgdocdir}/README.md install CHANGELOG.md %{buildroot}/%{_pkgdocdir}/CHANGELOG.md %check #make test #make perf %files %{_pkgdocdir} %{_datadir}/%{name} %changelog * Thu Nov 29 2018 Dillen Meijboom - 0.5.0 - Initial package