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
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