Accepting request 1113742 from devel:languages:perl:autoupdate

- updated to 0.10
   see /usr/share/doc/packages/perl-Crypt-OpenSSL-AES/Changes

OBS-URL: https://build.opensuse.org/request/show/1113742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-OpenSSL-AES?expand=0&rev=6
This commit is contained in:
2023-09-28 10:54:35 +00:00
committed by Git OBS Bridge
parent 5b39a5fb69
commit aa7ede134b
5 changed files with 89 additions and 49 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b66fab514edf97fc32f58da257582704a210c2b35e297d5c31b7fa2ffd08e908
size 12487

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ea6fa907aa5d5fb568089803433fde60c0ed6a5a39d4bfee131620f7c957ddd
size 151891

36
cpanspec.yml Normal file
View File

@@ -0,0 +1,36 @@
---
description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
preamble: |-
BuildRequires: openssl-devel
Requires: openssl
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 23 03:06:52 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.10
see /usr/share/doc/packages/perl-Crypt-OpenSSL-AES/Changes
-------------------------------------------------------------------
Wed Dec 1 13:31:17 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Crypt-OpenSSL-AES
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,73 +12,71 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
%define cpan_name Crypt-OpenSSL-AES
Name: perl-Crypt-OpenSSL-AES
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: A Perl wrapper around OpenSSL's AES library
Version: 0.02
Release: 1
License: artistic
Group: Applications/CPAN
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
Version: 0.100.0
Release: 0
%define cpan_version 0.10
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl wrapper around OpenSSL's AES library
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Module::Build)
# other not perl || perl-base
BuildRequires: perl(Crypt::CBC)
BuildRequires: perl(Crypt::Cipher::AES)
BuildRequires: perl(Crypt::Digest::SHA512_256)
BuildRequires: perl(Crypt::Mode::CBC)
BuildRequires: perl(Crypt::Mode::CFB)
BuildRequires: perl(Crypt::Mode::CTR)
BuildRequires: perl(Crypt::Mode::ECB)
BuildRequires: perl(Crypt::Mode::OFB)
BuildRequires: perl(Crypt::OpenSSL::Guess)
BuildRequires: perl(Crypt::PRNG)
BuildRequires: perl(Digest::SHA)
Provides: perl(Crypt::OpenSSL::AES) = 0.100.0
%define __perllib_provides /bin/true
%{perl_requires}
# MANUAL BEGIN
BuildRequires: openssl-devel
# other not perl || perl-base
Requires: openssl
Requires: openssl
# MANUAL END
%description
%{cpan_name} module for perl
This module implements a wrapper around OpenSSL. Specifically, it wraps the
methods related to the US Government's Advanced Encryption Standard (the
Rijndael algorithm). The original version supports only AES 256 ECB
(electronic codebook mode encryption).
This is Crypt::OpenSSL::AES version 0.02, an XS-wrapper around
OpenSSL`s AES (Advanced Encryption Standard) library.
This module is compatible with Crypt::CBC (and likely other modules that
utilize a block cipher to make a stream cipher).
This module is an alternative to the implementation provided by
Crypt::Rijndael which implements AES itself. In contrast, this
module is simply a wrapper around the OpenSSL library.
The Crypt::Rijndael implementation seems to produce inaccurate
results on 64-bit x86 machines. By using OpenSSL, this module
aims to avoid architecture specific problems, allowing the OpenSSL
maintainers to overcome such issues.
Author: Tolga Tarhan, <cpan at ttar dot org>
Crypt::Rijndael which implements AES itself. In contrast, this module is
simply a wrapper around the OpenSSL library.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%doc Changes README
%license LICENSE
%changelog