]> git.pld-linux.org Git - packages/perl-Crypt-RC4.git/blame - perl-Crypt-RC4.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Crypt-RC4.git] / perl-Crypt-RC4.spec
CommitLineData
e2d3319b 1%define pdir Crypt
2%define pnam RC4
f60d3602 3Summary: Crypt::RC4 Perl module - RC4 encryption algorithm implementation
ec072c59 4Summary(pl.UTF-8): Moduł Perla Crypt::RC4 - implementacja algorytmu szyfrowania RC4
f60d3602
JB
5Name: perl-Crypt-RC4
6Version: 2.02
ae83c587 7Release: 4
ef2084d4 8# same as perl
9License: GPL v2+ or Artistic
f60d3602 10Group: Development/Languages/Perl
8e9a57c4 11Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4c86748f 12# Source0-md5: 4ca59a7e58ac9597c3b4f3f46ea22629
0adc87d7 13URL: http://search.cpan.org/dist/Crypt-RC4/
b4f29673 14BuildRequires: perl-devel >= 1:5.8.0
4593e5f6 15BuildRequires: rpm-perlprov >= 4.1-13
f60d3602
JB
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20A simple implementation of the RC4 algorithm. RC4 is a stream cipher
21designed by Rivest for RSA Data Security (now RSA Security). It is a
22variablekey-size stream cipher with byte-oriented operations. The
23algorithm is based on the use of a random permutation.
24
3000d72b 25%description -l pl.UTF-8
f60d3602
JB
26Prosta implementacja algorytmu RC4. RC4 jest szyfrem strumieniowym
27opracowanym przez Rivesta dla RSA Data Security (teraz RSA Security).
3000d72b
JR
28Jest to szyfr strumieniowy o zmiennej długości klucza z operacjami
29zorientowanymi 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
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -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/*
This page took 0.093611 seconds and 4 git commands to generate.