3 %bcond_without tests # do not perform "make test"
7 Summary: Crypt::Random - cryptographically secure, true random number generator
8 Summary(pl.UTF-8): Crypt::Random - bezpieczny kryptograficznie, prawdziwy generator liczb losowych
9 Name: perl-Crypt-Random
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: 5730c9d5acdd698790216d354ffb0513
17 Patch0: %{name}-no_Class_Loader.patch
18 URL: http://search.cpan.org/dist/Crypt-Random/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Math-Pari >= 2.001804
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Crypt::Random is an interface module to the /dev/random device found
29 on most modern Unix systems. The /dev/random driver gathers
30 environmental noise from various non-deterministic sources including
31 inter-keyboard timings and inter-interrupt timings that occur within
32 the operating system environment.
34 %description -l pl.UTF-8
35 Moduł Perla Crypt::Random stanowi interfejs do urządzenia /dev/random
36 znajdującego się w większości współczesnych systemów uniksowych.
37 Sterownik /dev/random gromadzi szum pochodzący z różnych
38 niedeterministycznych źródeł, włączając w to: przebiegi czasowe
39 klawiatury i przerwań występujące w systemie operacyjnym.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_bindir}/*
65 %{perl_vendorlib}/Crypt/Random.pm
66 %{perl_vendorlib}/Crypt/Random
67 #%%{perl_vendorlib}/Crypt/Random/Generator.pm