3 %bcond_without tests # do not perform "make test"
7 Summary: Crypt::RC6 Perl module - RC6 block cipher encryption
8 Summary(pl.UTF-8): Moduł Perla Crypt::RC6 - szyfr blokowy RC6
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 6cd523b2ebfea33c66fc5f4252e88ce7
16 Patch0: %{name}-endian.patch
17 URL: http://search.cpan.org/dist/Crypt-RC6/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Crypt::CBC compliant RC6 block cipher encryption module. RC6 is an
24 evolutionary improvement of RC5, designed to meet the requirements of
25 the Advanced Encryption Standard (AES). This implementation requires
26 the use of a 16-, 24-, or 32-byte key and 16-byte blocks for
27 encryption/decryption. Twenty rounds are performed.
29 %description -l pl.UTF-8
30 Moduł jest zgodną z Crypt::CBC implementacją szyfru blokowego RC6. RC6
31 jest ewolucyjnym rozszerzeniem RC5, opracowanym na potrzeby AES
32 (Advanced Security Standard - standardu zaawansowanego
33 bezpieczeństwa). Ta implementacja wymaga użycia 16, 24, lub
34 32-bajtowego klucza i 16-bajtowych bloków do kodowania i dekodowania.
35 Wykonywane jest dwadzieścia kroków.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 OPTIMIZE="%{rpmcflags}"
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorarch}/Crypt/RC6.pm
63 %dir %{perl_vendorarch}/auto/Crypt/RC6
64 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RC6/*.so