1 %include /usr/lib/rpm/macros.perl
4 Summary: Crypt::RC4 Perl module - RC4 encryption algorithm implementation
5 Summary(pl): Modu³ Perla Crypt::RC4 - implementacja algorytmu szyfrowania RC4
9 License: Artistic or GPL
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5: 4ca59a7e58ac9597c3b4f3f46ea22629
13 BuildRequires: perl-devel >= 5.6
14 BuildRequires: rpm-perlprov >= 4.1-13
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A simple implementation of the RC4 algorithm. RC4 is a stream cipher
20 designed by Rivest for RSA Data Security (now RSA Security). It is a
21 variablekey-size stream cipher with byte-oriented operations. The
22 algorithm is based on the use of a random permutation.
25 Prosta implementacja algorytmu RC4. RC4 jest szyfrem strumieniowym
26 opracowanym przez Rivesta dla RSA Data Security (teraz RSA Security).
27 Jest to szyfr strumieniowy o zmiennej d³ugo¶ci klucza z operacjami
28 zorientowanymi na bajty. Bazuje na u¿ywaniu losowych permutacji.
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/Crypt/RC4.pm