2010-04-03 00:37:20 +00:00
|
|
|
#
|
2011-11-18 09:15:48 +00:00
|
|
|
# spec file for package perl-Mail-Box
|
2010-04-03 00:37:20 +00:00
|
|
|
#
|
2011-11-18 09:15:48 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-04-03 00:37:20 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
2006-10-28 20:35:25 +00:00
|
|
|
|
2010-04-03 00:37:20 +00:00
|
|
|
# norootforbuild
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
|
2010-04-03 00:37:20 +00:00
|
|
|
Name: perl-Mail-Box
|
2011-11-18 09:15:48 +00:00
|
|
|
%define cpan_name Mail-Box
|
2010-04-03 00:37:20 +00:00
|
|
|
Summary: Manage a mailbox, a folder with messages
|
2011-11-18 09:15:48 +00:00
|
|
|
Version: 2.101
|
2010-04-03 00:37:20 +00:00
|
|
|
Release: 0
|
|
|
|
|
License: Artistic License, GPL (see LICENSE file)
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Url: http://search.cpan.org/dist/Mail-Box/
|
2011-11-18 09:15:48 +00:00
|
|
|
Source0: http://mirror.netcologne.de/cpan/authors/id/M/MA/MARKOV/Mail-Box-%{version}.tar.gz
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:41:23 +00:00
|
|
|
%{perl_requires}
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Errno)
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.7
|
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
|
BuildRequires: perl(Sys::Hostname)
|
|
|
|
|
BuildRequires: perl(TAP::Harness) >= 3.00
|
|
|
|
|
# testing
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
# other not perl || perl-base
|
|
|
|
|
BuildRequires: perl(Date::Format)
|
|
|
|
|
BuildRequires: perl(Digest::HMAC_MD5)
|
|
|
|
|
## this would only allow build for o:F
|
|
|
|
|
%if 0%{?suse_version} > 1120
|
|
|
|
|
BuildRequires: perl(Encode) >= 2.26
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: perl(File::Remove) >= 0.20
|
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
|
BuildRequires: perl(MIME::Types) >= 1.004
|
|
|
|
|
BuildRequires: perl(Mail::Address)
|
|
|
|
|
BuildRequires: perl(Object::Realize::Later) >= 0.14
|
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.13
|
|
|
|
|
BuildRequires: perl(URI) >= 1.23
|
|
|
|
|
BuildRequires: perl(User::Identity) >= 0.93
|
|
|
|
|
# optional
|
|
|
|
|
BuildRequires: perl(HTML::FormatText) >= 2.01
|
|
|
|
|
BuildRequires: perl(HTML::TreeBuilder) >= 3.13
|
|
|
|
|
BuildRequires: perl(MIME::Entity) >= 3.00
|
|
|
|
|
#BuildRequires: perl(Mail::IMAPClient) >= 3.00
|
|
|
|
|
BuildRequires: perl(Mail::Internet) >= 2.01
|
|
|
|
|
#BuildRequires: perl(Mail::Transport::Dbx) >= 0.04
|
|
|
|
|
BuildRequires: perl(Time::HiRes) >= 1.51
|
|
|
|
|
##
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(Errno)
|
|
|
|
|
Requires: perl(File::Spec) >= 0.7
|
|
|
|
|
Requires: perl(MIME::Base64)
|
|
|
|
|
Requires: perl(Sys::Hostname)
|
|
|
|
|
Requires: perl(TAP::Harness) >= 3.00
|
2010-04-03 00:37:20 +00:00
|
|
|
# other not perl || perl-base
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(Date::Format)
|
|
|
|
|
Requires: perl(Digest::HMAC_MD5)
|
2010-04-03 00:37:20 +00:00
|
|
|
## this would only allow usage for o:F
|
|
|
|
|
%if 0%{?suse_version} > 1120
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(Encode) >= 2.26
|
2010-04-03 00:37:20 +00:00
|
|
|
%else
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(Encode)
|
2010-04-03 00:37:20 +00:00
|
|
|
%endif
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(File::Remove) >= 0.20
|
|
|
|
|
Requires: perl(IO::Scalar)
|
|
|
|
|
Requires: perl(MIME::Types) >= 1.004
|
|
|
|
|
Requires: perl(Mail::Address)
|
|
|
|
|
Requires: perl(Object::Realize::Later) >= 0.14
|
|
|
|
|
Requires: perl(Scalar::Util) >= 1.13
|
|
|
|
|
Requires: perl(URI) >= 1.23
|
|
|
|
|
Requires: perl(User::Identity) >= 0.93
|
2010-04-03 00:37:20 +00:00
|
|
|
# optional
|
2011-11-18 09:15:48 +00:00
|
|
|
Recommends: perl(HTML::FormatText) >= 2.01
|
|
|
|
|
Recommends: perl(HTML::TreeBuilder) >= 3.13
|
|
|
|
|
Recommends: perl(MIME::Entity) >= 3.00
|
|
|
|
|
Recommends: perl(Mail::IMAPClient) >= 3.00
|
|
|
|
|
Recommends: perl(Mail::Internet) >= 2.01
|
|
|
|
|
Recommends: perl(Mail::Transport::Dbx) >= 0.04
|
|
|
|
|
Recommends: perl(Time::HiRes) >= 1.51
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%description
|
2010-04-03 00:37:20 +00:00
|
|
|
The Mail::Box folder is a modern mail-folder manager --at least at the
|
|
|
|
|
moment of this writing ;) It is written to be a replacement of MailTools
|
|
|
|
|
and Mail::Folder, an alternative to the Email::* set of modules.
|
|
|
|
|
|
|
|
|
|
The most important modules are Mail::Box::Manager, Mail::Box, and
|
|
|
|
|
Mail::Message. Their documentation explain the features in more detail
|
|
|
|
|
than this document. The Mail::Box-Overview page describe each set of
|
|
|
|
|
modules in more detail.
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
Author:
|
|
|
|
|
-------
|
|
|
|
|
Mark Overmeer
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-04-03 00:37:20 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%build
|
2010-04-03 00:37:20 +00:00
|
|
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
2008-10-31 20:56:13 +00:00
|
|
|
|
|
|
|
|
%check
|
2010-04-03 00:37:20 +00:00
|
|
|
%{__make} test
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
2010-04-03 00:37:20 +00:00
|
|
|
%perl_gen_filelist
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%clean
|
2010-04-03 00:37:20 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2006-10-28 20:35:25 +00:00
|
|
|
|
2010-04-03 00:37:20 +00:00
|
|
|
%files -f %{name}.files
|
2006-10-28 20:35:25 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%doc ChangeLog LICENSE README* MANIFEST TODO.v2
|
|
|
|
|
|
|
|
|
|
%changelog
|