]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Random.git/blob - perl-Crypt-OpenSSL-Random.spec
bda23efa74d771e3c5e1f58ed49281e5eda85d76
[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.03
12 Release:        6
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  c6bae9c3ced1e08ffcd57120bf247a7a
17 URL:            http://search.cpan.org/dist/Crypt-OpenSSL-Random/
18 BuildRequires:  openssl-devel >= 0.9.7d
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Crypt::OpenSSL::Random provides the ability to seed and query the
25 OpenSSL library's pseudo-random number generator.
26
27 %description -l pl.UTF-8
28 Moduł Crypt::OpenSSL::Random daje możliwość zasilania oraz odpytywanie
29 generatora liczb pseudolosowych z biblioteki OpenSSL.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes
55 %{perl_vendorarch}/Crypt/OpenSSL/Random.pm
56 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Random
57 %{perl_vendorarch}/auto/Crypt/OpenSSL/Random/*.bs
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.030241 seconds and 2 git commands to generate.