commit 7d1c47054ed883a31ccf7f3eed1b0160ccf61522 Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> Date: Mon Jun 27 11:19:24 2011 +0800 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 perl-Crypt-RC4.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/perl-Crypt-RC4.spec b/perl-Crypt-RC4.spec new file mode 100644 index 0000000..e3782da --- /dev/null +++ b/perl-Crypt-RC4.spec @@ -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@xxxxxxxxxxxxxxxxx> 2.02-1 +- Specfile autogenerated by cpanspec 1.78. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel