forked from pool/perl-Crypt-OpenSSL-Random
- Fix autogenerated changes to build again - updated to 0.15 see /usr/share/doc/packages/perl-Crypt-OpenSSL-Random/Changes 0.15 2018-04-22 rurban - fix mingw hints for pkg-config support (akiym, PR #7) - updated to 0.14 see /usr/share/doc/packages/perl-Crypt-OpenSSL-Random/Changes 0.14 2018-04-17 rurban - add library paths to LIBS from Crypt::OpenSSL::Guess (akiym, PR #6) - updated to 0.13 see /usr/share/doc/packages/perl-Crypt-OpenSSL-Random/Changes 0.13 2018-04-14 rurban - move Crypt::OpenSSL::Guess to configure dependency. (grinnz, PR #4) - updated to 0.12 see /usr/share/doc/packages/perl-Crypt-OpenSSL-Random/Changes 0.12 2018-04-13 rurban - use Crypt::OpenSSL::Guess to resolve OpenSSL include path, fixes MacOS's homebrew OpenSSL installation problem. (akiym, PR #3) OBS-URL: https://build.opensuse.org/request/show/640380 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-OpenSSL-Random?expand=0&rev=29
64 lines
1.9 KiB
RPMSpec
64 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-Crypt-OpenSSL-Random
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-Crypt-OpenSSL-Random
|
|
Version: 0.15
|
|
Release: 0
|
|
%define cpan_name Crypt-OpenSSL-Random
|
|
Summary: OpenSSL/LibreSSL pseudo-random number generator access
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/Crypt-OpenSSL-Random/
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Crypt::OpenSSL::Guess) >= 0.11
|
|
%{perl_requires}
|
|
#MANUAL
|
|
BuildRequires: openssl-devel
|
|
|
|
%description
|
|
'Crypt::OpenSSL::Random' provides the ability to seed and query the
|
|
*OpenSSL* and *LibreSSL* library's pseudo-random number generators.
|
|
|
|
Note: On *LibreSSL* 'random_egd()' is not defined.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc Changes README
|
|
%license LICENSE
|
|
|
|
%changelog
|