]> git.pld-linux.org Git - packages/perl-Crypt-RIPEMD160.git/blob - perl-Crypt-RIPEMD160.spec
944d2cde318d69008b5d65c522a4925b4fd958af
[packages/perl-Crypt-RIPEMD160.git] / perl-Crypt-RIPEMD160.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define         pdir    Crypt
6 %define         pnam    RIPEMD160
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
10 Version:        0.04
11 Release:        3
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)
19
20 %description
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.
26
27 %description -l pl
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.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40 %{__make} OPTIMIZE="%{rpmcflags}"
41
42 %{!?_without_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
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
62 %{_mandir}/man3/*
This page took 0.097359 seconds and 3 git commands to generate.