[packages/perl-Mail-Box-POP3] - new

adamg adamg at pld-linux.org
Sat Feb 16 12:02:38 CET 2019


commit 512ff197f5bbe5c98628392d3ebba4f9b4c9c51a
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Sat Feb 16 12:02:25 2019 +0100

    - new

 perl-Mail-Box-POP3.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
---
diff --git a/perl-Mail-Box-POP3.spec b/perl-Mail-Box-POP3.spec
new file mode 100644
index 0000000..cf7813d
--- /dev/null
+++ b/perl-Mail-Box-POP3.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_with	tests		# perform "make test"
+#
+%define		pdir	Mail
+%define		pnam	Box-POP3
+%include	/usr/lib/rpm/macros.perl
+Summary:	Mail::Box::POP3 - handle POP3 folders as client
+#Summary(pl.UTF-8):
+Name:		perl-Mail-Box-POP3
+Version:	3.004
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	bb67146e3b3367db3714363f2f0d9698
+#URL:		https://metacpan.org/release/Mail-Box-POP3/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Mail::Box::Net) >= 3
+BuildRequires:	perl(Mail::Box::Test) >= 3
+BuildRequires:	perl(Mail::Transport::Receive) >= 3
+BuildRequires:	perl-Mail-Message >= 3
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Maintain a folder which has its messages stored on a remote server.
+The communication between the client application and the server is
+implemented using the POP3 protocol. This class uses
+Mail::Transport::POP3 to hide the transport of information, and
+focusses solely on the correct handling of messages within a POP3
+folder.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%{perl_vendorlib}/Mail/Box/POP3.pm
+%{perl_vendorlib}/Mail/Box/POP3.pod
+%{perl_vendorlib}/Mail/Box/POP3s.pm
+%{perl_vendorlib}/Mail/Box/POP3s.pod
+%{perl_vendorlib}/Mail/Box/POP3
+%{perl_vendorlib}/Mail/Transport/POP3.pm
+%{perl_vendorlib}/Mail/Transport/POP3.pod
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Mail-Box-POP3.git/commitdiff/512ff197f5bbe5c98628392d3ebba4f9b4c9c51a



More information about the pld-cvs-commit mailing list