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