perl-Net-SMTP-SSL/perl-Net-SMTP-SSL.spec

58 lines
1.5 KiB
RPMSpec

Name: perl-Net-SMTP-SSL
# List of additional build dependencies
#BuildRequires: gcc-c++ libxml2-devel
Version: 1.01
Release: 1
License: Artistic license
Source: Net-SMTP-SSL-1.01.tar.gz
Group: Development/Libraries/Perl
Summary: ImplemeImplements the same API as Net::SMTP, but uses IO::Socket::SSL
Requires: perl = %{perl_version}, perl-IO-Socket-SSL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its
network operations. Due to the nature of Net::SMTP's new method, it is
not overridden to make use of a default port for the SMTPS service.
Perhaps future versions will be smart like that. Port 465 is usually
what you want, and it's not a pain to specify that.
%prep
%setup -q -n Net-SMTP-SSL-%version
%build
perl Makefile.PL
make
%install
make DESTDIR=%buildroot install_vendor
%perl_process_packlist
# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist
%clean
rm -rf %buildroot
%files -f filelist
%defattr(-,root,root)
%dir %{perl_vendorarch}/auto/Net
%dir %{perl_vendorarch}/auto/Net/SMTP
%dir %{perl_vendorarch}/auto/Net/SMTP/SSL
%{perl_vendorlib}/Net
%{perl_vendorlib}/Net/SMTP
%changelog
* Wed Mar 25 2009 tuukka.pasanen@ilmi.fi
- packaged perl-Net-SMTP-SSL version 1.01 using the buildservice spec file wizard