From 566cdfcff46eab7756d663d759a9b7a23a0f8f40 Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Oct 28 2019 17:35:39 +0000 Subject: Initial import (#1763261) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e75f4b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/v1.9.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..eceed73 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (v1.9.tar.gz) = 7e2bab7eccee155da16b57d91ecc9574709af84f5f8296817642ac2d4db84efce95b0c2110f295f5451580882b7cd008ba0fbcffb54013b24152f8f2fb2b5861 diff --git a/z.spec b/z.spec new file mode 100644 index 0000000..af8f833 --- /dev/null +++ b/z.spec @@ -0,0 +1,43 @@ +%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