]> git.pld-linux.org Git - packages/perl-Crypt-RC6.git/blob - perl-Crypt-RC6.spec
- new
[packages/perl-Crypt-RC6.git] / perl-Crypt-RC6.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Crypt
3 %define         pnam    RC6
4 Summary:        Crypt::RC6 Perl module - RC6 block cipher encryption
5 Summary(pl):    Modu³ Perla Crypt::RC6 - szyfr blokowy RC6
6 Name:           perl-Crypt-RC6
7 Version:        1.0
8 Release:        1
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl-devel >= 5.6
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Crypt::CBC compliant RC6 block cipher encryption module. RC6 is an
18 evolutionary improvement of RC5, designed to meet the requirements of
19 the Advanced Encryption Standard (AES). This implementation requires
20 the use of a 16-, 24-, or 32-byte key and 16-byte blocks for
21 encryption/decryption. Twenty rounds are performed.
22
23 %description -l pl
24 Modu³ jest zgodn± z Crypt::CBC implementacj± szyfru blokowego RC6. RC6
25 jest ewolucyjnym rozszerzeniem RC5, opracowanym na potrzeby AES
26 (Advanced Security Standard - standardu zaawansowanego
27 bezpieczeñstwa). Ta implementacja wymaga u¿ycia 16, 24, lub
28 32-bajtowego klucza i 16-bajtowych bloków do kodowania i dekodowania.
29 Wykonywane jest dwadzie¶cia kroków.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 perl Makefile.PL
36 %{__make} OPTIMIZE="%{rpmcflags}"
37 %{__make} test
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc CHANGES README
51 %{perl_sitearch}/Crypt/RC6.pm
52 %dir %{perl_sitearch}/auto/Crypt/RC6
53 %{perl_sitearch}/auto/Crypt/RC6/*.bs
54 %attr(755,root,root) %{perl_sitearch}/auto/Crypt/RC6/*.so
55 %{_mandir}/man3/*
This page took 0.063179 seconds and 4 git commands to generate.