3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Crypt::Rijndael Perl module - Rijndael encryption algorithm
9 Summary(pl.UTF-8): Moduł Perla Crypt::Rijndael - algorytm szyfrowania Rijndael
10 Name: perl-Crypt-Rijndael
13 # included COPYING contains LGPL v2, but README and module source says GPL
15 Group: Development/Languages/Perl
16 Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 61b2ebf10194b1f94f14d999cf68f5f9
18 Patch0: %{name}-types.patch
19 URL: http://search.cpan.org/dist/Crypt-Rijndael/
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRequires: perl(Test::Manifest) >= 1.14
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module is Crypt::CBC compliant Rijndael cipher implementation.
29 Rijndael has just been selected as the Advanced Encryption Standard.
31 %description -l pl.UTF-8
32 Ten moduł jest zgodną z Crypt::CBC implementacją szyfru Rijndael.
33 Rijndael został niedawno wybrany jako standard zaawansowanego
37 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 OPTIMIZE="%{rpmcflags}"
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc Changes NEWS README
61 %{perl_vendorarch}/Crypt/*.pm
62 %dir %{perl_vendorarch}/auto/Crypt/Rijndael
63 %{perl_vendorarch}/auto/Crypt/Rijndael/*.bs
64 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Rijndael/*.so