[packages/kpcli] initial version
sls
sls at pld-linux.org
Fri Jan 22 23:19:50 CET 2016
commit 36bf205c93694610660fc80df948b3983e933e2d
Author: Szymon Siwek <sls at pld-linux.org>
Date: Fri Jan 22 23:03:51 2016 +0100
initial version
kpcli.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
---
diff --git a/kpcli.spec b/kpcli.spec
new file mode 100644
index 0000000..860acf4
--- /dev/null
+++ b/kpcli.spec
@@ -0,0 +1,45 @@
+Summary: KeePassX command line interface
+Name: kpcli
+Version: 3.0
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Applications
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.pl
+# Source0-md5: b03cac8d6a7345ea45eaa52ccca18ed1
+Source1: http://downloads.sourceforge.net/%{name}/README
+# Source1-md5: 4604f092c09bcb8b659465deb3b90f9b
+URL: http://kpcli.sourceforge.net/
+Requires: perl-Crypt-Rijndael
+Requires: perl-Term-ReadKey
+Requires: perl-Sort-Naturally
+Requires: perl-File-KeePass
+Requires: perl-Term-ShellUI
+Suggests: perl-Term-ReadLine-Gnu
+Suggests: perl-Clipboard
+Suggests: perl-Tiny-Capture
+Suggests: perl-Data-Password
+Suggests: perl-Crypt-PWSafe3
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A command line interface (interactive shell) to work with KeePass 1.x or 2.x database files.
+
+%prep
+%setup -q -c -T
+cp %{SOURCE0} kpcli.pl
+cp %{SOURCE1} README
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__install} -d $RPM_BUILD_ROOT%{_bindir}
+%{__install} kpcli.pl $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kpcli.git/commitdiff/36bf205c93694610660fc80df948b3983e933e2d
More information about the pld-cvs-commit
mailing list