]> git.pld-linux.org Git - packages/perl-Crypt-RIPEMD160.git/blame - perl-Crypt-RIPEMD160.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-RIPEMD160.git] / perl-Crypt-RIPEMD160.spec
CommitLineData
b1701a7a 1#
2# Conditional build:
3e5787ff 3%bcond_without tests # Do not perform "make test"
4#
56fc2d6e 5%define pdir Crypt
6%define pnam RIPEMD160
b1701a7a 7Summary: Crypt::RIPEMD160 Perl module - RIPEMD160 message digest algorithm
a2c4488f 8Summary(pl.UTF-8): Moduł Perla Crypt::RIPEMD160 - algorytm skrótu RIPEMD160
b1701a7a 9Name: perl-Crypt-RIPEMD160
a3bf41c3 10Version: 0.06
3d7ead6c 11Release: 6
11d361b5 12# same as perl
13License: GPL v1+ or Artistic
b1701a7a 14Group: Development/Languages/Perl
add01953 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a3bf41c3 16# Source0-md5: f37eae17af81b230104f9d0aca1b2327
7c75ce2b
JB
17Patch0: %{name}-types.patch
18URL: http://search.cpan.org/dist/Crypt-RIPEMD160/
8efeab8c 19BuildRequires: perl-devel >= 1:5.8.0
4ea2ffd1 20BuildRequires: rpm-perlprov >= 4.1-13
b1701a7a 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24The Crypt::RIPEMD160 module allows you to use the RIPEMD160 Message
25Digest algorithm from within Perl programs. RIPEMD-160 is a 160-bit
26cryptographic hash function, designed by Hans Dobbertin, Antoon
27Bosselaers, and Bart Preneel. It is intended to be used as a secure
28replacement for the 128-bit hash functions MD4, MD5, and RIPEMD.
29
573c0b21
JR
30%description -l pl.UTF-8
31Moduł Crypt::RIPEMD160 pozwala na używanie algorytmu skrótu RIPEMD160
32z poziomu programów w Perlu. RIPEMD-160 jest 160-bitową
33kryptograficzną funkcją mieszającą, opracowaną przez Hansa Dobbertina,
34Antoona Bosselaersa i Barta Preneela. Ma być bezpiecznym zamiennikiem
35128-bitowych funkcji mieszających MD4, MD5 i RIPEMD.
b1701a7a 36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
7c75ce2b 39%patch0 -p1
b1701a7a 40
41%build
4ea2ffd1 42%{__perl} Makefile.PL \
47766885 43 INSTALLDIRS=vendor
7008a2e1 44%{__make} \
80c593ae 45 CC="%{__cc}" \
7008a2e1 46 OPTIMIZE="%{rpmcflags}"
b1701a7a 47
3e5787ff 48%{?with_tests:%{__make} test}
b1701a7a 49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc README rmd160/doc/*.html
4ea2ffd1 62%{perl_vendorarch}/Crypt/RIPEMD160.pm
63%{perl_vendorarch}/Crypt/RIPEMD160
64%dir %{perl_vendorarch}/auto/Crypt/RIPEMD160
65%{perl_vendorarch}/auto/Crypt/RIPEMD160/autosplit.ix
4ea2ffd1 66%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RIPEMD160/*.so
b1701a7a 67%{_mandir}/man3/*
This page took 0.229255 seconds and 4 git commands to generate.