| 1 | Name: perl-Digest-HMAC
|
|---|
| 2 | Version: 1.03
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: Keyed-Hashing for Message Authentication
|
|---|
| 5 | License: GPL+ or Artistic
|
|---|
| 6 | Group: Development/Libraries
|
|---|
| 7 | URL: http://search.cpan.org/dist/Digest-HMAC/
|
|---|
| 8 | Vendor: bww bitwise works GmbH
|
|---|
| 9 | Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-%{version}.tar.gz
|
|---|
| 10 | BuildArch: noarch
|
|---|
| 11 | BuildRequires: perl-generators
|
|---|
| 12 | BuildRequires: perl(Digest::MD5), perl(Digest::SHA1), perl(ExtUtils::MakeMaker)
|
|---|
| 13 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|---|
| 14 |
|
|---|
| 15 | %description
|
|---|
| 16 | HMAC is used for message integrity checks between two parties that
|
|---|
| 17 | share a secret key, and works in combination with some other Digest
|
|---|
| 18 | algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in
|
|---|
| 19 | RFC 2104.
|
|---|
| 20 |
|
|---|
| 21 | HMAC follow the common Digest:: interface, but the constructor takes
|
|---|
| 22 | the 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
|
|---|
| 31 | make %{?_smp_mflags}
|
|---|
| 32 | make manifypods
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | %install
|
|---|
| 36 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|---|
| 37 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|---|
| 38 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|---|
| 39 | chmod -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
|
|---|