]> git.pld-linux.org Git - SPECS.git/blob - perl-Crypt-HCE_MD5.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / perl-Crypt-HCE_MD5.spec
1 %define         pdir    Crypt
2 %define         pnam    HCE_MD5
3 Summary:        Crypt::HCE_MD5 Perl module - hash chaining encryption using MD5
4 Summary(pl.UTF-8):      Moduł Perla Crypt::HCE_MD5 - łańcuchowe kodowanie z użyciem MD5
5 Name:           perl-Crypt-HCE_MD5
6 Version:        0.70
7 Release:        2
8 License:        unknown
9 Group:          Development/Languages/Perl
10 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5:  2fca1b79ee1a83854938f5c7711a19be
12 URL:            http://search.cpan.org/dist/Crypt-HCE_MD5/
13 BuildRequires:  perl-Digest-MD5 >= 2
14 BuildRequires:  perl-MIME-Base64 >= 2
15 BuildRequires:  perl-devel >= 1:5.8.0
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 Requires:       perl-Digest-MD5 >= 2
18 Requires:       perl-MIME-Base64 >= 2
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module implements a chaining block cipher using a one way hash.
24 This method of encryption is the same that is used by radius (RFC2138)
25 and is also described in Applied Cryptography.
26
27 %description -l pl.UTF-8
28 Ten moduł jest implementacją łańcuchowego szyfru blokowego przy użyciu
29 jednokierunkowego mieszania. Jest to ta sama metoda, co używana w
30 radiusie (RFC 2138) oraz opisana w Applied Cryptography.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39 %{__make} test
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes README
56 %{perl_vendorlib}/Crypt/HCE_MD5.pm
57 %{perl_vendorlib}/auto/Crypt/HCE_MD5
58 %{_mandir}/man3/*
59 %{_examplesdir}/%{name}-%{version}
This page took 0.265394 seconds and 3 git commands to generate.