3 %bcond_without tests # do not perform "make test"
7 Summary: File::KeePass - Interface to KeePass V1 and V2 database files
8 Name: perl-File-KeePass
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 085da6ef1ada886ca3e9b8724fc213b3
16 URL: http://search.cpan.org/dist/File-KeePass/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl(Crypt::Rijndael) >= 1.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 File::KeePass gives access to KeePass version 1 (kdb) and version 2
29 The version 1 and version 2 databases are very different in
30 construction, but the majority of information overlaps and many
31 algorithms are similar. File::KeePass attempts to iron out as many of
34 File::KeePass gives nearly raw data access. There are a few utility
35 methods for manipulating groups and entries. More advanced
36 manipulation can easily be layered on top by other modules.
38 File::KeePass is only used for reading and writing databases and for
39 keeping passwords scrambled while in memory. Programs dealing with UI
40 or using of auto-type features are the domain of other modules on
41 CPAN. File::KeePass::Agent is one example.
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
56 %{__make} pure_install \
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorlib}/File/*.pm
66 #{perl_vendorlib}/File/KeePass