source: spec/trunk/SPECS/perl-Digest-HMAC.spec@ 1504

Last change on this file since 1504 was 1321, checked in by Silvan Scherrer, 8 years ago

spec: perl-Digest-HMAC: Release version 1.03-1.

File size: 1.5 KB
Line 
1Name: perl-Digest-HMAC
2Version: 1.03
3Release: 1%{?dist}
4Summary: Keyed-Hashing for Message Authentication
5License: GPL+ or Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/Digest-HMAC/
8Vendor: bww bitwise works GmbH
9Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl-generators
12BuildRequires: perl(Digest::MD5), perl(Digest::SHA1), perl(ExtUtils::MakeMaker)
13Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14
15%description
16HMAC is used for message integrity checks between two parties that
17share a secret key, and works in combination with some other Digest
18algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in
19RFC 2104.
20
21HMAC follow the common Digest:: interface, but the constructor takes
22the secret key and the name of some other simple Digest:: as argument.
23
24
25%prep
26%setup -q -n Digest-HMAC-%{version}
27
28
29%build
30%{__perl} Makefile.PL INSTALLDIRS=vendor
31make %{?_smp_mflags}
32make manifypods
33
34
35%install
36make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
37find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
38find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
39chmod -R u+w $RPM_BUILD_ROOT/*
40
41
42%check
43#make test
44
45
46%files
47%doc Changes README
48%{perl_vendorlib}/Digest/
49%{_mandir}/man3/*.3*
50
51
52%changelog
53* Fri Mar 02 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.03-1
54- initial rpm
Note: See TracBrowser for help on using the repository browser.