55 lines
1.5 KiB
RPMSpec
55 lines
1.5 KiB
RPMSpec
![]() |
# norootforbuild
|
||
|
|
||
|
Name: perl-Net-SMTP_auth
|
||
|
Version: 0.08
|
||
|
Release: 0
|
||
|
Summary: Simple Mail Transfer Protocol Client with AUTHentication
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/A/AP/APLEINER/Net-SMTP_auth-%{version}.tar.gz
|
||
|
URL: http://search.cpan.org/dist/Net-SMTP_auth/
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Perl License
|
||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
Requires: perl = %{perl_version}
|
||
|
Requires: perl(Digest::HMAC_MD5)
|
||
|
Requires: perl(Authen::SASL)
|
||
|
BuildRequires: make perl
|
||
|
BuildRequires: perl(Digest::HMAC_MD5)
|
||
|
BuildRequires: perl(Authen::SASL)
|
||
|
|
||
|
%description
|
||
|
This module implements a client interface to the SMTP and ESMTP protocol AUTH
|
||
|
service extension, enabling a perl5 application to talk to and authenticate
|
||
|
against SMTP servers. This documentation assumes that you are familiar with the
|
||
|
concepts of the SMTP protocol described in RFC821 and with the AUTH service
|
||
|
extension described in RFC2554.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "Net-SMTP_auth-%{version}"
|
||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||
|
|
||
|
%build
|
||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||
|
%__make %{?jobs:-j%{jobs}}
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%check
|
||
|
%__make test
|
||
|
|
||
|
%clean
|
||
|
%__rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc Changes README
|
||
|
%dir %{perl_vendorlib}/Net
|
||
|
%{perl_vendorlib}/Net/SMTP_auth.pm
|
||
|
%dir %{perl_vendorarch}/auto/Net
|
||
|
%{perl_vendorarch}/auto/Net/SMTP_auth
|
||
|
%doc %{perl_man3dir}/Net::SMTP_auth.%{perl_man3ext}%{ext_man}
|
||
|
|
||
|
%changelog
|
||
|
# vim: set sw=4 ts=4 et nu:
|