You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
3.9 KiB
113 lines
3.9 KiB
Name: perl-Crypt-RC4
|
|
Version: 2.02
|
|
Release: 19%{?dist}
|
|
Summary: Perl implementation of the RC4 encryption algorithm
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: https://metacpan.org/release/Crypt-RC4
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SI/SIFUKURT/Crypt-RC4-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl-generators
|
|
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
|
|
%doc Changes
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
%changelog
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-19
|
|
- Perl 5.28 rebuild
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-18
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-17
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-16
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-14
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.02-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-11
|
|
- Perl 5.22 rebuild
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-10
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.02-7
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.02-4
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.02-2
|
|
- Perl mass rebuild
|
|
|
|
* Mon Jun 27 2011 Mathieu Bridon <bochecha@fedoraproject.org> 2.02-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|