[packages/perl-Net-SMTP-TLS-ButMaintained] - initial version

paszczus paszczus at pld-linux.org
Fri Oct 19 10:46:35 CEST 2012


commit 52db42a542ff1396889543ce309e5eda047713bf
Author: Sławomir Paszkiewicz <paszczus at pld-linux.org>
Date:   Fri Oct 19 10:45:43 2012 +0200

    - initial version

 perl-Net-SMTP-TLS-ButMaintained.spec | 67 ++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
---
diff --git a/perl-Net-SMTP-TLS-ButMaintained.spec b/perl-Net-SMTP-TLS-ButMaintained.spec
new file mode 100644
index 0000000..7792d31
--- /dev/null
+++ b/perl-Net-SMTP-TLS-ButMaintained.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Net
+%define		pnam	SMTP-TLS-ButMaintained
+%include	/usr/lib/rpm/macros.perl
+Summary:	Net::SMTP::TLS::ButMaintained - An SMTP client supporting TLS and AUTH
+Name:		perl-Net-SMTP-TLS-ButMaintained
+Version:	0.20
+Release:	1.1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c23283a44d355bab1d70722a43cf27eb
+URL:		http://search.cpan.org/dist/Net-SMTP-TLS-ButMaintained/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Digest-HMAC
+BuildRequires:	perl-IO-Socket-SSL >= 1.76
+BuildRequires:	perl-Net-SSLeay
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net::SMTP::TLS::ButMaintained is forked from Net::SMTP::TLS. blame
+Evan Carroll for the idea. :)
+
+Net::SMTP::TLS::ButMaintained is a TLS and AUTH capable SMTP client
+which offers an interface that users will find familiar from
+Net::SMTP. Net::SMTP::TLS::ButMaintained implements a subset of the
+methods provided by that module, but certainly not (yet) a complete
+mirror image of that API.
+
+The methods supported by Net::SMTP::TLS::ButMaintained are used in the
+above example. Though self explanatory for the most part, please see
+the perldoc for Net::SMTP if you are unclear.
+
+The differences in the methods provided are as follows:
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorlib}/Net/SMTP/TLS
+%{perl_vendorlib}/Net/SMTP/TLS/*.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-SMTP-TLS-ButMaintained.git/commitdiff/52db42a542ff1396889543ce309e5eda047713bf



More information about the pld-cvs-commit mailing list