]> git.pld-linux.org Git - packages/perl-Crypt-Keys.git/blame - perl-Crypt-Keys.spec
use generic url
[packages/perl-Crypt-Keys.git] / perl-Crypt-Keys.spec
CommitLineData
e115c8f4 1#
899e3cce 2# Conditional build:
3%bcond_without tests # Do not perform "make test"
80176dff 4
dc623c77 5%define pdir Crypt
6%define pnam Keys
80176dff 7%include /usr/lib/rpm/macros.perl
430d1352 8Summary: Crypt::Keys Perl module - public and private key management
debe3d17 9Summary(pl.UTF-8): Moduł Perla Crypt::Keys - zarządzający kluczami publicznymi i prywatnymi
430d1352
JB
10Name: perl-Crypt-Keys
11Version: 0.06
dd885995 12Release: 3
acd44504 13# same as perl
14License: GPL v1+ or Artistic
430d1352 15Group: Development/Languages/Perl
5452efe9 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
1bbde35a 17# Source0-md5: 6c375a9d965ff86d3ae967b9e6bbaf36
80176dff 18URL: http://search.cpan.org/dist/Crypt-Keys/
430d1352
JB
19BuildRequires: perl-Convert-PEM >= 0.05
20BuildRequires: perl-Crypt-CBC >= 2.00
21BuildRequires: perl-Crypt-DES
22BuildRequires: perl-Data-Buffer
23BuildRequires: perl-Digest-MD5
24BuildRequires: perl-MIME-Base64
25BuildRequires: perl-Math-Pari >= 2.001804
80176dff 26BuildRequires: perl-devel >= 1:5.8.0
ae0404f5 27BuildRequires: rpm-perlprov >= 4.1-13
430d1352
JB
28Requires: perl-Convert-PEM >= 0.05
29Requires: perl-Crypt-CBC >= 2.00
30Requires: perl-Math-Pari >= 2.001804
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Crypt::Keys is an on-disk key management system for public and private
36keyfiles. The goal of the module is to be able to read and write
37crypto keys in any encoding (eg. PEM, SSH, etc.). It can be used as a
38front-end for key management, but it does not contain implementations
39of any of the assymetric cryptography algorithms represented by the
40keys that it manages. In other words, you can use it to read and write
41your DSA/RSA/etc. keys, but it does not generate new keys or
42encrypt/sign data.
43
497bdd37
JR
44%description -l pl.UTF-8
45Crypt::Keys to system do zarządzania kluczami publicznymi i prywatnymi
46przechowywanymi na dysku. Celem tego modułu jest umożliwienie odczytu
430d1352 47i zapisu kluczy kryptograficznych o dowolnym kodowaniu (PEM, SSH
497bdd37
JR
48itd.). Może być używany jako interfejs do zarządzania kluczami, ale
49nie zawiera implementacji żadnego algorytmu kryptograficznego
50reprezentowanego przez klucze, którymi zarządza. Innymi słowy, potrafi
51odczytywać i zapisywać klucze DSA/RSA/itp., ale nie jest w stanie
52wygenerować nowych kluczy ani odszyfrować czy zaszyfrować danych.
430d1352
JB
53
54%prep
55%setup -q -n %{pdir}-%{pnam}-%{version}
56
57%build
e115c8f4 58%{__perl} Makefile.PL \
59 INSTALLDIRS=vendor \
60 < /dev/null
430d1352 61%{__make}
e115c8f4 62
899e3cce 63%{?with_tests:%{__make} test}
430d1352
JB
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
76%doc Changes README ToDo
ae0404f5 77%{perl_vendorlib}/Crypt/Keys.pm
78%{perl_vendorlib}/Crypt/Keys
430d1352 79%{_mandir}/man3/*
This page took 0.265887 seconds and 4 git commands to generate.