]>
Commit | Line | Data |
---|---|---|
5b0886c7 JB |
1 | # |
2 | # Conditional build: | |
a3bf894e | 3 | %bcond_without tests # Do not perform "make test" |
5b0886c7 JB |
4 | # |
5 | %include /usr/lib/rpm/macros.perl | |
8281fa70 | 6 | %define pdir Crypt |
7 | %define pnam OpenSSL-Bignum | |
5b0886c7 | 8 | Summary: Crypt::OpenSSL::Bignum - OpenSSL's multiprecision integer arithmetic |
413bbf7e | 9 | Summary(pl.UTF-8): Crypt::OpenSSL::Bignum - arytmetyka liczb całkowitych dużej precyzji z OpenSSL |
5b0886c7 | 10 | Name: perl-Crypt-OpenSSL-Bignum |
68ad2021 | 11 | Version: 0.06 |
68965509 | 12 | Release: 5 |
a504f560 | 13 | # same as perl |
5b0886c7 JB |
14 | License: GPL v1+ or Artistic |
15 | Group: Development/Languages/Perl | |
9e63dbbc | 16 | Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz |
68ad2021 | 17 | # Source0-md5: 5673ee17919231c6394382e48f80c582 |
9e63dbbc | 18 | URL: http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/ |
56464c58 | 19 | BuildRequires: openssl-devel >= 0.9.7d |
2c83645f | 20 | BuildRequires: perl-devel >= 1:5.8.0 |
5b0886c7 JB |
21 | BuildRequires: rpm-perlprov >= 4.1-13 |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Crypt::OpenSSL::Bignum provides access to OpenSSL multiprecision | |
26 | integer arithmetic libraries. Presently, many though not all of the | |
27 | arithmetic operations that OpenSSL provides are exposed to Perl. In | |
28 | addition, this module can be used to provide access to bignum values | |
29 | produced by other OpenSSL modules, such as key parameters from | |
30 | Crypt::OpenSSL::RSA. | |
31 | ||
7433739f JR |
32 | %description -l pl.UTF-8 |
33 | Crypt::OpenSSL::Bignum daje dostęp do bibliotek arytmetyki | |
34 | liczb całkowitych dużej precyzji z OpenSSL. Aktualnie wiele, ale nie | |
35 | wszystkie, operacje arytmetyczne udostępniane przez OpenSSL są | |
36 | dostępne z Perla. Ponadto ten moduł może być używany do udostępnienia | |
37 | dużych wartości produkowanych przez inne moduły OpenSSL, takie jak | |
5b0886c7 JB |
38 | parametry klucza z Crypt::OpenSSL::RSA. |
39 | ||
40 | %prep | |
41 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
42 | ||
43 | %build | |
44 | %{__perl} Makefile.PL \ | |
da0eeb31 | 45 | INSTALLDIRS=vendor |
53253505 | 46 | %{__make} \ |
f9d10b22 | 47 | CC="%{__cc}" \ |
53253505 | 48 | OPTIMIZE="%{rpmcflags}" |
5b0886c7 | 49 | |
a3bf894e | 50 | %{?with_tests:%{__make} test} |
5b0886c7 JB |
51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
53253505 | 55 | %{__make} install \ |
56 | DESTDIR=$RPM_BUILD_ROOT | |
5b0886c7 JB |
57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc Changes README | |
64 | %{perl_vendorarch}/Crypt/OpenSSL/Bignum.pm | |
65 | %{perl_vendorarch}/Crypt/OpenSSL/Bignum | |
66 | %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum | |
5b0886c7 | 67 | %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.so |
9e63dbbc | 68 | %{_mandir}/man3/Crypt::OpenSSL::Bignum*.3pm* |