[perl-Crypt-SaltedHash] Initial import (#1089634.)
David Dick
ddick at fedoraproject.org
Thu Apr 24 23:50:08 UTC 2014
commit a12356efd37f538add48859e2310ffb31f319d7a
Author: David Dick <ddick at cpan.org>
Date: Fri Apr 25 09:49:59 2014 +1000
Initial import (#1089634.)
.gitignore | 1 +
perl-Crypt-SaltedHash.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b411ccb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Crypt-SaltedHash-0.09.tar.gz
diff --git a/perl-Crypt-SaltedHash.spec b/perl-Crypt-SaltedHash.spec
new file mode 100644
index 0000000..c1148c2
--- /dev/null
+++ b/perl-Crypt-SaltedHash.spec
@@ -0,0 +1,58 @@
+Name: perl-Crypt-SaltedHash
+Version: 0.09
+Release: 1%{?dist}
+Summary: Perl interface to functions that assist in working with salted hashes
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Crypt-SaltedHash/
+Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-SaltedHash-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: dos2unix
+BuildRequires: perl
+BuildRequires: perl(Digest)
+# Digest::SHA required in t/bug-localize-regex-vars.t as validate is called with a unrecognisable hash function, which then defaults (via the new function) to using SHA
+BuildRequires: perl(Digest::SHA)
+BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(MIME::Base64)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+Requires: perl(Digest::SHA)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The Crypt::SaltedHash module provides an object oriented interface to
+create salted (or seeded) hashes of clear text data. The original
+formalization of this concept comes from RFC-3112 and is extended by the
+use of different digital algorithms.
+
+%prep
+%setup -q -n Crypt-SaltedHash-%{version}
+dos2unix Changes
+dos2unix README
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Apr 13 2014 David Dick <ddick at cpan.org> - 0.09-1
+- Initial release
diff --git a/sources b/sources
index e69de29..447872c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fe25faf1dd40c2a1aa07314da1f53dad Crypt-SaltedHash-0.09.tar.gz
More information about the perl-devel
mailing list