]> git.pld-linux.org Git - packages/perl-Crypt-HCE_MD5.git/blob - perl-Crypt-HCE_MD5.spec
7639bd3dda6ecc31e2cb1e075761b05f77b4188e
[packages/perl-Crypt-HCE_MD5.git] / perl-Crypt-HCE_MD5.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Crypt
3 %define         pnam    HCE_MD5
4 Summary:        Crypt::HCE_MD5 Perl module - hash chaining encryption using MD5
5 Summary(pl.UTF-8):      Moduł Perla Crypt::HCE_MD5 - łańcuchowe kodowanie z użyciem MD5
6 Name:           perl-Crypt-HCE_MD5
7 Version:        0.70
8 Release:        2
9 License:        unknown
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  2fca1b79ee1a83854938f5c7711a19be
13 BuildRequires:  perl-devel >= 1:5.8.0
14 BuildRequires:  perl-Digest-MD5 >= 2
15 BuildRequires:  perl-MIME-Base64 >= 2
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 install 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.084888 seconds and 2 git commands to generate.