]> git.pld-linux.org Git - packages/perl-Crypt-RIPEMD160.git/blob - perl-Crypt-RIPEMD160.spec
- spec renamed
[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:        2
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)
18
19 %description
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.
25
26 %description -l pl
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.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 perl Makefile.PL
38 %{__make} OPTIMIZE="%{rpmcflags}"
39
40 %{!?_without_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
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
60 %{_mandir}/man3/*
This page took 0.040726 seconds and 4 git commands to generate.