]>
Commit | Line | Data |
---|---|---|
e2d3319b | 1 | %define pdir Crypt |
2 | %define pnam RC4 | |
f60d3602 | 3 | Summary: Crypt::RC4 Perl module - RC4 encryption algorithm implementation |
ec072c59 | 4 | Summary(pl.UTF-8): Moduł Perla Crypt::RC4 - implementacja algorytmu szyfrowania RC4 |
f60d3602 JB |
5 | Name: perl-Crypt-RC4 |
6 | Version: 2.02 | |
ae83c587 | 7 | Release: 4 |
ef2084d4 | 8 | # same as perl |
9 | License: GPL v2+ or Artistic | |
f60d3602 | 10 | Group: Development/Languages/Perl |
8e9a57c4 | 11 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
4c86748f | 12 | # Source0-md5: 4ca59a7e58ac9597c3b4f3f46ea22629 |
0adc87d7 | 13 | URL: http://search.cpan.org/dist/Crypt-RC4/ |
b4f29673 | 14 | BuildRequires: perl-devel >= 1:5.8.0 |
4593e5f6 | 15 | BuildRequires: rpm-perlprov >= 4.1-13 |
f60d3602 JB |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | A simple implementation of the RC4 algorithm. RC4 is a stream cipher | |
21 | designed by Rivest for RSA Data Security (now RSA Security). It is a | |
22 | variablekey-size stream cipher with byte-oriented operations. The | |
23 | algorithm is based on the use of a random permutation. | |
24 | ||
3000d72b | 25 | %description -l pl.UTF-8 |
f60d3602 JB |
26 | Prosta implementacja algorytmu RC4. RC4 jest szyfrem strumieniowym |
27 | opracowanym przez Rivesta dla RSA Data Security (teraz RSA Security). | |
3000d72b JR |
28 | Jest to szyfr strumieniowy o zmiennej długości klucza z operacjami |
29 | zorientowanymi na bajty. Bazuje na używaniu losowych permutacji. | |
f60d3602 JB |
30 | |
31 | %prep | |
32 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
33 | ||
34 | %build | |
4593e5f6 | 35 | %{__perl} Makefile.PL \ |
b46c309c | 36 | INSTALLDIRS=vendor |
f60d3602 JB |
37 | %{__make} |
38 | %{__make} test | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc Changes | |
4593e5f6 | 52 | %{perl_vendorlib}/Crypt/RC4.pm |
f60d3602 | 53 | %{_mandir}/man3/* |