]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-RSA.git/blame - perl-Crypt-OpenSSL-RSA.spec
- updated to 0.31
[packages/perl-Crypt-OpenSSL-RSA.git] / perl-Crypt-OpenSSL-RSA.spec
CommitLineData
ae9b64b7
JB
1#
2# Conditional build:
76301240 3%bcond_without tests # Do not perform "make test"
ae9b64b7 4#
03307636 5%define pdir Crypt
6%define pnam OpenSSL-RSA
ae9b64b7 7Summary: Crypt::OpenSSL::RSA - RSA encoding and decoding, using the OpenSSL libraries
f01a88e5 8Summary(pl.UTF-8): Crypt::OpenSSL::RSA - kodowanie i dekodowanie RSA przy użyciu OpenSSL
5eaa700c 9Name: perl-Crypt-OpenSSL-RSA
58a932e4
JB
10Version: 0.31
11Release: 1
0dc9f40a 12# same as perl
13License: GPL v1+ or Artistic
5eaa700c 14Group: Development/Languages/Perl
3ae18032 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
58a932e4
JB
16# Source0-md5: d33681e19d2094df7c26bc7a4509265e
17URL: https://metacpan.org/dist/Crypt-OpenSSL-RSA
37f90543 18BuildRequires: openssl-devel >= 0.9.7d
58a932e4
JB
19BuildRequires: perl-Crypt-OpenSSL-Guess >= 0.11
20BuildRequires: perl-ExtUtils-MakeMaker >= 6.48
a0e2336a 21BuildRequires: perl-devel >= 1:5.8.0
ec9b99c8 22BuildRequires: rpm-perlprov >= 4.1-13
58a932e4 23BuildRequires: rpmbuild(macros) >= 1.745
76301240 24%if %{with tests}
c2ed4ce9 25BuildRequires: perl-Crypt-OpenSSL-Random
58a932e4 26BuildRequires: perl-Test-Simple
c2ed4ce9 27%endif
5eaa700c
GS
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
b65e2d4a 31Crypt::OpenSSL::RSA provides the ability to RSA encrypt strings which
32are somewhat shorter than the block size of a key. It also allows for
33decryption, signatures and signature verification.
af5ac3b1 34
add9040a
JR
35%description -l pl.UTF-8
36Moduł Crypt::OpenSSL::RSA udostępnia możliwość kodowania algorytmem
37RSA łańcuchów, które są krótsze niż rozmiar bloku klucza. Pozwala
38także na odszyfrowywanie oraz weryfikację podpisów.
ae9b64b7 39
5eaa700c
GS
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
ec9b99c8 44%{__perl} Makefile.PL \
1080de59 45 INSTALLDIRS=vendor
9b69a8f5 46%{__make} \
9ad487c4 47 CC="%{__cc}" \
9b69a8f5 48 OPTIMIZE="%{rpmcflags}"
ae9b64b7 49
76301240 50%{?with_tests:%{__make} test}
5eaa700c
GS
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
9b69a8f5 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
5eaa700c 57
5eaa700c
GS
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
18869ad5 63%doc Changes README
ec9b99c8 64%{perl_vendorarch}/Crypt/OpenSSL/RSA.pm
65%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/RSA
66%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/*.al
ec9b99c8 67%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/autosplit.ix
58a932e4 68%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/RSA.so
a173b707 69%{_mandir}/man3/Crypt::OpenSSL::RSA.3pm*
This page took 0.134127 seconds and 4 git commands to generate.