2009-06-19 14:46:14 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Crypt-DES_EDE3
|
2011-11-17 14:03:44 +00:00
|
|
|
#
|
2024-07-19 23:17:26 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-06-19 14:46:14 +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.
|
|
|
|
|
2024-07-19 23:17:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-06-19 14:46:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-11-17 14:03:44 +00:00
|
|
|
%define cpan_name Crypt-DES_EDE3
|
2024-07-19 23:17:26 +00:00
|
|
|
Name: perl-Crypt-DES_EDE3
|
2025-01-09 16:24:01 +00:00
|
|
|
Version: 0.30.0
|
2024-07-19 23:17:26 +00:00
|
|
|
Release: 0
|
2025-01-09 16:24:01 +00:00
|
|
|
# 0.03 -> normalize -> 0.30.0
|
|
|
|
%define cpan_version 0.03
|
2024-07-19 23:17:26 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2009-06-19 14:46:14 +00:00
|
|
|
Summary: Triple-DES EDE encryption/decryption
|
2024-07-19 23:17:26 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2025-01-09 16:24:01 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{cpan_version}.tar.gz
|
2025-08-12 18:12:48 +02:00
|
|
|
Source100: README.md
|
2024-07-19 23:17:26 +00:00
|
|
|
BuildArch: noarch
|
2009-06-19 14:46:14 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Crypt::DES)
|
2011-11-17 14:03:44 +00:00
|
|
|
Requires: perl(Crypt::DES)
|
2024-07-19 23:17:26 +00:00
|
|
|
Provides: perl(Crypt::DES_EDE3) = %{version}
|
|
|
|
%undefine __perllib_provides
|
|
|
|
%{perl_requires}
|
2006-10-31 15:07:37 +00:00
|
|
|
|
|
|
|
%description
|
2024-07-19 23:17:26 +00:00
|
|
|
_Crypt::DES_EDE3_ implements DES-EDE3 encryption. This is triple-DES
|
|
|
|
encryption where an encrypt operation is encrypt-decrypt-encrypt, and
|
|
|
|
decrypt is decrypt-encrypt-decrypt. This implementation uses _Crypt::DES_
|
|
|
|
to do its dirty DES work, and simply provides a wrapper around that module:
|
|
|
|
setting up the individual DES ciphers, initializing the keys, and
|
|
|
|
performing the encryption/decryption steps.
|
2011-11-17 14:03:44 +00:00
|
|
|
|
2024-07-19 23:17:26 +00:00
|
|
|
DES-EDE3 encryption requires a key size of 24 bytes.
|
2006-10-31 15:07:37 +00:00
|
|
|
|
2024-07-19 23:17:26 +00:00
|
|
|
You're probably best off not using this module directly, as the _encrypt_
|
|
|
|
and _decrypt_ methods expect 8-octet blocks. You might want to use the
|
|
|
|
module in conjunction with _Crypt::CBC_, for example. This would be
|
|
|
|
DES-EDE3-CBC, or triple-DES in outer CBC mode.
|
2006-10-31 15:07:37 +00:00
|
|
|
|
|
|
|
%prep
|
2024-07-19 23:17:26 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2006-10-31 15:07:37 +00:00
|
|
|
|
|
|
|
%build
|
2024-07-19 23:17:26 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2006-10-31 15:07:37 +00:00
|
|
|
|
2009-06-19 14:46:14 +00:00
|
|
|
%check
|
2024-07-19 23:17:26 +00:00
|
|
|
make test
|
2009-06-19 14:46:14 +00:00
|
|
|
|
2006-10-31 15:07:37 +00:00
|
|
|
%install
|
2009-06-19 14:46:14 +00:00
|
|
|
%perl_make_install
|
2006-10-31 15:07:37 +00:00
|
|
|
%perl_process_packlist
|
2009-06-19 14:46:14 +00:00
|
|
|
%perl_gen_filelist
|
2006-10-31 15:07:37 +00:00
|
|
|
|
2009-06-19 14:46:14 +00:00
|
|
|
%files -f %{name}.files
|
2024-07-19 23:17:26 +00:00
|
|
|
%doc Changes README
|
2025-01-09 16:24:01 +00:00
|
|
|
%license LICENSE
|
2006-10-31 15:07:37 +00:00
|
|
|
|
|
|
|
%changelog
|