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 BuildRequires: perl-devel >= 5.6
13 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 A simple implementation of the RC4 algorithm. RC4 is a stream cipher
19 designed by Rivest for RSA Data Security (now RSA Security). It is a
20 variablekey-size stream cipher with byte-oriented operations. The
21 algorithm is based on the use of a random permutation.
24 Prosta implementacja algorytmu RC4. RC4 jest szyfrem strumieniowym
25 opracowanym przez Rivesta dla RSA Data Security (teraz RSA Security).
26 Jest to szyfr strumieniowy o zmiennej d³ugo¶ci klucza z operacjami
27 zorientowanymi na bajty. Bazuje na u¿ywaniu losowych permutacji.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_vendorlib}/Crypt/RC4.pm