[packages/perl-Crypt-SysRandom] - new - release 1
adamg
adamg at pld-linux.org
Wed Nov 25 08:07:44 CET 2026
commit 26e88879bd1128b3ad8723ac18fd61a7ad950113
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Wed Nov 25 08:07:33 2026 +0100
- new
- release 1
perl-Crypt-SysRandom.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/perl-Crypt-SysRandom.spec b/perl-Crypt-SysRandom.spec
new file mode 100644
index 0000000..f320dc0
--- /dev/null
+++ b/perl-Crypt-SysRandom.spec
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define pdir Crypt
+%define pnam SysRandom
+Summary: Crypt::SysRandom - Perl interface to system randomness
+Summary(pl.UTF-8): Crypt::SysRandom - perlowy interfejs do systemowego źródła losowości
+Name: perl-Crypt-SysRandom
+Version: 0.008
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: https://www.cpan.org/modules/by-authors/id/L/LE/LEONT/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 1988f5297b80b73ba85aabd5b391d9f7
+URL: https://metacpan.org/dist/Crypt-SysRandom
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module uses whatever interface is available to procure
+cryptographically random data from the system.
+
+%description -l pl.UTF-8
+Ten moduł wykorzystuje dowolny dostępny interfejs do uzyskania
+kryptograficznie losowych danych z systemu.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Crypt/SysRandom.pm
+%{_mandir}/man3/Crypt::SysRandom.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-SysRandom.git/commitdiff/26e88879bd1128b3ad8723ac18fd61a7ad950113
More information about the pld-cvs-commit
mailing list