1 Summary: KeePassX command line interface
6 License: GPL v1+ or Artistic
8 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.pl
9 # Source0-md5: b03cac8d6a7345ea45eaa52ccca18ed1
10 Source1: http://downloads.sourceforge.net/%{name}/README
11 # Source1-md5: 4604f092c09bcb8b659465deb3b90f9b
12 URL: http://kpcli.sourceforge.net/
13 Requires: perl-Crypt-Rijndael
14 Requires: perl-Term-ReadKey
15 Requires: perl-Sort-Naturally
16 Requires: perl-File-KeePass
17 # required one of Term::ReadLine::*
18 Requires: perl-Term-ReadLine-Gnu
19 Requires: perl-Term-ShellUI
20 Suggests: perl-Clipboard
21 Suggests: perl-Tiny-Capture
22 Suggests: perl-Data-Password
23 Suggests: perl-Crypt-PWSafe3
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 A command line interface (interactive shell) to work with KeePass 1.x or 2.x database files.
31 cp %{SOURCE0} kpcli.pl
35 rm -rf $RPM_BUILD_ROOT
37 %{__install} -d $RPM_BUILD_ROOT%{_bindir}
38 %{__install} kpcli.pl $RPM_BUILD_ROOT%{_bindir}
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/*