2017-02-09 17:05:50 +00:00
|
|
|
Name: perl-Mail-Message
|
2022-03-01 12:30:41 +00:00
|
|
|
Version: 3.012
|
|
|
|
Release: 1%{?dist}
|
2017-02-09 17:05:50 +00:00
|
|
|
Summary: MIME message handling
|
|
|
|
License: GPL+ or Artistic
|
2018-06-04 13:04:29 +00:00
|
|
|
URL: https://metacpan.org/release/Mail-Message
|
2022-03-01 12:30:41 +00:00
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Mail/Mail-Message-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: make
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl-generators
|
2018-01-29 12:06:27 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2022-03-01 12:30:41 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# Runtime
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Date::Format)
|
|
|
|
BuildRequires: perl(Date::Parse)
|
|
|
|
BuildRequires: perl(Email::Simple)
|
|
|
|
BuildRequires: perl(Encode) >= 2.26
|
|
|
|
BuildRequires: perl(Encode::Alias)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.7
|
|
|
|
BuildRequires: perl(File::Temp)
|
2022-03-01 12:30:41 +00:00
|
|
|
BuildRequires: perl(HTML::FormatPS)
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(HTML::FormatText) >= 2.01
|
|
|
|
BuildRequires: perl(HTML::TreeBuilder) >= 3.13
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Lines)
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(Mail::Address) >= 2.17
|
|
|
|
BuildRequires: perl(Mail::Header)
|
|
|
|
BuildRequires: perl(Mail::Identity)
|
|
|
|
BuildRequires: perl(Mail::Internet) >= 2.01
|
2017-06-07 09:04:28 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(Mail::Transport::Send)
|
2017-06-07 09:04:28 +00:00
|
|
|
%endif
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
BuildRequires: perl(MIME::Entity) >= 3.0
|
|
|
|
BuildRequires: perl(MIME::Parser)
|
|
|
|
BuildRequires: perl(MIME::QuotedPrint)
|
|
|
|
BuildRequires: perl(MIME::Types) >= 1.004
|
|
|
|
BuildRequires: perl(Net::Domain)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.13
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Sys::Hostname)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(Text::Autoformat)
|
|
|
|
BuildRequires: perl(Time::HiRes) >= 1.51
|
|
|
|
BuildRequires: perl(Time::Zone)
|
|
|
|
BuildRequires: perl(URI) >= 1.23
|
2022-03-01 12:30:41 +00:00
|
|
|
BuildRequires: perl(User::Identity) >= 1.01
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(User::Identity::Collection::Emails)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
2022-03-01 12:30:41 +00:00
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
# Optional Tests
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
BuildRequires: perl(Email::Abstract)
|
|
|
|
%endif
|
|
|
|
# Dependencies
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2017-02-09 17:05:50 +00:00
|
|
|
Requires: perl(Date::Parse)
|
2017-06-07 09:04:28 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2017-02-09 17:05:50 +00:00
|
|
|
Requires: perl(Mail::Transport::Send)
|
2017-06-07 09:04:28 +00:00
|
|
|
%endif
|
2022-03-01 12:30:41 +00:00
|
|
|
Requires: perl(Net::Domain)
|
|
|
|
Requires: perl(Time::HiRes) >= 1.51
|
2017-02-09 17:05:50 +00:00
|
|
|
Requires: perl(Time::Zone)
|
2022-03-01 12:30:41 +00:00
|
|
|
Requires: perl(User::Identity) >= 1.01
|
2017-02-09 17:05:50 +00:00
|
|
|
|
|
|
|
# I'm not sure why these provides aren't getting picked up automatically.
|
|
|
|
Provides: perl(Mail::Message::Body::Construct) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Bounce) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Build) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Forward) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Read) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Rebuild) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Reply) = %{version}
|
|
|
|
Provides: perl(Mail::Message::Construct::Text) = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
MIME message handling code, formerly part of the Mail::Box package.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Mail-Message-%{version}
|
2020-10-19 21:48:06 +00:00
|
|
|
# The licensing on these test files is unclear.
|
2017-02-09 17:05:50 +00:00
|
|
|
# They seem to contain content posted publicly to usenet
|
|
|
|
# so there is an argument that the content is distributable
|
2022-03-01 12:30:41 +00:00
|
|
|
# but it's not under a Free license.
|
2017-02-09 17:05:50 +00:00
|
|
|
# We delete these files to resolve the issue.
|
|
|
|
# https://rt.cpan.org/Public/Bug/Display.html?id=120149
|
|
|
|
rm -rf t/203-mlfolder.mbox t/204-sgfolder.mbox
|
|
|
|
rm -rf t/203head-listgroup.t t/204head-spamgroup.t
|
|
|
|
|
2020-10-19 21:48:06 +00:00
|
|
|
%build
|
2022-03-01 12:30:41 +00:00
|
|
|
yes y |perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
2017-02-09 17:05:50 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2022-03-01 12:30:41 +00:00
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
2017-02-09 17:05:50 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
2022-03-01 12:30:41 +00:00
|
|
|
%doc ChangeLog README README.md
|
2017-02-09 17:05:50 +00:00
|
|
|
%{perl_vendorlib}/Mail/
|
2022-03-01 12:30:41 +00:00
|
|
|
%{_mandir}/man3/Mail::*.3*
|
2017-02-09 17:05:50 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-03-01 12:30:41 +00:00
|
|
|
* Tue Mar 1 2022 Paul Howarth <paul@city-fan.org> - 3.012-1
|
|
|
|
- Update to 3.012
|
|
|
|
- Use author-independent source URL
|
|
|
|
- Classify buildreqs by usage
|
|
|
|
- Drop redundant %%{?perl_default_filter}
|
|
|
|
- Drop recoding of Mail::Message::Field manpage since it has changed to UTF-8
|
|
|
|
coding upstream
|
|
|
|
- Package README.md too (guide for contributors)
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
2022-01-26 11:50:15 +00:00
|
|
|
* Wed Jan 26 2022 Paul Howarth <paul@city-fan.org> - 3.011-3
|
|
|
|
- EPEL-9 post-bootstrap rebuild
|
|
|
|
|
2022-01-21 03:06:52 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.011-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-27 14:39:24 +00:00
|
|
|
* Tue Jul 27 2021 Tom Callaway <spot@fedoraproject.org> - 3.011-1
|
|
|
|
- update to 3.011
|
|
|
|
|
2021-07-22 21:42:59 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.010-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-24 08:13:28 +00:00
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.010-4
|
|
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
|
2021-05-23 00:27:32 +00:00
|
|
|
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.010-3
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
2021-01-27 02:37:52 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.010-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-19 21:48:06 +00:00
|
|
|
* Mon Oct 19 2020 Tom Callaway <spot@fedoraproject.org> - 3.010-1
|
|
|
|
- update to 3.010
|
|
|
|
|
2020-07-28 16:54:48 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.009-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-26 15:29:46 +00:00
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.009-3
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
2020-06-25 13:18:49 +00:00
|
|
|
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.009-2
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
2020-02-11 18:40:42 +00:00
|
|
|
* Tue Feb 11 2020 Tom Callaway <spot@fedoraproject.org> - 3.009-1
|
|
|
|
- update to 3.009
|
|
|
|
|
2020-01-30 01:55:15 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.008-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 04:27:13 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.008-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-02 20:55:17 +00:00
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.008-3
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
2019-05-31 17:31:00 +00:00
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.008-2
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
2019-02-11 21:17:12 +00:00
|
|
|
* Mon Feb 11 2019 Tom Callaway <spot@fedoraproject.org> - 3.008-1
|
|
|
|
- update to 3.008
|
|
|
|
|
2019-02-01 22:03:31 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.007-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-09-05 17:27:49 +00:00
|
|
|
* Wed Sep 5 2018 Tom Callaway <spot@fedoraproject.org> - 3.007-1
|
|
|
|
- update to 3.007
|
|
|
|
|
2018-07-13 18:21:43 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.006-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-01 06:57:20 +00:00
|
|
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.006-4
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-29 20:55:30 +00:00
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.006-3
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 22:37:33 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.006-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-29 12:06:27 +00:00
|
|
|
* Mon Jan 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.006-1
|
|
|
|
- 3.006 bump
|
|
|
|
|
2018-01-10 09:49:26 +00:00
|
|
|
* Wed Jan 10 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.005-1
|
|
|
|
- 3.005 bump
|
|
|
|
|
2017-09-06 10:03:43 +00:00
|
|
|
* Wed Sep 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.002-1
|
|
|
|
- 3.002 bump
|
|
|
|
|
2017-07-28 19:01:18 +00:00
|
|
|
* Fri Jul 28 2017 Tom Callaway <spot@fedoraproject.org> - 3.001-1
|
|
|
|
- update to 3.001
|
|
|
|
|
2017-07-27 04:49:16 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.000-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 14:12:23 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.000-6
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-07 09:04:28 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.000-5
|
|
|
|
- Added perl_bootstrap to avoid build cycle
|
|
|
|
|
2017-06-07 08:32:45 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.000-4
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-09 17:05:50 +00:00
|
|
|
* Thu Feb 9 2017 Tom Callaway <spot@fedoraproject.org> - 3.000-3
|
|
|
|
- remove unnecessary requires filtering
|
|
|
|
- add necessary explicit Requires
|
|
|
|
|
|
|
|
* Wed Feb 8 2017 Tom Callaway <spot@fedoraproject.org> - 3.000-2
|
|
|
|
- fix buildrequires
|
|
|
|
- remove non-free test cases
|
|
|
|
|
|
|
|
* Tue Feb 7 2017 Tom Callaway <spot@fedoraproject.org> - 3.000-1
|
|
|
|
- initial package
|