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

65 lines
1.7 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}
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)
# This is a place for a proper filelist:
# /usr/bin/perl-Net-SMTP-SSL
# You can also use shell wildcards:
# /usr/share/perl-Net-SMTP-SSL/*
# This installs documentation files from the top build directory
# into /usr/share/doc/...
# %doc README COPYING
# The advantage of using a real filelist instead of the '-f filelist' trick is
# that rpmbuild will detect if the install section forgets to install
# something that is listed here
%changelog
* Wed Mar 25 2009 tuukka.pasanen@ilmi.fi
- packaged perl-Net-SMTP-SSL version 1.01 using the buildservice spec file wizard