]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - perl-Digest-SHA1/perl-Digest-SHA1.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/amarx/ipfire-3.x.git] / perl-Digest-SHA1 / perl-Digest-SHA1.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-Digest-SHA1
7 version = 2.13
8 release = 1
9 thisapp = Digest-SHA1-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/Digest-SHA1
13 license = GPL+ or Artistic
14 summary = Digest-SHA1 Perl module.
15
16 description
17 The Digest::SHA1 module allows you to use the NIST SHA-1 message
18 digest algorithm from within Perl programs. The algorithm takes as
19 input a message of arbitrary length and produces as output a 160-bit
20 "fingerprint" or "message digest" of the input.
21
22 The Digest::SHA1 module provide a procedural interface for simple use,
23 as well as an object oriented interface that can handle messages of
24 arbitrary length and which can read files directly.
25
26 A binary digest will be 20 bytes long. A hex digest will be 40
27 characters long. A base64 digest will be 27 characters long.
28 end
29
30 source_dl = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/
31
32 build
33 requires
34 perl(ExtUtils::MakeMaker)
35 end
36
37 build
38 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
39 make %{PARALLELISMFLAGS}
40 end
41
42 make_install_targets = pure_install PERL_INSTALL_ROOT=%{BUILDROOT}
43 end
44
45 packages
46 package %{name}
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
51 end