]> git.pld-linux.org Git - packages/perl-Crypt-RSA.git/blame - perl-Crypt-RSA.spec
- generic URL
[packages/perl-Crypt-RSA.git] / perl-Crypt-RSA.spec
CommitLineData
2fb54064 1#
2# Conditional build:
b415bdf0 3%bcond_without tests # do not perform "make test"
4
4c3f1528 5%include /usr/lib/rpm/macros.perl
922eab39 6%define pdir Crypt
7%define pnam RSA
4c3f1528 8Summary: Crypt::RSA Perl module - RSA public-key cryptosystem
b1c3d946 9Summary(pl.UTF-8): Moduł Perla Crypt::RSA - system kryptograficzny klucza publicznego RSA
4c3f1528 10Name: perl-Crypt-RSA
bd00a701 11Version: 1.58
9b871fff 12Release: 1
d4967266 13# same as perl
14License: GPL v1+ or Artistic
4c3f1528 15Group: Development/Languages/Perl
25859345 16Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
bd00a701 17# Source0-md5: fb0eb5f47f42eb8737e1ecfa28ed4523
25859345 18URL: http://search.cpan.org/dist/Crypt-RSA/
b415bdf0 19%if %{with tests}
4c3f1528
JB
20BuildRequires: perl-Convert-ASCII-Armour
21BuildRequires: perl-Class-Loader >= 2.00
b415bdf0 22BuildRequires: perl-Crypt-Blowfish
4c3f1528
JB
23BuildRequires: perl-Crypt-CBC
24BuildRequires: perl-Crypt-Primes >= 0.38
25BuildRequires: perl-Crypt-Random >= 0.33
26BuildRequires: perl-Data-Buffer
27BuildRequires: perl-Digest-MD2
28BuildRequires: perl-Digest-MD5
29BuildRequires: perl-Digest-SHA1
30BuildRequires: perl-Math-Pari >= 2.001804
31BuildRequires: perl-Sort-Versions
32BuildRequires: perl-Tie-EncryptedHash
b415bdf0 33%endif
bd9209bd 34BuildRequires: perl-devel >= 1:5.8.0
77774e9b 35BuildRequires: rpm-perlprov >= 4.1-13
4c3f1528
JB
36Requires: perl-Class-Loader >= 2.00
37Requires: perl-Crypt-Primes >= 0.38
38Requires: perl-Crypt-Random >= 0.33
39Requires: perl-Math-Pari >= 2.001804
40BuildArch: noarch
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44Crypt::RSA is a pure-perl, cleanroom implementation of the RSA
45public-key cryptosystem.
46
f4490e03
JR
47%description -l pl.UTF-8
48Moduł Crypt::RSA jest czysto perlową implementacją systemu
4c3f1528
JB
49kryptograficznego klucza publicznego RSA.
50
51%prep
52%setup -q -n %{pdir}-%{pnam}-%{version}
53
54%build
77774e9b 55%{__perl} Makefile.PL \
d4594029 56 INSTALLDIRS=vendor
4c3f1528
JB
57%{__make}
58
b415bdf0 59%{?with_tests:%{__make} test}
2fb54064 60
4c3f1528
JB
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc Changes TODO extradocs/*
77774e9b 73%{perl_vendorlib}/Crypt/RSA.pm
74%{perl_vendorlib}/Crypt/RSA
4c3f1528 75%{_mandir}/man3/*
This page took 0.110175 seconds and 4 git commands to generate.