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