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: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires: perl-devel >= 5.6
16 BuildRequires: rpm-perlprov >= 3.0.3-16
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The Crypt::RIPEMD160 module allows you to use the RIPEMD160 Message
21 Digest algorithm from within Perl programs. RIPEMD-160 is a 160-bit
22 cryptographic hash function, designed by Hans Dobbertin, Antoon
23 Bosselaers, and Bart Preneel. It is intended to be used as a secure
24 replacement for the 128-bit hash functions MD4, MD5, and RIPEMD.
27 Modu³ Crypt::RIPEMD160 pozwala na u¿ywanie algorytmu skrótu RIPEMD160
28 z poziomu programów w Perlu. RIPEMD-160 jest 160-bitow±
29 kryptograficzn± funkcj± mieszaj±c±, opracowan± przez Hansa Dobbertina,
30 Antoona Bosselaersa i Barta Preneela. Ma byæ bezpiecznym zamiennikiem
31 128-bitowych funkcji mieszaj±cych MD4, MD5 i RIPEMD.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__make} OPTIMIZE="%{rpmcflags}"
40 %{!?_without_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc README rmd160/doc/*.html
54 %{perl_sitearch}/Crypt/RIPEMD160.pm
55 %{perl_sitearch}/Crypt/RIPEMD160
56 %dir %{perl_sitearch}/auto/Crypt/RIPEMD160
57 %{perl_sitearch}/auto/Crypt/RIPEMD160/autosplit.ix
58 %{perl_sitearch}/auto/Crypt/RIPEMD160/*.bs
59 %attr(755,root,root) %{perl_sitearch}/auto/Crypt/RIPEMD160/*.so