From 1cf08e0c767dfc8a3cd70fc36ce9a100e95aef2c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 17 Apr 2014 15:34:50 +0200 Subject: [PATCH] Package zsh/fish completion, and importers --- pass.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pass.spec b/pass.spec index 3287882..6d2867b 100644 --- a/pass.spec +++ b/pass.spec @@ -25,12 +25,17 @@ make DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} \ BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \ MANDIR=%{_mandir} \ install - +install -d %{buildroot}%{_datadir}/zsh/site-functions/ +install -m 0644 src/completion/pass.zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_pass +install -d %{buildroot}%{_datadir}/fish/completions/ +install -m 0644 src/completion/pass.fish-completion %{buildroot}%{_datadir}/fish/completions/pass.fish %files -%doc README COPYING +%doc README COPYING contrib %{_bindir}/pass %{_datadir}/bash-completion/completions/password-store +%{_datadir}/fish/completions/pass.fish +%{_datadir}/zsh/site-functions/_pass %doc %{_mandir}/man1/* %changelog