2017-02-09 17:05:50 +00:00
|
|
|
Name: perl-Mail-Message
|
2018-01-10 09:49:26 +00:00
|
|
|
Version: 3.005
|
2017-07-28 19:01:18 +00:00
|
|
|
Release: 1%{?dist}
|
2017-02-09 17:05:50 +00:00
|
|
|
Summary: MIME message handling
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Mail-Message/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Mail-Message-%{version}.tar.gz
|
2017-07-12 13:09:40 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Date::Format)
|
|
|
|
BuildRequires: perl(Date::Parse)
|
2017-06-07 09:04:28 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(Email::Abstract)
|
2017-06-07 09:04:28 +00:00
|
|
|
%endif
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(Email::Simple)
|
|
|
|
BuildRequires: perl(Encode) >= 2.26
|
|
|
|
BuildRequires: perl(Encode::Alias)
|
|
|
|
BuildRequires: perl(Exporter)
|
2018-01-10 09:49:26 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
2017-02-09 17:05:50 +00:00
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.7
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(Font::Metrics::TimesRoman)
|
|
|
|
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
|
|
|
|
BuildRequires: perl(User::Identity) >= 0.94
|
|
|
|
BuildRequires: perl(User::Identity::Collection::Emails)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Remember when we could assume build environments had common packages?
|
|
|
|
# Pepperidge Farm remembers.
|
|
|
|
BuildRequires: coreutils, make, findutils, glibc-common
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
# Explicit run requires
|
|
|
|
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
|
2017-02-09 17:05:50 +00:00
|
|
|
Requires: perl(Time::Zone)
|
|
|
|
|
|
|
|
# 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}
|
|
|
|
# The licensing on these test files is unclear.
|
|
|
|
# They seem to contain content posted publicly to usenet
|
|
|
|
# so there is an argument that the content is distributable
|
|
|
|
# but its not under a Free license.
|
|
|
|
# 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
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%build
|
2018-01-10 09:49:26 +00:00
|
|
|
yes y |%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
2017-02-09 17:05:50 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2018-01-10 09:49:26 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2017-02-09 17:05:50 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
# Fix file encoding
|
|
|
|
recode()
|
|
|
|
{
|
|
|
|
iconv -f "$2" -t utf-8 < "$1" > "${1}_"
|
|
|
|
mv -f "${1}_" "$1"
|
|
|
|
}
|
|
|
|
recode $RPM_BUILD_ROOT%{_mandir}/man3/Mail::Message::Field.3pm iso-8859-1
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README ChangeLog
|
|
|
|
%{perl_vendorlib}/Mail/
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
%changelog
|
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
|