commit 8e88ee705a76ee505ccb1ded73ee52d7ae6e4dde Author: David Dick <ddick@xxxxxxxx> Date: Mon Apr 21 11:22:18 2014 +1000 Initial import (#1089178.) .gitignore | 1 + perl-Digest-Bcrypt.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ab950fe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Digest-Bcrypt-1.0.1.tar.gz diff --git a/perl-Digest-Bcrypt.spec b/perl-Digest-Bcrypt.spec new file mode 100644 index 0000000..ba03734 --- /dev/null +++ b/perl-Digest-Bcrypt.spec @@ -0,0 +1,55 @@ +Name: perl-Digest-Bcrypt +Version: 1.0.1 +Release: 1%{?dist} +Summary: Perl interface to the bcrypt digest algorithm +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Digest-Bcrypt/ +Source0: http://www.cpan.org/modules/by-module/Digest/Digest-Bcrypt-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(bytes) +BuildRequires: perl(Carp) +BuildRequires: perl(Crypt::Eksblowfish::Bcrypt) +BuildRequires: perl(Digest) +BuildRequires: perl(Digest::base) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(parent) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Provides an interface to the bcrypt digest algorithm. + +This module subclasses Digest::base and can be used either directly or +through the Digest meta-module. Using the latter is recommended. + +It is mostly a wrapper around Crypt::Eksblowfish::Bcrypt. + +%prep +%setup -q -n Digest-Bcrypt-%{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 CHANGES LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Apr 18 2014 David Dick <ddick@xxxxxxxx> - 1.0.1-1 +- Initial release diff --git a/sources b/sources index e69de29..e62248f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3b1a32e367b87d7e4831e453f02c6bf7 Digest-Bcrypt-1.0.1.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