[packages/perl-File-KeePass: 1/3] initial version (by plcpan) (required by kpcli)

sls sls at pld-linux.org
Fri Jan 22 23:18:25 CET 2016


commit 644df503e7329de5d08555b70292b7b578df379c
Author: Szymon Siwek <sls at pld-linux.org>
Date:   Sat Jan 16 23:27:55 2016 +0100

    initial version (by plcpan) (required by kpcli)

 perl-File-KeePass.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
---
diff --git a/perl-File-KeePass.spec b/perl-File-KeePass.spec
new file mode 100644
index 0000000..88100c7
--- /dev/null
+++ b/perl-File-KeePass.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	File
+%define		pnam	KeePass
+%include	/usr/lib/rpm/macros.perl
+Summary:	File::KeePass - Interface to KeePass V1 and V2 database files
+Name:		perl-File-KeePass
+Version:	2.03
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	085da6ef1ada886ca3e9b8724fc213b3
+URL:		http://search.cpan.org/dist/File-KeePass/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Crypt::Rijndael) >= 1.0
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+File::KeePass gives access to KeePass version 1 (kdb) and version 2
+(kdbx) databases.
+
+The version 1 and version 2 databases are very different in
+construction, but the majority of information overlaps and many
+algorithms are similar.  File::KeePass attempts to iron out as many of
+the differences.
+
+File::KeePass gives nearly raw data access.  There are a few utility
+methods for manipulating groups and entries.  More advanced
+manipulation can easily be layered on top by other modules.
+
+File::KeePass is only used for reading and writing databases and for
+keeping passwords scrambled while in memory.  Programs dealing with UI
+or using of auto-type features are the domain of other modules on
+CPAN.  File::KeePass::Agent is one example.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/File/*.pm
+#{perl_vendorlib}/File/KeePass
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-File-KeePass.git/commitdiff/6353b3d89fd515cdffa69b37b6d1dede77314a31



More information about the pld-cvs-commit mailing list