Name: perl-Email-Sender
Version: 0.101760
Release: 2%{?dist}
Summary: A library for sending email
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Email-Sender/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Sender-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Capture::Tiny) >= 0.08
BuildRequires: perl(Email::Abstract) >= 3
BuildRequires: perl(Email::Address)
BuildRequires: perl(Email::Simple) >= 1.998
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Moose) >= 0.70
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Sub::Override)
BuildRequires: perl(Sys::Hostname::Long)
BuildRequires: perl(Test::MinimumVersion)
BuildRequires: perl(Test::MockObject)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Throwable::Error) >= 0.100090
BuildRequires: perl(Try::Tiny)
Requires: perl(Email::Abstract) >= 3
Requires: perl(Moose) >= 0.70
Requires: perl(Throwable::Error) >= 0.100090
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
Email::Sender replaces the old and sometimes problematic Email::Send library,
which did a decent job at handling very simple email sending tasks, but was not
suitable for serious use, for a variety of reasons.
%prep
%setup -q -n Email-Sender-%{version}
# pod coverage test fails
rm -f t/release-pod-coverage.t
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
RELEASE_TESTING=1 make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jun 29 2010 Iain Arnell <iarnell@gmail.com> 0.101760-2
- re-enable t/a-perl-minver.t
* Tue Jun 29 2010 Iain Arnell <iarnell@gmail.com> 0.101760-1
- update to latest upstream (fixes bz#608958)
- BR perl(Capture::Tiny) >= 0.08
* Sat May 08 2010 Iain Arnell <iarnell@gmail.com> 0.100460-4
- disable t/a-perl-minver.t (fails under perl 5.12.0)
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.100460-3
- Mass rebuild with perl-5.12.0
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.100460-2
- Mass rebuild with perl-5.12.0
* Sat Mar 13 2010 Iain Arnell <iarnell@gmail.com> 0.100460-1
- update to latest upstream version
- use perl_default_filter and DESTDIR
- br perl(Pod::Coverage::TrustPod)
- remove failing pod coverage test
* Mon Feb 15 2010 Iain Arnell <iarnell@gmail.com> 0.100450-1
- update to latest upstream version
* Thu Jan 14 2010 Iain Arnell 0.100110-1
- Specfile autogenerated by cpanspec 1.78.