|
|
3ea6cda |
Name: perl-Mail-Box
|
|
|
51b45f0 |
Version: 2.097
|
|
|
7b729e0 |
Release: 1%{?dist}
|
|
|
3ea6cda |
Summary: Manage a mailbox, a folder with messages
|
|
|
3ea6cda |
Group: Development/Libraries
|
|
|
d6a02e8 |
License: GPL+ or Artistic
|
|
|
3ea6cda |
URL: http://search.cpan.org/dist/Mail-Box/
|
|
|
3ea6cda |
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Mail-Box-%{version}.tar.gz
|
|
|
3ea6cda |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
3ea6cda |
BuildRequires: perl(ExtUtils::MakeMaker), perl(IO::Handle), perl(Scalar::Util)
|
|
|
3ea6cda |
BuildRequires: perl(Encode), perl(Mail::Transport::Dbx)
|
|
|
3ea6cda |
# Can't have a BR on perl(Mail::Box::Parser::C), it requires perl-Mail-Box (whoops)
|
|
|
51b45f0 |
BuildRequires: perl(Mail::IMAPClient), perl(Mail::Internet)
|
|
|
3ea6cda |
BuildRequires: perl(MIME::Entity), perl(HTML::TreeBuilder), perl(Time::HiRes)
|
|
|
3ea6cda |
BuildRequires: perl(HTML::FormatText), perl(Date::Parse), perl(File::Spec), perl(File::Remove)
|
|
|
3ea6cda |
BuildRequires: perl(Errno), perl(Object::Realize::Later), perl(Mail::Address), perl(MIME::Types)
|
|
|
3ea6cda |
BuildRequires: perl(Sys::Hostname), perl(Test::More), perl(Test::Harness), perl(MIME::Base64)
|
|
|
3ea6cda |
BuildRequires: perl(URI), perl(IO::Scalar), perl(Digest::HMAC_MD5), perl(User::Identity)
|
|
|
27609ac |
BuildRequires: perl(Time::Zone), perl(Email::Simple), perl(Text::Autoformat)
|
|
|
5c50b52 |
BuildRequires: perl(Email::Abstract)
|
|
|
6e85c27 |
# When perl(TAP::Harness) shows up, uncomment this, and re-enable the tests.
|
|
|
19ccb00 |
BuildRequires: perl(TAP::Harness)
|
|
|
3ea6cda |
BuildArch: noarch
|
|
|
3ea6cda |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
3ea6cda |
|
|
|
3ea6cda |
# I'm not sure why these provides aren't getting picked up automatically.
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Body::Construct) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Bounce) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Build) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Forward) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Read) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Rebuild) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Reply) = %{version}
|
|
|
3ea6cda |
Provides: perl(Mail::Message::Construct::Text) = %{version}
|
|
|
3ea6cda |
|
|
|
27609ac |
# I'm also not sure why this requirement isn't getting picked up automatically.
|
|
|
27609ac |
Requires: perl(Object::Realize::Later)
|
|
|
27609ac |
|
|
|
3ea6cda |
%description
|
|
|
3ea6cda |
The Mail::Box folder is a modern mail-folder manager -- at least at
|
|
|
3ea6cda |
the moment of this writing ;) It is written to replace Mail::Folder,
|
|
|
3ea6cda |
although its interface is different.
|
|
|
3ea6cda |
|
|
|
3ea6cda |
%prep
|
|
|
3ea6cda |
%setup -q -n Mail-Box-%{version}
|
|
|
3ea6cda |
|
|
|
51b45f0 |
%filter_from_requires /perl(Mail::SpamAssassin)/d
|
|
|
51b45f0 |
%{?perl_default_filter}
|
|
|
51b45f0 |
|
|
|
51b45f0 |
|
|
|
3ea6cda |
%build
|
|
|
19ccb00 |
yes y |%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
3ea6cda |
make
|
|
|
3ea6cda |
|
|
|
3ea6cda |
%install
|
|
|
3ea6cda |
rm -rf $RPM_BUILD_ROOT
|
|
|
3ea6cda |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
3ea6cda |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
3ea6cda |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
3ea6cda |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
3ea6cda |
# Nuke Zero length files
|
|
|
3ea6cda |
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Mail/Box-Overview.pod
|
|
|
3ea6cda |
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Mail/Box-Cookbook.pod
|
|
|
3ea6cda |
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Mail/Box-Index.pod
|
|
|
3ea6cda |
# Fix file encoding
|
|
|
3ea6cda |
recode()
|
|
|
3ea6cda |
{
|
|
|
3ea6cda |
iconv -f "$2" -t utf-8 < "$1" > "${1}_"
|
|
|
3ea6cda |
mv -f "${1}_" "$1"
|
|
|
3ea6cda |
}
|
|
|
3ea6cda |
recode $RPM_BUILD_ROOT%{_mandir}/man3/Mail::Message::Field.3pm iso-8859-1
|
|
|
3ea6cda |
|
|
|
3ea6cda |
%check
|
|
|
19ccb00 |
make test
|
|
|
3ea6cda |
|
|
|
3ea6cda |
%clean
|
|
|
3ea6cda |
rm -rf $RPM_BUILD_ROOT
|
|
|
3ea6cda |
|
|
|
3ea6cda |
%files
|
|
|
3ea6cda |
%defattr(-,root,root,-)
|
|
|
3ea6cda |
%doc README LICENSE README.FAQ README.todo ChangeLog examples/
|
|
|
3ea6cda |
%{perl_vendorlib}/Mail/
|
|
|
3ea6cda |
%{_mandir}/man3/*.3*
|
|
|
3ea6cda |
|
|
|
3ea6cda |
%changelog
|
|
|
51b45f0 |
* Wed Mar 2 2011 Tom Callaway <spot@fedoraproject.org> - 2.097-1
|
|
|
51b45f0 |
- update to 2.097
|
|
|
51b45f0 |
- remove Mail::SpamAssassin from BuildRequires
|
|
|
51b45f0 |
- filter Mail::SpamAssassin out of Requires
|
|
|
51b45f0 |
|
|
|
51b45f0 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.095-3
|
|
|
51b45f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
51b45f0 |
|
|
|
51b45f0 |
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.095-2
|
|
|
51b45f0 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
51b45f0 |
|
|
|
7b729e0 |
* Mon Jul 12 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.095-1
|
|
|
7b729e0 |
- update to 2.095
|
|
|
7b729e0 |
|
|
|
e217928 |
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.091-3
|
|
|
e217928 |
- Mass rebuild with perl-5.12.0
|
|
|
e217928 |
|
|
|
f0b14d7 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.091-2
|
|
|
f0b14d7 |
- rebuild against perl 5.10.1
|
|
|
f0b14d7 |
|
|
|
27609ac |
* Wed Sep 9 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.091-1
|
|
|
27609ac |
- update to 2.091
|
|
|
27609ac |
|
|
|
dee380f |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.087-2
|
|
|
dee380f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
dee380f |
|
|
|
c1f3f06 |
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.087-1
|
|
|
c1f3f06 |
- update to 2.087
|
|
|
c1f3f06 |
|
|
|
b9dd16a |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.084-2
|
|
|
b9dd16a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b9dd16a |
|
|
|
19ccb00 |
* Tue Nov 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.084-1
|
|
|
19ccb00 |
- update to 2.084
|
|
|
19ccb00 |
|
|
|
6e85c27 |
* Thu Jun 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.082-1
|
|
|
6e85c27 |
- update to 2.082
|
|
|
6e85c27 |
|
|
|
5c50b52 |
* Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.073-5
|
|
|
5c50b52 |
- Rebuild second pass, tests enabled
|
|
|
5c50b52 |
|
|
|
caf802c |
* Sun Mar 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.073-4
|
|
|
caf802c |
- Rebuild, first pass, disable tests, BR on Email::Abstract
|
|
|
caf802c |
|
|
|
caf802c |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.073-3
|
|
|
caf802c |
- Rebuild for perl 5.10 (again)
|
|
|
caf802c |
|
|
|
3ea8ed7 |
* Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.073-2
|
|
|
3ea8ed7 |
- rebuild for new perl
|
|
|
3ea8ed7 |
|
|
|
c8fca8f |
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.073-1.1
|
|
|
c8fca8f |
- first rebuild pass, break look with Email::Abstract
|
|
|
c8fca8f |
|
|
|
d6a02e8 |
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.073-1
|
|
|
d6a02e8 |
- 2.073
|
|
|
d6a02e8 |
- license fix
|
|
|
d6a02e8 |
|
|
|
3ea6cda |
* Wed Apr 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.070-2
|
|
|
3ea6cda |
- add examples/ to %%doc
|
|
|
3ea6cda |
|
|
|
3ea6cda |
* Mon Apr 2 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.070-1
|
|
|
3ea6cda |
- Initial package for Fedora
|