3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
7 Summary: Crypt::RIPEMD160 Perl module - RIPEMD160 message digest algorithm
8 Summary(pl): Modu³ Perla Crypt::RIPEMD160 - algorytm skrótu RIPEMD160
9 Name: perl-Crypt-RIPEMD160
12 License: Artistic or GPL
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 132c1b74deabd6511726945373308699
16 BuildRequires: perl-devel >= 5.6
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The Crypt::RIPEMD160 module allows you to use the RIPEMD160 Message
22 Digest algorithm from within Perl programs. RIPEMD-160 is a 160-bit
23 cryptographic hash function, designed by Hans Dobbertin, Antoon
24 Bosselaers, and Bart Preneel. It is intended to be used as a secure
25 replacement for the 128-bit hash functions MD4, MD5, and RIPEMD.
28 Modu³ Crypt::RIPEMD160 pozwala na u¿ywanie algorytmu skrótu RIPEMD160
29 z poziomu programów w Perlu. RIPEMD-160 jest 160-bitow±
30 kryptograficzn± funkcj± mieszaj±c±, opracowan± przez Hansa Dobbertina,
31 Antoona Bosselaersa i Barta Preneela. Ma byæ bezpiecznym zamiennikiem
32 128-bitowych funkcji mieszaj±cych MD4, MD5 i RIPEMD.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
40 %{__make} OPTIMIZE="%{rpmcflags}"
42 %{!?_without_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc README rmd160/doc/*.html
56 %{perl_vendorarch}/Crypt/RIPEMD160.pm
57 %{perl_vendorarch}/Crypt/RIPEMD160
58 %dir %{perl_vendorarch}/auto/Crypt/RIPEMD160
59 %{perl_vendorarch}/auto/Crypt/RIPEMD160/autosplit.ix
60 %{perl_vendorarch}/auto/Crypt/RIPEMD160/*.bs
61 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RIPEMD160/*.so