[perl-Net-POP3S] Initial import (#1066843).

David Dick ddick at fedoraproject.org
Fri Feb 21 20:52:07 UTC 2014


commit ca5198c95d3751d8bf94610a5612bd5273bfd98e
Author: David Dick <ddick at cpan.org>
Date:   Sat Feb 22 07:52:03 2014 +1100

    Initial import (#1066843).

 .gitignore          |    1 +
 perl-Net-POP3S.spec |   69 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..81343d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-POP3S-0.04.tar.gz
diff --git a/perl-Net-POP3S.spec b/perl-Net-POP3S.spec
new file mode 100644
index 0000000..0005fbb
--- /dev/null
+++ b/perl-Net-POP3S.spec
@@ -0,0 +1,69 @@
+%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Authen::SASL\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(IO::Socket::SSL\\)$
+Name:           perl-Net-POP3S
+Version:        0.04
+Release:        1%{?dist}
+Summary:        SSL/STARTTLS support for Net::POP3
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Net-POP3S/
+Source0:        http://www.cpan.org/authors/id/T/TO/TOMO/src/Net-POP3S-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(base)
+BuildRequires:  perl(Authen::SASL) >= 2.15
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::Socket::SSL) >= 1
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(IO::Socket::INET6)
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(Net::Cmd)
+BuildRequires:  perl(Net::Config)
+BuildRequires:  perl(Net::POP3)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(vars)
+Requires:       perl(Authen::SASL) >= 2.15
+Requires:       perl(IO::Socket::SSL) >= 1
+Requires:       perl(IO::Socket::INET)
+Requires:       perl(IO::Socket::INET6)
+Requires:       perl(MIME::Base64)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module implements a wrapper for Net::POP3, enabling over-SSL/STARTTLS
+support. This module inherits all the methods from Net::POP3. You may use
+all the friendly options that came bundled with Net::POP3. You can control
+the SSL usage with the options of new() constructor method. 'doSSL' option
+is the switch, and, If you would like to control detailed SSL settings, you
+can set SSL_* options that are brought from IO::Socket::SSL. Please see the
+document of IO::Socket::SSL about these options detail.
+
+%prep
+%setup -q -n Net-POP3S-%{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 README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Feb 19 2014 David Dick <ddick at cpan.org> - 0.04-1
+- Initial release
diff --git a/sources b/sources
index e69de29..2b263ab 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4fd00faebc32b142cdaeaed1ebe85696  Net-POP3S-0.04.tar.gz


More information about the scm-commits mailing list