2013-10-22 09:20:15 +00:00
#
# spec file for package perl-Crypt-OpenSSL-PBKDF2
#
2024-07-19 23:32:17 +00:00
# Copyright (c) 2024 SUSE LLC
2013-10-22 09:20:15 +00:00
#
# 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.
2018-10-06 11:45:01 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2013-10-22 09:20:15 +00:00
#
2024-07-19 23:32:17 +00:00
%define cpan_name Crypt-OpenSSL-PBKDF2
2013-10-22 09:20:15 +00:00
Name : perl-Crypt-OpenSSL-PBKDF2
2024-07-19 23:32:17 +00:00
Version : 0.40.0
2013-10-22 09:20:15 +00:00
Release : 0
2024-07-19 23:32:17 +00:00
# 0.04 -> normalize -> 0.40.0
%define cpan_version 0.04
#Upstream: Crypt::OpenSSL::PBKDF2 is free software; you may redistribute it and/or modify it under the terms of GNU GPLv2 (or later version) or Artistic License. The full text of the license can be found in the LICENSE file included with this module.
2018-10-06 11:45:01 +00:00
License : Artistic-1.0 OR GPL-2.0-or-later
2024-07-19 23:32:17 +00:00
Summary : Wrapper for PBKDF2 keys derivation function of the OpenSSL library
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/S/SK/SKUPSY/OpenSSL/%{cpan_name} -%{cpan_version} .tar.gz
2018-10-06 11:45:01 +00:00
Source1 : cpanspec.yml
2025-08-12 18:12:50 +02:00
Source100 : README.md
2013-10-22 09:20:15 +00:00
BuildRequires : perl
BuildRequires : perl-macros
2024-07-19 23:32:17 +00:00
Provides : perl(Crypt::OpenSSL::PBKDF2) = %{version}
%undefine __perllib_provides
2013-10-22 09:20:15 +00:00
%{perl_requires}
2024-07-19 23:32:17 +00:00
# MANUAL BEGIN
BuildRequires : openssl-devel
# MANUAL END
2013-10-22 09:20:15 +00:00
%description
Crypt::OpenSSL::PBKDF2 provides the ability to derive a key from a
passphrase using OpenSSL library's PBKDF2 function
%prep
2024-07-19 23:32:17 +00:00
%autosetup -n %{cpan_name} -%{cpan_version}
2013-10-22 09:20:15 +00:00
%build
2018-10-06 11:45:01 +00:00
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=" %{optflags} "
2024-07-19 23:32:17 +00:00
%make_build
2013-10-22 09:20:15 +00:00
%check
2018-10-06 11:45:01 +00:00
make test
2013-10-22 09:20:15 +00:00
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
2018-10-06 11:45:01 +00:00
%doc Changes README
%license LICENSE
2013-10-22 09:20:15 +00:00
%changelog