Initial packaging of perl-Crypt-RC4.

This was submitted for review in Fedora on Mon Jun 27 2011:
    https://bugzilla.redhat.com/show_bug.cgi?id=716777#c0
epel9
Mathieu Bridon 14 years ago
parent f15acec585
commit 7d1c47054e

@ -0,0 +1,58 @@
Name: perl-Crypt-RC4
Version: 2.02
Release: 1%{?dist}
Summary: Perl implementation of the RC4 encryption algorithm
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-RC4/
Source0: http://www.cpan.org/authors/id/S/SI/SIFUKURT/Crypt-RC4-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
A simple implementation of the RC4 algorithm, developed by RSA Security,
Inc. Here is the description from RSA's website:
RC4 is a stream cipher designed by Rivest for RSA Data Security (now RSA
Security). It is a variable key-size stream cipher with byte-oriented
operations. The algorithm is based on the use of a random permutation. Analysis
shows that the period of the cipher is overwhelmingly likely to be greater than
10100. Eight to sixteen machine operations are required per output byte, and
the cipher can be expected to run very quickly in software. Independent analysts
have scrutinized the algorithm and it is considered secure.
%prep
%setup -q -n Crypt-RC4-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Jun 27 2011 Mathieu Bridon <bochecha@fedoraproject.org> 2.02-1
- Specfile autogenerated by cpanspec 1.78.
Loading…
Cancel
Save