1
0
forked from perl/perl-Mail-Box
Files
perl-Mail-Box/perl-Mail-Box.spec

102 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Mail-Box
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: perl-Mail-Box
Version: 2.118
Release: 0
%define cpan_name Mail-Box
Summary: Manage a Mailbox, a Folder with Messages
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
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
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Date::Format)
BuildRequires: perl(Date::Parse)
BuildRequires: perl(Devel::GlobalDestruction) >= 0.09
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)
BuildRequires: perl(Object::Realize::Later) >= 0.19
BuildRequires: perl(TAP::Harness) >= 3.00
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Time::Zone)
BuildRequires: perl(URI) >= 1.23
BuildRequires: perl(User::Identity) >= 0.94
Requires: perl(Date::Format)
Requires: perl(Date::Parse)
Requires: perl(Devel::GlobalDestruction) >= 0.09
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)
Requires: perl(Object::Realize::Later) >= 0.19
Requires: perl(TAP::Harness) >= 3.00
Requires: perl(Test::Pod) >= 1.00
Requires: perl(Time::Zone)
Requires: perl(URI) >= 1.23
Requires: perl(User::Identity) >= 0.94
%{perl_requires}
%description
A Mail::Box::Manager creates 'Mail::Box' objects. But you already knew,
because you started with the Mail::Box-Overview manual page. That page is
obligatory reading, sorry!
'Mail::Box' is the base class for accessing various types of mailboxes
(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.
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
Extends Mail::Reporter/"DESCRIPTION".
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc ChangeLog examples LICENSE README README.FAQ README.todo TODO.v2
%changelog