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: 5a26457e9f6a747896234773140a4f58
16 URL: https://metacpan.org/dist/Crypt-Rijndael
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRequires: perl-Test-Simple >= 0.94
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This module is Crypt::CBC compliant Rijndael cipher implementation.
27 Rijndael has just been selected as the Advanced Encryption Standard.
29 %description -l pl.UTF-8
30 Ten moduł jest zgodną z Crypt::CBC implementacją szyfru Rijndael.
31 Rijndael został niedawno wybrany jako standard zaawansowanego
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 OPTIMIZE="%{rpmcflags}"
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc Changes NEWS README
58 %{perl_vendorarch}/Crypt/Rijndael.pm
59 %dir %{perl_vendorarch}/auto/Crypt/Rijndael
60 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Rijndael/Rijndael.so
61 %{_mandir}/man3/Crypt::Rijndael.3*