63 lines
2.0 KiB
RPMSpec
63 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package perl-Crypt-IDEA
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define cpan_name Crypt-IDEA
|
|
Name: perl-Crypt-IDEA
|
|
Version: 1.100.0
|
|
Release: 0
|
|
# 1.10 -> normalize -> 1.100.0
|
|
%define cpan_version 1.10
|
|
License: ). The IDEA algorithm is patented in Europe and the United States by Ascom-Tech AG. Module altered between 1999 and 2005 to allow added functionality with perl -MCPAN, Changes by Dave Paris (edited lib paths, endian issues, new tests). Thank you to contributors for endian patches and new test suite!
|
|
Summary: Perl interface to IDEA block cipher
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source100: README.md
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This perl extension is an implementation of the IDEA block cipher
|
|
algorithm. The module implements the Crypt::BlockCipher interface, which
|
|
has the following methods
|
|
|
|
* blocksize
|
|
=item keysize
|
|
=item encrypt
|
|
=item decrypt
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc changes COPYRIGHT README
|
|
|
|
%changelog
|