]>
Commit | Line | Data |
---|---|---|
3cc18aa3 | 1 | %define pdir Crypt |
2 | %define pnam DH | |
558569cb | 3 | Summary: Crypt::DH Perl module - Diffie-Hellman key exchange system implementation |
eff035e2 | 4 | Summary(pl.UTF-8): Moduł Perla Crypt::DH - implementacja systemu wymiany kluczy Diffie-Hellman |
558569cb | 5 | Name: perl-Crypt-DH |
02cf44a1 MK |
6 | Version: 0.07 |
7 | Release: 1 | |
1b0660c9 | 8 | # same as perl |
9 | License: GPL v1+ or Artistic | |
558569cb | 10 | Group: Development/Languages/Perl |
88f9cee5 | 11 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
02cf44a1 | 12 | # Source0-md5: 5494c91420bf77de4af808fcafb6c3ce |
2d0561a7 | 13 | URL: http://search.cpan.org/dist/Crypt-DH/ |
02cf44a1 | 14 | BuildRequires: perl-ExtUtils-MakeMaker >= 6.56 |
b14f7ec1 | 15 | BuildRequires: perl-Math-BigInt >= 1.60 |
02cf44a1 | 16 | BuildRequires: perl-Math-BigInt-GMP >= 1.24 |
2d0561a7 | 17 | BuildRequires: perl-devel >= 1:5.8.0 |
489cfcc9 | 18 | BuildRequires: rpm-perlprov >= 4.1-13 |
b14f7ec1 | 19 | Requires: perl-Math-BigInt >= 1.60 |
02cf44a1 | 20 | Requires: perl-Math-BigInt-GMP >= 1.24 |
558569cb JB |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange | |
26 | system. Diffie-Hellman is an algorithm by which two parties can agree | |
27 | on a shared secret key, known only to them. The secret is negotiated | |
28 | over an insecure network without the two parties ever passing the | |
29 | actual shared secret, or their private keys, between them. | |
30 | ||
115d670e | 31 | %description -l pl.UTF-8 |
558569cb | 32 | Crypt::DH to perlowa implementacja systemu wymiany kluczy |
115d670e JR |
33 | Diffie-Hellman. Jest to algorytm, w którym dwie strony mogą zgodzić |
34 | się na wspólny tajny klucz, znany tylko im. Klucz jest negocjowany po | |
35 | nie zabezpieczonej sieci bez przesyłania właściwego klucza ani | |
36 | prywatnych kluczy między stronami. | |
558569cb JB |
37 | |
38 | %prep | |
39 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
40 | ||
41 | %build | |
489cfcc9 | 42 | %{__perl} Makefile.PL \ |
8024b57f | 43 | INSTALLDIRS=vendor |
558569cb JB |
44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc Changes README ToDo | |
489cfcc9 | 58 | %{perl_vendorlib}/Crypt/DH.pm |
558569cb | 59 | %{_mandir}/man3/* |