commit b9881d87b9524bd738a16a467c119990cc1c70ac Author: David Dick <ddick@xxxxxxxx> Date: Wed Oct 1 06:34:46 2014 +1000 Initial import (#1147795). .gitignore | 1 + perl-Digest-PBKDF2.spec | 50 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..f79dfaa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Digest-PBKDF2-0.010.tar.gz diff --git a/perl-Digest-PBKDF2.spec b/perl-Digest-PBKDF2.spec new file mode 100644 index 0000000..4cd2c54 --- /dev/null +++ b/perl-Digest-PBKDF2.spec @@ -0,0 +1,50 @@ +Name: perl-Digest-PBKDF2 +Version: 0.010 +Release: 1%{?dist} +Summary: Digest module using the PBKDF2 algorithm +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Digest-PBKDF2/ +Source0: http://www.cpan.org/modules/by-module/Digest/Digest-PBKDF2-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Crypt::PBKDF2) >= 0.112020 +BuildRequires: perl(Digest::base) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(lib) +BuildRequires: perl(parent) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +A minimalist Digest module using the PBKDF2 algorithm. You can only use one +salt, a pre-salt, with this module. It is not smart enough to do post-salts. + +%prep +%setup -q -n Digest-PBKDF2-%{version} + +%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 LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Sep 30 2014 David Dick <ddick@xxxxxxxx> - 0.010-1 +- Initial release diff --git a/sources b/sources index e69de29..f434d30 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a8910c9bcf831ceb4a84a18ab6a5e800 Digest-PBKDF2-0.010.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel