3 %bcond_without tests # Do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Crypt::RIPEMD160 Perl module - RIPEMD160 message digest algorithm
9 Summary(pl): Modu³ Perla Crypt::RIPEMD160 - algorytm skrótu RIPEMD160
10 Name: perl-Crypt-RIPEMD160
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 132c1b74deabd6511726945373308699
18 BuildRequires: perl-devel >= 5.6
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The Crypt::RIPEMD160 module allows you to use the RIPEMD160 Message
24 Digest algorithm from within Perl programs. RIPEMD-160 is a 160-bit
25 cryptographic hash function, designed by Hans Dobbertin, Antoon
26 Bosselaers, and Bart Preneel. It is intended to be used as a secure
27 replacement for the 128-bit hash functions MD4, MD5, and RIPEMD.
30 Modu³ Crypt::RIPEMD160 pozwala na u¿ywanie algorytmu skrótu RIPEMD160
31 z poziomu programów w Perlu. RIPEMD-160 jest 160-bitow±
32 kryptograficzn± funkcj± mieszaj±c±, opracowan± przez Hansa Dobbertina,
33 Antoona Bosselaersa i Barta Preneela. Ma byæ bezpiecznym zamiennikiem
34 128-bitowych funkcji mieszaj±cych MD4, MD5 i RIPEMD.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
42 %{__make} 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 README rmd160/doc/*.html
58 %{perl_vendorarch}/Crypt/RIPEMD160.pm
59 %{perl_vendorarch}/Crypt/RIPEMD160
60 %dir %{perl_vendorarch}/auto/Crypt/RIPEMD160
61 %{perl_vendorarch}/auto/Crypt/RIPEMD160/autosplit.ix
62 %{perl_vendorarch}/auto/Crypt/RIPEMD160/*.bs
63 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RIPEMD160/*.so