]> git.pld-linux.org Git - packages/perl-Crypt-RC4.git/blob - perl-Crypt-RC4.spec
dca540758dd58dad8009aeba20c70ed4cc76d980
[packages/perl-Crypt-RC4.git] / perl-Crypt-RC4.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Crypt
3 %define         pnam    RC4
4 Summary:        Crypt::RC4 Perl module - RC4 encryption algorithm implementation
5 Summary(pl):    Modu³ Perla Crypt::RC4 - implementacja algorytmu szyfrowania RC4
6 Name:           perl-Crypt-RC4
7 Version:        2.02
8 Release:        2
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
22
23 %description -l pl
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.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor 
35 %{__make}
36 %{__make} test
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Changes
50 %{perl_vendorlib}/Crypt/RC4.pm
51 %{_mandir}/man3/*
This page took 0.081469 seconds and 3 git commands to generate.