bceaf47
Name:           perl-Email-Send
f653086
Version:        2.194
190f0a5
Release:        2%{?dist}
bceaf47
Summary:        Module for sending email
bceaf47
Group:          Development/Libraries
8d1643e
License:        GPL+ or Artistic
bceaf47
URL:            http://search.cpan.org/dist/Email-Send/
bceaf47
Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Send-%{version}.tar.gz
bceaf47
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
bceaf47
BuildRequires:  perl(Email::Address), perl(Email::Simple), perl(File::Spec), perl(Module::Pluggable)
bceaf47
BuildRequires:  perl(Return::Value), perl(Scalar::Util), perl(Symbol), perl(Test::More)
bceaf47
BuildRequires:  perl(ExtUtils::MakeMaker), perl(IO::All), perl(Email::Abstract)
bceaf47
BuildRequires:  perl(Mail::Internet), perl(MIME::Entity), perl(Test::Pod), perl(Test::Pod::Coverage)
bceaf47
BuildRequires:  /usr/sbin/sendmail
bceaf47
BuildArch:      noarch
bceaf47
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
bceaf47
bceaf47
%description
bceaf47
This module provides a very simple, very clean, very specific interface
bceaf47
to multiple Email mailers. The goal of this software is to be small and
bceaf47
simple, easy to use, and easy to extend.
bceaf47
bceaf47
%prep
bceaf47
%setup -q -n Email-Send-%{version}
bceaf47
bceaf47
%build
bceaf47
sed -i '/LICENSE/ d' Makefile.PL
bceaf47
%{__perl} Makefile.PL INSTALLDIRS=vendor
bceaf47
make
bceaf47
bceaf47
%install
bceaf47
rm -rf $RPM_BUILD_ROOT _docs
bceaf47
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
bceaf47
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
bceaf47
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
bceaf47
chmod -R u+w $RPM_BUILD_ROOT/*
bceaf47
bceaf47
%check
bceaf47
make test
bceaf47
bceaf47
%clean
bceaf47
rm -rf $RPM_BUILD_ROOT
bceaf47
bceaf47
%files
bceaf47
%defattr(-,root,root,-)
bceaf47
%doc README LICENSE
bceaf47
%{perl_vendorlib}/Email/
bceaf47
%{_mandir}/man3/*.3*
bceaf47
bceaf47
%changelog
190f0a5
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.194-2
190f0a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
190f0a5
f653086
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.194-1
f653086
- update to 2.194
f653086
f0ae60c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.192-3
f0ae60c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f0ae60c
a3e833b
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.192-2
a3e833b
Rebuild for new perl
a3e833b
3d9b0da
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.192-1
3d9b0da
- bump to 2.192
3d9b0da
8d1643e
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.185-3
8d1643e
- license tag fix
8d1643e
bceaf47
* Tue Apr 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.185-2
bceaf47
- get rid of WARNING: LICENSE... 
bceaf47
- add missing BR
bceaf47
bceaf47
* Sun Apr  1 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.185-1
bceaf47
- Initial package for Fedora