3 %bcond_without tests # Do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Crypt::Keys Perl module - public and private key management
9 Summary(pl.UTF-8): Moduł Perla Crypt::Keys - zarządzający kluczami publicznymi i prywatnymi
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 6c375a9d965ff86d3ae967b9e6bbaf36
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-Convert-PEM >= 0.05
20 BuildRequires: perl-Crypt-CBC >= 2.00
21 BuildRequires: perl-Crypt-DES
22 BuildRequires: perl-Data-Buffer
23 BuildRequires: perl-Digest-MD5
24 BuildRequires: perl-MIME-Base64
25 BuildRequires: perl-Math-Pari >= 2.001804
26 BuildRequires: rpm-perlprov >= 4.1-13
27 Requires: perl-Convert-PEM >= 0.05
28 Requires: perl-Crypt-CBC >= 2.00
29 Requires: perl-Math-Pari >= 2.001804
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Crypt::Keys is an on-disk key management system for public and private
35 keyfiles. The goal of the module is to be able to read and write
36 crypto keys in any encoding (eg. PEM, SSH, etc.). It can be used as a
37 front-end for key management, but it does not contain implementations
38 of any of the assymetric cryptography algorithms represented by the
39 keys that it manages. In other words, you can use it to read and write
40 your DSA/RSA/etc. keys, but it does not generate new keys or
43 %description -l pl.UTF-8
44 Crypt::Keys to system do zarządzania kluczami publicznymi i prywatnymi
45 przechowywanymi na dysku. Celem tego modułu jest umożliwienie odczytu
46 i zapisu kluczy kryptograficznych o dowolnym kodowaniu (PEM, SSH
47 itd.). Może być używany jako interfejs do zarządzania kluczami, ale
48 nie zawiera implementacji żadnego algorytmu kryptograficznego
49 reprezentowanego przez klucze, którymi zarządza. Innymi słowy, potrafi
50 odczytywać i zapisywać klucze DSA/RSA/itp., ale nie jest w stanie
51 wygenerować nowych kluczy ani odszyfrować czy zaszyfrować danych.
54 %setup -q -n %{pdir}-%{pnam}-%{version}
57 %{__perl} Makefile.PL \
62 %{?with_tests:%{__make} test}
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc Changes README ToDo
76 %{perl_vendorlib}/Crypt/Keys.pm
77 %{perl_vendorlib}/Crypt/Keys