3 %bcond_without tests # do not perform "make test"
7 Summary: Crypt::Rijndael Perl module - Rijndael encryption algorithm
8 Summary(pl.UTF-8): Moduł Perla Crypt::Rijndael - algorytm szyfrowania Rijndael
9 Name: perl-Crypt-Rijndael
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 2af117c9ab4052cec05cf6737c5f3f45
16 Patch0: %{name}-types.patch
17 URL: http://search.cpan.org/dist/Crypt-Rijndael/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Test-Manifest >= 1.21
22 BuildRequires: perl-Test-Simple
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This module is Crypt::CBC compliant Rijndael cipher implementation.
28 Rijndael has just been selected as the Advanced Encryption Standard.
30 %description -l pl.UTF-8
31 Ten moduł jest zgodną z Crypt::CBC implementacją szyfru Rijndael.
32 Rijndael został niedawno wybrany jako standard zaawansowanego
36 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 OPTIMIZE="%{rpmcflags}"
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc Changes NEWS README
60 %{perl_vendorarch}/Crypt/Rijndael.pm
61 %dir %{perl_vendorarch}/auto/Crypt/Rijndael
62 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Rijndael/Rijndael.so
63 %{_mandir}/man3/Crypt::Rijndael.3*