%global projname z %global desc \ Tracks your most used directories, based on 'frecency'.\ \ After a short learning phase, z will take you to the most 'frecent'\ directory that matches ALL of the regexps given on the command line, in\ order. Name: %{projname} Version: 1.9 Release: 0%{?dist} Summary: Maintains a jump-list of the directories you actually use License: WTFPL Source0: https://github.com/rupa/%{projname}/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: gzip %description %{desc} %prep %setup -q -n %{name}-%{version} %build %install mkdir -p %{buildroot}%{_libexecdir} install -pm 644 z.sh %{buildroot}%{_libexecdir}/z.sh mkdir -p %{buildroot}%{_mandir}/man1 install -pm 644 z.1 %{buildroot}%{_mandir}/man1/z.1 %check %files %{_libexecdir}/z.sh %{_mandir}/man1/z.1* %changelog * Fri Oct 18 2019 Ben Cotton - 1.9-0 - Initial packaging