]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Random.git/blob - perl-Crypt-OpenSSL-Random.spec
- release 9 (by relup.sh)
[packages/perl-Crypt-OpenSSL-Random.git] / perl-Crypt-OpenSSL-Random.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # Do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Crypt
7 %define         pnam    OpenSSL-Random
8 Summary:        Crypt::OpenSSL::Random - accessing the OpenSSL pseudo-random number generator
9 Summary(pl.UTF-8):      Crypt::OpenSSL::Random - dostęp do generatora liczb pseudolosowych z OpenSSL
10 Name:           perl-Crypt-OpenSSL-Random
11 Version:        0.04
12 Release:        9
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  c56ac5dbdd46122eb9b8da59613b7b0a
18 URL:            http://search.cpan.org/dist/Crypt-OpenSSL-Random/
19 BuildRequires:  openssl-devel >= 0.9.7d
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Crypt::OpenSSL::Random provides the ability to seed and query the
26 OpenSSL library's pseudo-random number generator.
27
28 %description -l pl.UTF-8
29 Moduł Crypt::OpenSSL::Random daje możliwość zasilania oraz odpytywanie
30 generatora liczb pseudolosowych z biblioteki OpenSSL.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make} \
39         CC="%{__cc}" \
40         OPTIMIZE="%{rpmcflags}"
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes
56 %{perl_vendorarch}/Crypt/OpenSSL/Random.pm
57 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Random
58 %{perl_vendorarch}/auto/Crypt/OpenSSL/Random/autosplit.ix
59 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/Random/*.so
60 %{_mandir}/man3/*
This page took 0.126977 seconds and 3 git commands to generate.