3 %bcond_without tests # Do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam OpenSSL-Bignum
8 Summary: Crypt::OpenSSL::Bignum - OpenSSL's multiprecision integer arithmetic
9 Summary(pl): Crypt::OpenSSL::Bignum - arytmetyka liczb ca³kowitych du¿ej precyzji z OpenSSL
10 Name: perl-Crypt-OpenSSL-Bignum
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: b526c1554b2f3bf7d94bf0c8c474fd2d
18 BuildRequires: openssl-devel >= 0.9.7d
19 BuildRequires: perl-devel >= 5.6.1
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Crypt::OpenSSL::Bignum provides access to OpenSSL multiprecision
25 integer arithmetic libraries. Presently, many though not all of the
26 arithmetic operations that OpenSSL provides are exposed to Perl. In
27 addition, this module can be used to provide access to bignum values
28 produced by other OpenSSL modules, such as key parameters from
32 Crypt::OpenSSL::Bignum daje dostêp do bibliotek arytmetyki
33 liczb ca³kowitych du¿ej precyzji z OpenSSL. Aktualnie wiele, ale nie
34 wszystkie, operacje arytmetyczne udostêpniane przez OpenSSL s±
35 dostêpne z Perla. Ponadto ten modu³ mo¿e byæ u¿ywany do udostêpnienia
36 du¿ych warto¶ci produkowanych przez inne modu³y OpenSSL, takie jak
37 parametry klucza z Crypt::OpenSSL::RSA.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
45 %{__make} OPTIMIZE="%{rpmcflags}"
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorarch}/Crypt/OpenSSL/Bignum.pm
61 %{perl_vendorarch}/Crypt/OpenSSL/Bignum
62 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum
63 %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.bs
64 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.so