[perl-Authen-Credential] Initial import (#766622).

lfield lfield at fedoraproject.org
Fri Jan 20 08:51:14 UTC 2012


commit 42dbaacff57836191c056aab165f0d30c8380e70
Author: lfield <Laurence.Field at cern.ch>
Date:   Fri Jan 20 09:50:57 2012 +0100

    Initial import (#766622).

 .gitignore                  |    1 +
 perl-Authen-Credential.spec |   64 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..89cfdd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Authen-Credential-0.5.tar.gz
diff --git a/perl-Authen-Credential.spec b/perl-Authen-Credential.spec
new file mode 100644
index 0000000..9fef5db
--- /dev/null
+++ b/perl-Authen-Credential.spec
@@ -0,0 +1,64 @@
+Name:           perl-Authen-Credential
+Version:        0.5
+Release:        2%{?dist}
+Summary:        Abstraction of a credential
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Authen-Credential/
+Source0:        http://search.cpan.org/CPAN/authors/id/L/LC/LCONS/Authen-Credential-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(Params::Validate)
+BuildRequires:  perl(Pod::Coverage) >= 0.18
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:  perl(URI::Escape)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module offers an abstraction of a credential, i.e. something that
+can be used to authenticate. It allows the creation and manipulation of
+credentials. In particular, it defines a standard string representation
+(so that credentials can be given to external programs as command line
+options), a standard structured representation (so that credentials can
+be stored in structured configuration files or using JSON) and
+"preparators" that can transform credentials into ready-to-use data for
+well known targets.
+
+%prep
+%setup -q -n Authen-Credential-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README VERSION
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Dec 08 2011 Lionel Cons <lionel.cons at cern.ch> 0.5-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..8cd490e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+32fd2003715f1b4bb010ac4a5e477ca7  Authen-Credential-0.5.tar.gz


More information about the scm-commits mailing list