Blame SPECS/perl-MailTools.spec

cb0998
Summary:        Various mail-related perl modules
cb0998
Name:           perl-MailTools
cb0998
Version:        2.12
cb0998
Release:        1.1%{?dist}
cb0998
License:        GPL+ or Artistic
cb0998
Group:          Development/Libraries
cb0998
URL:            http://search.cpan.org/dist/MailTools/
cb0998
Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{version}.tar.gz
cb0998
BuildArch:      noarch
cb0998
BuildRequires:  perl
cb0998
BuildRequires:  perl(base)
cb0998
BuildRequires:  perl(Carp)
cb0998
BuildRequires:  perl(Config)
cb0998
BuildRequires:  perl(Date::Format)
cb0998
BuildRequires:  perl(Date::Parse)
cb0998
BuildRequires:  perl(Exporter)
cb0998
BuildRequires:  perl(ExtUtils::MakeMaker)
cb0998
BuildRequires:  perl(IO::Handle)
cb0998
BuildRequires:  perl(Net::Domain) >= 1.05
cb0998
BuildRequires:  perl(Net::SMTP) >= 1.03
cb0998
BuildRequires:  perl(POSIX)
cb0998
BuildRequires:  perl(strict)
cb0998
BuildRequires:  perl(Test::More)
cb0998
BuildRequires:  perl(Test::Pod)
cb0998
BuildRequires:  perl(vars)
cb0998
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
cb0998
cb0998
%description
cb0998
MailTools is a set of Perl modules related to mail applications.
cb0998
cb0998
%prep
cb0998
%setup -q -n MailTools-%{version}
cb0998
# Set up example scripts
cb0998
cd examples
cb0998
for file in *.PL; do
cb0998
        perl $file
cb0998
done
cb0998
chmod -c -x *_demo
cb0998
# Remove example-generation scripts, no longer needed
cb0998
# It causes warnings from MakeMaker, but we don't care
cb0998
rm *.PL
cb0998
cd -
cb0998
cb0998
%build
cb0998
perl Makefile.PL INSTALLDIRS=vendor
cb0998
make %{?_smp_mflags}
cb0998
cb0998
%install
cb0998
make pure_install DESTDIR=%{buildroot}
cb0998
find %{buildroot} -type f -name .packlist -exec rm -f {} +
cb0998
%{_fixperms} %{buildroot}
cb0998
cb0998
%check
cb0998
make test
cb0998
make test TEST_FILES="xt/*.t"
cb0998
cb0998
%files
cb0998
%doc ChangeLog README* examples/
cb0998
%dir %{perl_vendorlib}/Mail/
cb0998
%dir %{perl_vendorlib}/Mail/Field/
cb0998
%dir %{perl_vendorlib}/Mail/Mailer/
cb0998
%doc %{perl_vendorlib}/Mail/Address.pod
cb0998
%doc %{perl_vendorlib}/Mail/Cap.pod
cb0998
%doc %{perl_vendorlib}/Mail/Field.pod
cb0998
%doc %{perl_vendorlib}/Mail/Field/AddrList.pod
cb0998
%doc %{perl_vendorlib}/Mail/Field/Date.pod
cb0998
%doc %{perl_vendorlib}/Mail/Field/Generic.pod
cb0998
%doc %{perl_vendorlib}/Mail/Filter.pod
cb0998
%doc %{perl_vendorlib}/Mail/Header.pod
cb0998
%doc %{perl_vendorlib}/Mail/Internet.pod
cb0998
%doc %{perl_vendorlib}/Mail/Mailer.pod
cb0998
%doc %{perl_vendorlib}/Mail/Send.pod
cb0998
%doc %{perl_vendorlib}/Mail/Util.pod
cb0998
%{perl_vendorlib}/Mail/Address.pm
cb0998
%{perl_vendorlib}/Mail/Cap.pm
cb0998
%{perl_vendorlib}/Mail/Filter.pm
cb0998
%{perl_vendorlib}/Mail/Header.pm
cb0998
%{perl_vendorlib}/Mail/Internet.pm
cb0998
%{perl_vendorlib}/Mail/Field.pm
cb0998
%{perl_vendorlib}/Mail/Mailer.pm
cb0998
%{perl_vendorlib}/Mail/Send.pm
cb0998
%{perl_vendorlib}/Mail/Util.pm
cb0998
%{perl_vendorlib}/Mail/Field/AddrList.pm
cb0998
%{perl_vendorlib}/Mail/Field/Date.pm
cb0998
%{perl_vendorlib}/Mail/Field/Generic.pm
cb0998
%{perl_vendorlib}/Mail/Mailer/qmail.pm
cb0998
%{perl_vendorlib}/Mail/Mailer/rfc822.pm
cb0998
%{perl_vendorlib}/Mail/Mailer/sendmail.pm
cb0998
%{perl_vendorlib}/Mail/Mailer/smtp.pm
cb0998
%{perl_vendorlib}/Mail/Mailer/smtps.pm
cb0998
%{perl_vendorlib}/Mail/Mailer/testfile.pm
cb0998
%{_mandir}/man3/Mail::Address.3*
cb0998
%{_mandir}/man3/Mail::Cap.3*
cb0998
%{_mandir}/man3/Mail::Field.3*
cb0998
%{_mandir}/man3/Mail::Field::AddrList.3*
cb0998
%{_mandir}/man3/Mail::Field::Date.3*
cb0998
%{_mandir}/man3/Mail::Field::Generic.3*
cb0998
%{_mandir}/man3/Mail::Filter.3*
cb0998
%{_mandir}/man3/Mail::Header.3*
cb0998
%{_mandir}/man3/Mail::Internet.3*
cb0998
%{_mandir}/man3/Mail::Mailer.3*
cb0998
%{_mandir}/man3/Mail::Send.3*
cb0998
%{_mandir}/man3/Mail::Util.3*
cb0998
cb0998
%changelog
cb0998
* Wed Aug 07 2013 Petr Šabata <contyk@redhat.com> - 2.12-1.1
cb0998
- Add some missing built-time dependencies
cb0998
- Fix a bogus date in changelog
cb0998
- Modernize the spec
cb0998
cb0998
* Fri Dec 21 2012 Paul Howarth <paul@city-fan.org> 2.12-1
cb0998
- Update to 2.12
cb0998
  - Default for Mail::Header::new(Modify) is 'false', not 'true'
cb0998
    (CPAN RT#79985)
cb0998
  - Mail::Address take username with rindex(), a bit better than index() but
cb0998
    still poor (CPAN RT#82056)
cb0998
  - Check for bad folding of header lines (CPAN RT#79993)
cb0998
  - Add a note about better to avoid Mail::Address->name() (CPAN RT#81459)
cb0998
- Drop UTF8 patch, no longer needed
cb0998
cb0998
* Wed Aug 29 2012 Paul Howarth <paul@city-fan.org> 2.11-1
cb0998
- Update to 2.11
cb0998
  - Fix typo in Mail::Mailer::smtp, which only shows up in Perl > 5.14
cb0998
cb0998
* Tue Aug 28 2012 Paul Howarth <paul@city-fan.org> 2.10-1
cb0998
- Update to 2.10
cb0998
  - Mail::Mailer::smtp set from address twice (CPAN RT#77161)
cb0998
  - Mail::Mailer::smtps did not support the From option (CPAN RT#77161)
cb0998
  - Mail::Util::mailaddress has now an optional parameter to set the returned
cb0998
    value explicitly (CPAN #75975)
cb0998
- BR: perl(base)
cb0998
- Drop BR: perl(Config) and perl(POSIX), not dual-lived
cb0998
- Drop %%defattr, redundant since rpm 4.4
cb0998
- Don't need to remove empty directories from the buildroot
cb0998
cb0998
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-3
cb0998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cb0998
cb0998
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.09-2
cb0998
- Perl 5.16 rebuild
cb0998
cb0998
* Sat Feb 25 2012 Paul Howarth <paul@city-fan.org> - 2.09-1
cb0998
- Update to 2.09
cb0998
  - Remove dependency to Test::Pod by moving 99pod.t from t/ to xt/
cb0998
    (CPAN RT#69918)
cb0998
- BR: perl(Net::Domain) ≥ 1.05 and perl(Net::SMTP) ≥ 1.03
cb0998
- Explicitly run xt/ tests
cb0998
cb0998
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 2.08-3
cb0998
- Use DESTDIR rather than PERL_INSTALL_ROOT
cb0998
- One buildreq per line for readability
cb0998
- Add buildreqs for core perl modules, which might be dual-lived
cb0998
cb0998
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.08-2
cb0998
- Perl mass rebuild
cb0998
cb0998
* Wed Jun  1 2011 Paul Howarth <paul@city-fan.org> - 2.08-1
cb0998
- Update to 2.08 (#709697)
cb0998
  - Respect errors on closing a Mail::Mailer::smtp/::smtps connection
cb0998
  - Mail::Internet should accept Net::SMTP::SSL as well (CPAN RT#68590)
cb0998
  - Document that Mail::Mailer::smtps needs Authen::SASL
cb0998
- Use patch rather than iconv to convert docs to UTF8 encoding
cb0998
- Nobody else likes macros for commands
cb0998
cb0998
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-2
cb0998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cb0998
cb0998
* Fri Oct  1 2010 Paul Howarth <paul@city-fan.org> 2.07-1
cb0998
- Update to 2.07
cb0998
  - Document perl 5.8.1 requirement in README (CPAN RT#61753)
cb0998
  - Add "MAIL FROM" to Mail::Mailer::smtp
cb0998
cb0998
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.06-2
cb0998
- Mass rebuild with perl-5.12.0
cb0998
cb0998
* Wed Jan 27 2010 Paul Howarth <paul@city-fan.org> 2.06-1
cb0998
- Update to 2.06 (add support for smtps via Net::SMTP::SSL)
cb0998
- Use %%{_fixperms} macro instead of our own chmod incantation
cb0998
cb0998
* Mon Dec 21 2009 Paul Howarth <paul@city-fan.org> 2.05-1
cb0998
- Update to 2.05
cb0998
  - Fix de-ref error when index out of range in Mail::Header::get()
cb0998
  - Repair fixed selection of smtp for non-unix systems
cb0998
  - Do not run pod.t in devel environment
cb0998
  - Set default output filename for Mail::Mailer::testfile::PRINT
cb0998
  - Warn when no mailers were found (CPAN RT#52901)
cb0998
- Tidy up %%files list
cb0998
cb0998
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> 2.04-4
cb0998
- Rebuild against perl 5.10.1
cb0998
cb0998
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.04-3
cb0998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cb0998
cb0998
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.04-2
cb0998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cb0998
cb0998
* Wed Jul 30 2008 Paul Howarth <paul@city-fan.org> 2.04-1
cb0998
- Update to 2.04
cb0998
cb0998
* Tue Apr 15 2008 Paul Howarth <paul@city-fan.org> 2.03-1
cb0998
- Update to 2.03
cb0998
cb0998
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.02-3
cb0998
- Rebuild for perl 5.10 (again)
cb0998
cb0998
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.02-2
cb0998
- rebuild for new perl
cb0998
cb0998
* Mon Dec  3 2007 Paul Howarth <paul@city-fan.org> 2.02-1
cb0998
- Update to 2.02
cb0998
- Remove buildreqs perl(Net::SMTP) and perl(Net::Domain), bundled with perl
cb0998
- Add buildreqs perl(Date::Format), perl(Date::Parse), perl(Test::More), and
cb0998
  perl(Test::Pod)
cb0998
- Remove patch for CPAN RT#20726, now fixed upstream
cb0998
- Buildreq perl >= 5.8.1
cb0998
- Tweak files list to mark pod files as %%doc
cb0998
- Fix character encoding for ChangeLog
cb0998
cb0998
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 1.77-2
cb0998
- Clarify license as GPL v1 or later, or Artistic (same as perl)
cb0998
- Unexpand tabs in spec file
cb0998
cb0998
* Fri May 11 2007 Paul Howarth <paul@city-fan.org> 1.77-1
cb0998
- Update to 1.77
cb0998
cb0998
* Tue Apr 10 2007 Paul Howarth <paul@city-fan.org> 1.76-1
cb0998
- Update to 1.76
cb0998
- Add comment text about the patch for fixing CPAN RT#20726
cb0998
- BuildRequire perl(ExtUtils::MakeMaker) rather than perl-devel
cb0998
cb0998
* Thu Mar  8 2007 Paul Howarth <paul@city-fan.org> 1.74-4
cb0998
- Buildrequire perl-devel for Fedora 7 onwards
cb0998
- Fix argument order for find with -depth
cb0998
cb0998
* Wed Aug 30 2006 Paul Howarth <paul@city-fan.org> 1.74-3
cb0998
- FE6 mass rebuild
cb0998
cb0998
* Fri Jul 28 2006 Paul Howarth <paul@city-fan.org> 1.74-2
cb0998
- cosmetic spec file changes
cb0998
- fix CPAN RT#20726 (RH #200450), allowing Mail::Util::read_mbox() to open
cb0998
  files with weird names
cb0998
cb0998
* Wed Mar  1 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.74-1
cb0998
- 1.74.
cb0998
cb0998
* Sun Jan 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.73-1
cb0998
- 1.73.
cb0998
cb0998
* Wed Jan 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.72-1
cb0998
- 1.72.
cb0998
cb0998
* Fri Jan  6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.71-1
cb0998
- 1.71.
cb0998
cb0998
* Wed Dec 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.67-2
cb0998
- Fix demo scripts.
cb0998
- Sync with fedora-rpmdevtools' perl spec template.
cb0998
cb0998
* Fri Jul  1 2005 Paul Howarth <paul@city-fan.org> - 1.67-1
cb0998
- update to 1.67 (#161830)
cb0998
- assume perl_vendorlib is set
cb0998
- license is same as perl (GPL or Artistic) according to README
cb0998
- don't include module name in summary
cb0998
- use macros consistently
cb0998
- add dist tag
cb0998
cb0998
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.66-2
cb0998
- rebuilt
cb0998
cb0998
* Sat Jan 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.66-1
cb0998
- Update to 1.66.
cb0998
cb0998
* Wed Aug 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.64-0.fdr.1
cb0998
- Update to 1.64, patch applied upstream.
cb0998
- Bring up to date with current fedora.us Perl spec template.
cb0998
cb0998
* Sat Mar 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.61-0.fdr.2
cb0998
- Add patch to complete test.pm -> testfile.pm change introduced in 1.61.
cb0998
cb0998
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.61-0.fdr.1
cb0998
- Update to 1.61.
cb0998
- Reduce directory ownership bloat.
cb0998
- Run tests in the %%check section.
cb0998
cb0998
* Thu Sep 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.60-0.fdr.1
cb0998
- Update to 1.60.
cb0998
- Install into vendor dirs.
cb0998
- Spec cleanups.
cb0998
cb0998
* Sat Jul 12 2003 Dams <anvil[AT]livna.org> 0:1.58-0.fdr.5
cb0998
- Package is now noarch
cb0998
cb0998
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 0:1.58-0.fdr.4
cb0998
- Changed group tag
cb0998
- Making test in build section
cb0998
cb0998
* Tue Jul  1 2003 Dams <anvil[AT]livna.org> 0:1.58-0.fdr.3
cb0998
- Modified files section
cb0998
cb0998
* Tue Jun 17 2003 Dams <anvil[AT]livna.org> 0:1.58-0.fdr.2
cb0998
- Added forgotten description
cb0998
- Modified Summary according to Michael Schwendt suggestion
cb0998
- Modified tarball permissions to 0644
cb0998
cb0998
* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
cb0998
- Initial build.