>From 6552a4706be83b711850fbed88713e1f5f621c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> Date: Tue, 24 Mar 2015 17:39:37 +0100 Subject: Import diff --git a/.gitignore b/.gitignore index e69de29..4c41e29 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/PBKDF2-Tiny-0.005.tar.gz diff --git a/perl-PBKDF2-Tiny.spec b/perl-PBKDF2-Tiny.spec new file mode 100644 index 0000000..2dc5326 --- /dev/null +++ b/perl-PBKDF2-Tiny.spec @@ -0,0 +1,64 @@ +Name: perl-PBKDF2-Tiny +Version: 0.005 +Release: 1%{?dist} +Summary: Minimalist PBKDF2 (RFC 2898) with HMAC-SHA1 or HMAC-SHA2 +# inc/MakeMaker.pm: GPL+ or Artistic (derived from +# Package-Stash:inc/MMPackageStash.pm) +# Makefile.PL: GPL+ or Artistic (parse_args() derived from +# ExtUtils-MakeMaker) +# other files: ASL 2.0 +License: ASL 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/PBKDF2-Tiny/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/PBKDF2-Tiny-%{version}.tar.gz +BuildArch: noarch +# The inc/MakeMaker.pm is not run +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +# Digest::SHA or Digest::SHA::::PurePerl +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Exporter) >= 5.57 +# Tests: +# CPAN::Meta 2.120900 not useful +BuildRequires: perl(Encode) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(utf8) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Digest::SHA or Digest::SHA::::PurePerl +Requires: perl(Digest::SHA) + +%description +This module provides an RFC 2898 compliant PBKDF2 implementation using +HMAC-SHA1 or HMAC-SHA2. + +%prep +%setup -q -n PBKDF2-Tiny-%{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 +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Mar 20 2015 Petr Pisar <ppisar@xxxxxxxxxx> 0.005-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..275e056 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6628cad808d13bedb20054eea84b0f72 PBKDF2-Tiny-0.005.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-PBKDF2-Tiny.git/commit/?h=f22&id=6552a4706be83b711850fbed88713e1f5f621c89 -- 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