]> git.pld-linux.org Git - packages/perl-Crypt-Random.git/blob - perl-Crypt-Random.spec
- merge from RA-branch: up to 1.13, informative descriptions, tests on bcond
[packages/perl-Crypt-Random.git] / perl-Crypt-Random.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    Random
8 Summary:        Crypt::Random - cryptographically secure, true random number generator
9 Summary(pl):    Crypt::Random - bezpieczny kryptograficznie, prawdziwy generator liczb losowych
10 Name:           perl-Crypt-Random
11 Version:        1.13
12 Release:        2
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.6.1
17 BuildRequires:  perl-Class-Loader >= 2.00
18 BuildRequires:  perl-Math-Pari >= 2.001804
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Crypt::Random is an interface module to the /dev/random device found
25 on most modern Unix systems. The /dev/random driver gathers
26 environmental noise from various non-deterministic sources including
27 inter-keyboard timings and inter-interrupt timings that occur within
28 the operating system environment.
29
30 %description -l pl
31 Modu³ Perla Crypt::Random stanowi interfejs do urz±dzenia /dev/random
32 znajduj±cego siê w wiêkszo¶ci wspó³czesnych systemów uniksowych.
33 Sterownik /dev/random gromadzi szum pochodz±cy z ró¿nych
34 niedeterministycznych ¼róde³, w³±czaj±c w to: przebiegi czasowe
35 klawiatury i przerwañ wystêpuj±ce w systemie operacyjnym.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor 
43 %{__make}
44
45 %{!?_without_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %attr(755,root,root) %{_bindir}/*
59 %{perl_vendorlib}/Crypt/Random.pm
60 %{perl_vendorlib}/Crypt/Random
61 #%%{perl_vendorlib}/Crypt/Random/Generator.pm
62 %{_mandir}/man3/*
This page took 0.361786 seconds and 3 git commands to generate.