]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Bignum.git/blob - perl-Crypt-OpenSSL-Bignum.spec
- massive change: BR openssl-devel >= 0.9.7d
[packages/perl-Crypt-OpenSSL-Bignum.git] / perl-Crypt-OpenSSL-Bignum.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Crypt
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
11 Version:        0.03
12 Release:        1
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  b526c1554b2f3bf7d94bf0c8c474fd2d
17 BuildRequires:  openssl-devel >= 0.9.7d
18 BuildRequires:  perl-devel >= 5.6.1
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Crypt::OpenSSL::Bignum provides access to OpenSSL multiprecision
24 integer arithmetic libraries. Presently, many though not all of the
25 arithmetic operations that OpenSSL provides are exposed to Perl. In
26 addition, this module can be used to provide access to bignum values
27 produced by other OpenSSL modules, such as key parameters from
28 Crypt::OpenSSL::RSA.
29
30 %description -l pl
31 Crypt::OpenSSL::Bignum daje dostêp do bibliotek arytmetyki
32 liczb ca³kowitych du¿ej precyzji z OpenSSL. Aktualnie wiele, ale nie
33 wszystkie, operacje arytmetyczne udostêpniane przez OpenSSL s±
34 dostêpne z Perla. Ponadto ten modu³ mo¿e byæ u¿ywany do udostêpnienia
35 du¿ych warto¶ci produkowanych przez inne modu³y OpenSSL, takie jak
36 parametry klucza z Crypt::OpenSSL::RSA.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make} OPTIMIZE="%{rpmcflags}"
45
46 %{!?_without_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README
59 %{perl_vendorarch}/Crypt/OpenSSL/Bignum.pm
60 %{perl_vendorarch}/Crypt/OpenSSL/Bignum
61 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum
62 %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.bs
63 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.so
64 %{_mandir}/man3/*
This page took 0.099533 seconds and 3 git commands to generate.