]> git.pld-linux.org Git - packages/perl-Crypt-RC4.git/blob - perl-Crypt-RC4.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Crypt-RC4.git] / perl-Crypt-RC4.spec
1 %define         pdir    Crypt
2 %define         pnam    RC4
3 Summary:        Crypt::RC4 Perl module - RC4 encryption algorithm implementation
4 Summary(pl.UTF-8):      Moduł Perla Crypt::RC4 - implementacja algorytmu szyfrowania RC4
5 Name:           perl-Crypt-RC4
6 Version:        2.02
7 Release:        4
8 # same as perl
9 License:        GPL v2+ or Artistic
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 URL:            http://search.cpan.org/dist/Crypt-RC4/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 4.1-13
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
25 %description -l pl.UTF-8
26 Prosta implementacja algorytmu RC4. RC4 jest szyfrem strumieniowym
27 opracowanym przez Rivesta dla RSA Data Security (teraz RSA Security).
28 Jest to szyfr strumieniowy o zmiennej długości klucza z operacjami
29 zorientowanymi na bajty. Bazuje na używaniu losowych permutacji.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
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
52 %{perl_vendorlib}/Crypt/RC4.pm
53 %{_mandir}/man3/*
This page took 0.089091 seconds and 3 git commands to generate.