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
|
|
|
#
|
2020-08-21 12:20:43 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
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.
|
|
|
|
|
|
2019-04-03 10:56:59 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-04-03 00:37:20 +00:00
|
|
|
#
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
|
2010-04-03 00:37:20 +00:00
|
|
|
Name: perl-Mail-Box
|
2020-08-21 12:20:43 +00:00
|
|
|
Version: 3.009
|
2010-04-03 00:37:20 +00:00
|
|
|
Release: 0
|
2013-01-25 20:35:05 +00:00
|
|
|
%define cpan_name Mail-Box
|
2019-04-03 10:56:59 +00:00
|
|
|
Summary: Manage a mailbox, a folder with messages
|
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2010-04-03 00:37:20 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2020-08-21 12:20:43 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-04-03 10:56:59 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
|
2015-04-17 07:30:17 +00:00
|
|
|
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
|
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
|
2019-04-03 10:56:59 +00:00
|
|
|
BuildRequires: perl(File::Remove) >= 0.2
|
2010-04-03 00:37:20 +00:00
|
|
|
BuildRequires: perl(IO::Scalar)
|
2019-04-03 10:56:59 +00:00
|
|
|
BuildRequires: perl(Mail::Message) >= 3.008
|
|
|
|
|
BuildRequires: perl(Mail::Transport) >= 3.003
|
2015-04-17 07:30:17 +00:00
|
|
|
BuildRequires: perl(Object::Realize::Later) >= 0.19
|
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
|
2019-04-03 10:56:59 +00:00
|
|
|
Requires: perl(File::Remove) >= 0.2
|
2011-11-18 09:15:48 +00:00
|
|
|
Requires: perl(IO::Scalar)
|
2019-04-03 10:56:59 +00:00
|
|
|
Requires: perl(Mail::Message) >= 3.008
|
|
|
|
|
Requires: perl(Mail::Transport) >= 3.003
|
2015-04-17 07:30:17 +00:00
|
|
|
Requires: perl(Object::Realize::Later) >= 0.19
|
|
|
|
|
%{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
|
2019-04-03 10:56:59 +00:00
|
|
|
within the same directory.
|
2012-04-20 22:18:35 +00:00
|
|
|
|
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
|
|
|
|
2016-09-23 04:12:23 +00:00
|
|
|
Extends "DESCRIPTION" in Mail::Reporter.
|
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
|
2019-04-03 10:56:59 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
2015-04-17 07:30:17 +00:00
|
|
|
|
|
|
|
|
%check
|
2019-04-03 10:56:59 +00:00
|
|
|
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)
|
2019-10-11 13:35:34 +00:00
|
|
|
%doc ChangeLog examples MANIFEST.extra README README.md README.todo testrules.yml
|
2006-10-28 20:35:25 +00:00
|
|
|
|
|
|
|
|
%changelog
|