]> git.pld-linux.org Git - packages/perl-Crypt-Random.git/blame - perl-Crypt-Random.spec
use generic url
[packages/perl-Crypt-Random.git] / perl-Crypt-Random.spec
CommitLineData
f3eb10e9 1#
b3d09cb6 2# Conditional build:
1d8e2fca 3%bcond_without tests # do not perform "make test"
5db3dbba 4
0d5c2ea5 5%define pdir Crypt
6%define pnam Random
5db3dbba 7%include /usr/lib/rpm/macros.perl
b3d09cb6 8Summary: Crypt::Random - cryptographically secure, true random number generator
2361c53f 9Summary(pl.UTF-8): Crypt::Random - bezpieczny kryptograficznie, prawdziwy generator liczb losowych
3c95d340 10Name: perl-Crypt-Random
78d0631f 11Version: 1.25
ec8aba24 12Release: 3
c1753f43 13# same as perl
14License: GPL v1+ or Artistic
3c95d340 15Group: Development/Languages/Perl
46d819a4 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
78d0631f 17# Source0-md5: 5730c9d5acdd698790216d354ffb0513
4c36e404 18Patch0: %{name}-no_Class_Loader.patch
5db3dbba
ER
19URL: http://search.cpan.org/dist/Crypt-Random/
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
1d8e2fca 22%if %{with tests}
7615c4eb 23BuildRequires: perl-Math-Pari >= 2.001804
1d8e2fca 24%endif
3c95d340
GS
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
b3d09cb6
JB
29Crypt::Random is an interface module to the /dev/random device found
30on most modern Unix systems. The /dev/random driver gathers
31environmental noise from various non-deterministic sources including
32inter-keyboard timings and inter-interrupt timings that occur within
33the operating system environment.
3c95d340 34
63ceaca4
JR
35%description -l pl.UTF-8
36Moduł Perla Crypt::Random stanowi interfejs do urządzenia /dev/random
37znajdującego się w większości współczesnych systemów uniksowych.
38Sterownik /dev/random gromadzi szum pochodzący z różnych
39niedeterministycznych źródeł, włączając w to: przebiegi czasowe
40klawiatury i przerwań występujące w systemie operacyjnym.
3c95d340
GS
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
4c36e404 44%patch0 -p1
3c95d340
GS
45
46%build
a4652ac2 47%{__perl} Makefile.PL \
82b46ca6 48 INSTALLDIRS=vendor
3c95d340
GS
49%{__make}
50
1d8e2fca 51%{?with_tests:%{__make} test}
b3d09cb6 52
3c95d340
GS
53%install
54rm -rf $RPM_BUILD_ROOT
55
1d8e2fca 56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
3c95d340 58
3c95d340
GS
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
7615c4eb
JB
64%doc Changes README
65%attr(755,root,root) %{_bindir}/*
a4652ac2 66%{perl_vendorlib}/Crypt/Random.pm
67%{perl_vendorlib}/Crypt/Random
68#%%{perl_vendorlib}/Crypt/Random/Generator.pm
3c95d340 69%{_mandir}/man3/*
This page took 0.058559 seconds and 4 git commands to generate.