]> git.pld-linux.org Git - packages/perl-Crypt-HCE_MD5.git/blob - perl-Crypt-HCE_MD5.spec
use generic url
[packages/perl-Crypt-HCE_MD5.git] / perl-Crypt-HCE_MD5.spec
1 %define         pdir    Crypt
2 %define         pnam    HCE_MD5
3 %include        /usr/lib/rpm/macros.perl
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 URL:            http://search.cpan.org/dist/Crypt-HCE_MD5/
14 BuildRequires:  perl-Digest-MD5 >= 2
15 BuildRequires:  perl-MIME-Base64 >= 2
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 Requires:       perl-Digest-MD5 >= 2
19 Requires:       perl-MIME-Base64 >= 2
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module implements a chaining block cipher using a one way hash.
25 This method of encryption is the same that is used by radius (RFC2138)
26 and is also described in Applied Cryptography.
27
28 %description -l pl.UTF-8
29 Ten moduł jest implementacją łańcuchowego szyfru blokowego przy użyciu
30 jednokierunkowego mieszania. Jest to ta sama metoda, co używana w
31 radiusie (RFC 2138) oraz opisana w Applied Cryptography.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40 %{__make} test
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes README
57 %{perl_vendorlib}/Crypt/HCE_MD5.pm
58 %{perl_vendorlib}/auto/Crypt/HCE_MD5
59 %{_mandir}/man3/*
60 %{_examplesdir}/%{name}-%{version}
This page took 0.195922 seconds and 3 git commands to generate.