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