Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-IDEA?expand=0&rev=12
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Crypt-IDEA
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,53 +12,50 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define modname Crypt-IDEA
|
||||
|
||||
Name: perl-%{modname}
|
||||
Version: 1.10
|
||||
%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
|
||||
License: Other License(s), see package
|
||||
Group: Development/Libraries/Perl
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Source: %{modname}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This perl extension is an implementation of the IDEA block cipher algorithm.
|
||||
The module implements the Crypt::BlockCipher interface.
|
||||
This perl extension is an implementation of the IDEA block cipher
|
||||
algorithm. The module implements the Crypt::BlockCipher interface, which
|
||||
has the following methods
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Systemics Ltd. <http://www.systemics.com/>
|
||||
* blocksize
|
||||
=item keysize
|
||||
=item encrypt
|
||||
=item decrypt
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README COPYRIGHT changes
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorarch}/Crypt
|
||||
%{perl_vendorarch}/auto/Crypt
|
||||
%files -f %{name}.files
|
||||
%doc changes COPYRIGHT README
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user