diff --git a/pass.spec b/pass.spec index aa9a218..c6dad1b 100644 --- a/pass.spec +++ b/pass.spec @@ -21,6 +21,18 @@ Requires: tree >= 1.7.0 Stores, retrieves, generates, and synchronizes passwords securely using gpg and git. +%package -n passmenu +Summary: A dmenu based interface to pass. +Requires: dmenu +Requires: xdotool + +%description -n passmenu +A dmenu based interface to pass, the standard Unix password manager. This +design allows you to quickly copy a password to the clipboard without having to +open up a terminal window if you don't already have one open. If `--type` is +specified, the password is typed using xdotool instead of copied to the +clipboard. + %prep %setup -q -n password-store-%{version} rm -f contrib/emacs/.gitignore @@ -30,21 +42,27 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} \ BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \ MANDIR=%{_mandir} WITH_ALLCOMP="yes" \ install +install -D -p -m 0755 contrib/dmenu/passmenu %{buildroot}%{_bindir}/passmenu %check make test %files -%doc README COPYING contrib +%doc README COPYING contrib/emacs contrib/importers contrib/vim %{_bindir}/pass %{_datadir}/bash-completion/completions/pass %{_datadir}/fish/vendor_completions.d/pass.fish %{_datadir}/zsh/site-functions/_pass %doc %{_mandir}/man1/* +%files -n passmenu +%doc contrib/dmenu/README.md +%{_bindir}/passmenu + %changelog * Tue Aug 01 2017 Carl George - 1.7.1-4 - Require git-core instead of git rhbz#1471608 +- Add passmenu subpackage rhbz#1474833 * Thu Jul 27 2017 Fedora Release Engineering - 1.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild