Sisyphus repository
Last update: 17 july 2019 | SRPMs: 17686 | Visits: 14339468
en ru br
ALT Linux repos
S:0.903-alt1
5.0: 0.8.16-alt1
4.1: 0.8.13-alt1
4.0: 0.8.13-alt1

Group :: Development/Perl
RPM: perl-Mail-Sender

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define dist Mail-Sender

Name: perl-%dist
Serial: 1
Version: 0.903
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Perl module for sending mails with attachments through an SMTP server
License: Perl
Group: Development/Perl

URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/C/CA/CAPOEIRAB/Mail-Sender-%{version}.tar.gz
Source1: Mail-Sender.config

BuildArch: noarch

# Set this manually. Due to dumb config engine this module isn't

# compatible w/ ALT perl build machinery.
%add_findreq_skiplist */Mail/Sender.pm

Requires: perl(Carp.pm), perl(File/Basename.pm), perl(FileHandle.pm), perl(MIME/Base64.pm), perl(MIME/QuotedPrint.pm), perl(Socket.pm), perl(open.pm), perl(warnings.pm)

# Automatically added by buildreq on Fri Aug 01 2008

BuildRequires: perl-devel perl(Encode.pm)

%description
Mail::Sender provides an object oriented interface to sending mails. It
doesn't need any outer program. It connects to a mail server directly from
Perl, using Socket.

%prep
%setup -n %dist-%version

%build
# We can not just use %%perl_vendor_build
perl Makefile.PL INSTALLDIRS=vendor
make </dev/null
make test
install -m 0644 %SOURCE1 blib/lib/Mail/Sender.config

%install
%perl_vendor_install
# Remove the Win32 module in order to avoid requiring perl(Win32API::Registry).
# Well, to be honest our build machinery smart enough to not generate such
# requirement, but we nuke this junk just in case... ;)
rm -f %buildroot%perl_vendor_privlib/Mail/Sender/CType/Win32.pm

%files
%doc README
%perl_vendor_privlib/Mail

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin