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