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
|
|
|
#
|
2015-04-17 07:30:17 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX 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
|
|
|
Name: perl-Mail-Box
|
2015-04-17 07:30:17 +00:00
|
|
|
Version: 2.118
|
2010-04-03 00:37:20 +00:00
|
|
|
Release: 0
|
2013-01-25 20:35:05 +00:00
|
|
|
%define cpan_name Mail-Box
|
2015-04-17 07:30:17 +00:00
|
|
|
Summary: Manage a Mailbox, a Folder with Messages
|
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-04-03 00:37:20 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2015-04-17 07:30:17 +00:00
|
|
|
Url: http://search.cpan.org/dist/Mail-Box/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
2013-01-25 20:35:05 +00:00
|
|
|
BuildArch: noarch
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-04-17 07:30:17 +00:00
|
|
|
BuildRequires: perl
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Date::Format)
|
2012-04-20 22:18:35 +00:00
|
|
|
BuildRequires: perl(Date::Parse)
|
2015-04-17 07:30:17 +00:00
|
|
|
BuildRequires: perl(Devel::GlobalDestruction) >= 0.09
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRequires: perl(Digest::HMAC_MD5)
|
|
|
|
|
BuildRequires: perl(Encode) >= 2.26
|
|
|
|
|
BuildRequires: perl(File::Remove) >= 0.20
|
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
|
BuildRequires: perl(MIME::Types) >= 1.004
|
|
|
|
|
BuildRequires: perl(Mail::Address)
|
2015-04-17 07:30:17 +00:00
|
|
|
BuildRequires: perl(Object::Realize::Later) >= 0.19
|
2012-04-20 22:18:35 +00:00
|
|
|
BuildRequires: perl(TAP::Harness) >= 3.00
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
BuildRequires: perl(Time::Zone)
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRequires: perl(URI) >= 1.23
|
2015-04-17 07:30:17 +00:00
|
|
|
BuildRequires: perl(User::Identity) >= 0.94
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(Date::Format)
|
2012-04-20 22:18:35 +00:00
|
|
|
Requires: perl(Date::Parse)
|
2015-04-17 07:30:17 +00:00
|
|
|
Requires: perl(Devel::GlobalDestruction) >= 0.09
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(Digest::HMAC_MD5)
|
|
|
|
|
Requires: perl(Encode) >= 2.26
|
|
|
|
|
Requires: perl(File::Remove) >= 0.20
|
|
|
|
|
Requires: perl(IO::Scalar)
|
|
|
|
|
Requires: perl(MIME::Types) >= 1.004
|
|
|
|
|
Requires: perl(Mail::Address)
|
2015-04-17 07:30:17 +00:00
|
|
|
Requires: perl(Object::Realize::Later) >= 0.19
|
2012-04-20 22:18:35 +00:00
|
|
|
Requires: perl(TAP::Harness) >= 3.00
|
2015-04-17 07:30:17 +00:00
|
|
|
Requires: perl(Test::Pod) >= 1.00
|
2012-04-20 22:18:35 +00:00
|
|
|
Requires: perl(Time::Zone)
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(URI) >= 1.23
|
2015-04-17 07:30:17 +00:00
|
|
|
Requires: perl(User::Identity) >= 0.94
|
|
|
|
|
%{perl_requires}
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%description
|
2015-04-17 07:30:17 +00:00
|
|
|
A Mail::Box::Manager creates 'Mail::Box' objects. But you already knew,
|
2012-04-20 22:18:35 +00:00
|
|
|
because you started with the Mail::Box-Overview manual page. That page is
|
|
|
|
|
obligatory reading, sorry!
|
2015-04-17 07:30:17 +00:00
|
|
|
|
|
|
|
|
'Mail::Box' is the base class for accessing various types of mailboxes
|
2012-04-20 22:18:35 +00:00
|
|
|
(folders) in a uniform manner. The various folder types vary on how they
|
|
|
|
|
store their messages, but when some effort those differences could be
|
|
|
|
|
hidden behind a general API. For example, some folders store many messages
|
|
|
|
|
in one single file, where other store each message in a separate file
|
|
|
|
|
withing the same directory.
|
|
|
|
|
|
2015-04-17 07:30:17 +00:00
|
|
|
No object in your program will be of type 'Mail::Box': it is only used as
|
|
|
|
|
base class for the real folder types. 'Mail::Box' is extended by
|
2012-04-20 22:18:35 +00:00
|
|
|
|
2015-04-17 07:30:17 +00:00
|
|
|
Extends Mail::Reporter/"DESCRIPTION".
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%prep
|
2015-04-17 07:30:17 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%build
|
2015-04-17 07:30:17 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__make} test
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
2015-04-17 07:30:17 +00:00
|
|
|
%perl_gen_filelist
|
2012-04-20 22:18:35 +00:00
|
|
|
|
2015-04-17 07:30:17 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
|
%doc ChangeLog examples LICENSE README README.FAQ README.todo TODO.v2
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%changelog
|