3 %bcond_without tests # Do not perform "make test"
7 Summary: Crypt::TEA Perl module - Tiny Encryption Algorithm
8 Summary(pl.UTF-8): Moduł Perla Crypt::TEA - Tiny Encryption Algorithm
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 6e53511e455724b40007e4f2c0050270
16 URL: http://search.cpan.org/dist/Crypt-TEA/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This module implements TEA (Tiny Encryption Algorithm) encryption. It
23 supports the Crypt::CBC interface. TEA is a 64-bit symmetric block
24 cipher with a 128-bit key and a variable number of rounds (32 is
25 recommended). It has a low setup time, and depends on a large number
26 of rounds for security, rather than a complex algorithm. It was
27 developed by David J. Wheeler and Roger M. Needham, and is described
28 at <http://www.ftp.cl.cam.ac.uk/ftp/papers/djw-rmn/djw-rmn-tea.html>.
30 %description -l pl.UTF-8
31 Ten moduł jest implementacją szyfrowania TEA (Tiny Encryption
32 Algorithm - niewielki algorytm szyfrowania). Obsługuje interfejs
33 Crypt::CBC. TEA jest 64-bitowym symetrycznym szyfrem blokowym ze
34 128-bitowym kluczem i zmienną liczbą kroków (zaleca się 32). Wymaga
35 mało czasu do uruchomienia i dla zapewnienia bezpieczeństwa polega na
36 dużej liczbie kroków, a nie skomplikowanym algorytmie. TEA został
37 opracowany przez Davida J. Wheelera i Rogera M. Needhama, a jego opis
38 można znaleźć pod adresem:
39 <http://www.ftp.cl.cam.ac.uk/ftp/papers/djw-rmn/djw-rmn-tea.html>.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 OPTIMIZE="%{rpmcflags}"
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorarch}/Crypt/TEA.pm
66 %dir %{perl_vendorarch}/auto/Crypt/TEA
67 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/TEA/*.so