Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040988
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 dist Mail-Sender

Name: perl-%dist
Version: 0.8.13
Release: alt1

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/modules/by-module/Mail/%dist-%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 Wed Jul 11 2007

BuildRequires: perl-devel

%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 Changes
%perl_vendor_privlib/Mail
%perl_vendor_man3dir/*

%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