>From e1e4f98ca66b12ef077b143dc22a858fb2ad29e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx> Date: Fri, 27 Mar 2015 08:28:09 +0100 Subject: Import diff --git a/.gitignore b/.gitignore index e69de29..d6d90f1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Authen-SCRAM-0.005.tar.gz diff --git a/perl-Authen-SCRAM.spec b/perl-Authen-SCRAM.spec new file mode 100644 index 0000000..0f5e6fe --- /dev/null +++ b/perl-Authen-SCRAM.spec @@ -0,0 +1,68 @@ +Name: perl-Authen-SCRAM +Version: 0.005 +Release: 1%{?dist} +Summary: Salted Challenge Response Authentication Mechanism (RFC 5802) +License: ASL 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Authen-SCRAM/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Authen-SCRAM-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Authen::SASL::SASLprep) +BuildRequires: perl(Carp) +BuildRequires: perl(Crypt::URandom) +BuildRequires: perl(Encode) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Moo) >= 1.001000 +BuildRequires: perl(Moo::Role) >= 1.001000 +BuildRequires: perl(namespace::clean) +BuildRequires: perl(PBKDF2::Tiny) >= 0.003 +BuildRequires: perl(Try::Tiny) +BuildRequires: perl(Types::Standard) +# Optional run-time: +# String::Compare::ConstantTime 0.310 do not build-require to exercise +# fall-back code. +# Tests: +BuildRequires: perl(base) +# CPAN::Meta not useful +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test::FailWarnings) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.96 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Keep String::Compare::ConstantTime 0.310 optional + +%description +These Perl modules implement the Salted Challenge Response Authentication +Mechanism (SCRAM) from RFC 5802. + +%prep +%setup -q -n Authen-SCRAM-%{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..7777d61 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8af86d3644704c3abdddc4843ccc61f3 Authen-SCRAM-0.005.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Authen-SCRAM.git/commit/?h=f22&id=e1e4f98ca66b12ef077b143dc22a858fb2ad29e4 -- 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