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