LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Crypt-Rainbow.spec of Package perl-Crypt-Rainbow (Project devel:languages:perl:CPAN-C)

# spec file for package perl-Crypt-Rainbow
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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 http://bugs.opensuse.org/

Name:           perl-Crypt-Rainbow
Version:        1.0.0
Release:        1
License:        on how to contact the author. This library is free software; you can redistribute it and/or modify it under the same terms as the GNU General Public License.
%define cpan_name Crypt-Rainbow
Summary:        Crypt::CBC-compliant block cipher
Url:            http://search.cpan.org/dist/Crypt-Rainbow/
Group:          Development/Libraries/Perl
Source:         http://www.cpan.org/authors/id/J/JC/JCDUQUE/%{cpan_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros

Rainbow is 128-bit block cipher that accepts a 128-bit key. Designed by
Chang-Hyi Lee and Jeong-Soo Kim of Samsung Advanced Institute of
Technology, Rainbow is similar to the block ciphers Square and Shark.

Rainbow was submitted as an *AES* candidate but was rejected because it was
deemed not ``complete and proper'', based on the requirements specified by
NIST in the Federal Register on September 12, 1997.

This module supports the Crypt::CBC interface, with the following

%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644

%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}

%{__make} test


%files -f %{name}.files
%doc Changes comments.jpg contact.html contact.jpg examples LICENSE README