]> git.pld-linux.org Git - packages/perl-Crypt-DH.git/blame - perl-Crypt-DH.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Crypt-DH.git] / perl-Crypt-DH.spec
CommitLineData
3cc18aa3 1%define pdir Crypt
2%define pnam DH
558569cb 3Summary: Crypt::DH Perl module - Diffie-Hellman key exchange system implementation
eff035e2 4Summary(pl.UTF-8): Moduł Perla Crypt::DH - implementacja systemu wymiany kluczy Diffie-Hellman
558569cb 5Name: perl-Crypt-DH
02cf44a1
MK
6Version: 0.07
7Release: 1
1b0660c9 8# same as perl
9License: GPL v1+ or Artistic
558569cb 10Group: Development/Languages/Perl
88f9cee5 11Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
02cf44a1 12# Source0-md5: 5494c91420bf77de4af808fcafb6c3ce
2d0561a7 13URL: http://search.cpan.org/dist/Crypt-DH/
02cf44a1 14BuildRequires: perl-ExtUtils-MakeMaker >= 6.56
b14f7ec1 15BuildRequires: perl-Math-BigInt >= 1.60
02cf44a1 16BuildRequires: perl-Math-BigInt-GMP >= 1.24
2d0561a7 17BuildRequires: perl-devel >= 1:5.8.0
489cfcc9 18BuildRequires: rpm-perlprov >= 4.1-13
b14f7ec1 19Requires: perl-Math-BigInt >= 1.60
02cf44a1 20Requires: perl-Math-BigInt-GMP >= 1.24
558569cb
JB
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange
26system. Diffie-Hellman is an algorithm by which two parties can agree
27on a shared secret key, known only to them. The secret is negotiated
28over an insecure network without the two parties ever passing the
29actual shared secret, or their private keys, between them.
30
115d670e 31%description -l pl.UTF-8
558569cb 32Crypt::DH to perlowa implementacja systemu wymiany kluczy
115d670e
JR
33Diffie-Hellman. Jest to algorytm, w którym dwie strony mogą zgodzić
34się na wspólny tajny klucz, znany tylko im. Klucz jest negocjowany po
35nie zabezpieczonej sieci bez przesyłania właściwego klucza ani
36prywatnych 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
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -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/*
This page took 0.073562 seconds and 4 git commands to generate.