Package zsh/fish completion, and importers

epel9
Christophe Fergeau 11 years ago
parent b37cacd0ec
commit 1cf08e0c76

@ -25,12 +25,17 @@ make DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} \
BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \ BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \
MANDIR=%{_mandir} \ MANDIR=%{_mandir} \
install 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 %files
%doc README COPYING %doc README COPYING contrib
%{_bindir}/pass %{_bindir}/pass
%{_datadir}/bash-completion/completions/password-store %{_datadir}/bash-completion/completions/password-store
%{_datadir}/fish/completions/pass.fish
%{_datadir}/zsh/site-functions/_pass
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
%changelog %changelog

Loading…
Cancel
Save