2010-04-03 00:36:02 +00:00
|
|
|
#
|
2011-11-28 12:04:24 +00:00
|
|
|
# spec file for package perl-Mail-IMAPClient
|
2010-04-03 00:36:02 +00:00
|
|
|
#
|
2011-11-28 12:04:24 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-04-03 00:36:02 +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:37:20 +00:00
|
|
|
|
2011-11-28 12:04:24 +00:00
|
|
|
|
|
|
|
|
2010-04-03 00:36:02 +00:00
|
|
|
Name: perl-Mail-IMAPClient
|
2011-11-28 12:04:24 +00:00
|
|
|
Version: 3.29
|
2010-04-03 00:36:02 +00:00
|
|
|
Release: 1
|
2011-04-26 18:35:21 +00:00
|
|
|
License: GPL+ or Artistic
|
|
|
|
%define cpan_name Mail-IMAPClient
|
|
|
|
Summary: An IMAP Client API
|
|
|
|
Url: http://search.cpan.org/dist/Mail-IMAPClient/
|
2010-04-03 00:36:02 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2011-04-26 18:35:21 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/P/PL/PLOBBES/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2010-04-03 00:36:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-26 18:35:21 +00:00
|
|
|
BuildRequires: perl
|
2010-04-03 00:36:02 +00:00
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Errno)
|
2011-04-26 18:35:21 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2010-04-03 00:36:02 +00:00
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IO::Select)
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
BuildRequires: perl(IO::Socket::INET) >= 1.26
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
BuildRequires: perl(Parse::RecDescent) >= 1.94
|
2011-04-26 18:35:21 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Errno)
|
|
|
|
Requires: perl(Fcntl)
|
|
|
|
Requires: perl(File::Temp)
|
|
|
|
Requires: perl(IO::File)
|
|
|
|
Requires: perl(IO::Select)
|
|
|
|
Requires: perl(IO::Socket)
|
|
|
|
Requires: perl(IO::Socket::INET) >= 1.26
|
|
|
|
Requires: perl(List::Util)
|
|
|
|
Requires: perl(MIME::Base64)
|
|
|
|
Requires: perl(Parse::RecDescent) >= 1.94
|
|
|
|
Requires: perl(Test::More)
|
|
|
|
%{perl_requires}
|
2006-10-28 20:37:20 +00:00
|
|
|
|
|
|
|
%description
|
2011-04-26 18:35:21 +00:00
|
|
|
This module provides methods implementing the IMAP protocol to support
|
|
|
|
interacting with IMAP message stores.
|
2006-10-28 20:37:20 +00:00
|
|
|
|
2011-04-26 18:35:21 +00:00
|
|
|
The module is used by constructing or instantiating a new IMAPClient object
|
|
|
|
via the the /new manpage constructor method. Once the object has been
|
|
|
|
instantiated, the the /connect manpage method is either implicitly or
|
|
|
|
explicitly called. At that point methods are available that implement the
|
|
|
|
IMAP client commands as specified in *RFC3501*. When processing is
|
|
|
|
complete, the the /logout manpage object method should be called.
|
2006-10-28 20:37:20 +00:00
|
|
|
|
2011-04-26 18:35:21 +00:00
|
|
|
This documentation is not meant to be a replacement for RFC3501 nor any
|
|
|
|
other IMAP related RFCs.
|
|
|
|
|
|
|
|
Note that this documentation uses the term _folder_ in place of RFC3501's
|
|
|
|
use of _mailbox_. This documentation reserves the use of the term _mailbox_
|
|
|
|
to refer to the set of folders owned by a specific IMAP id.
|
2006-10-28 20:37:20 +00:00
|
|
|
|
|
|
|
%prep
|
2010-04-03 00:36:02 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2006-10-28 20:37:20 +00:00
|
|
|
|
|
|
|
%build
|
2011-04-26 18:35:21 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2010-04-03 00:36:02 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2011-11-28 12:04:24 +00:00
|
|
|
sed -e 's|/usr/local/bin/perl|/usr/bin/perl|' -i examples/*.pl
|
2008-10-31 20:41:34 +00:00
|
|
|
|
|
|
|
%check
|
2010-04-03 00:36:02 +00:00
|
|
|
%{__make} test
|
2006-10-28 20:37:20 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2010-04-03 00:36:02 +00:00
|
|
|
%perl_gen_filelist
|
2006-10-28 20:37:20 +00:00
|
|
|
|
|
|
|
%clean
|
2011-04-26 18:35:21 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2006-10-28 20:37:20 +00:00
|
|
|
|
2010-04-03 00:36:02 +00:00
|
|
|
%files -f %{name}.files
|
2011-04-26 18:35:21 +00:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes examples prepare_dist README test_template.txt
|
2006-10-28 20:37:20 +00:00
|
|
|
|
|
|
|
%changelog
|