]> git.pld-linux.org Git - SPECS.git/blob - perl-Net-SMTP-Receive.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Net-SMTP-Receive.spec
1 %define         pdir    Net
2 %define         pnam    SMTP-Receive
3 Summary:        Net::SMTP::Receive - receive mail via SMTP
4 Summary(pl.UTF-8):      Net::SMTP::Receive - odbieranie poczty protokołem SMTP
5 Name:           perl-Net-SMTP-Receive
6 Version:        0.3
7 Release:        4
8 License:        Public Domain
9 Group:          Development/Languages/Perl
10 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5:  0863aa1ee5f5950dc9e13b06927aea90
12 URL:            http://search.cpan.org/dist/Net-SMTP-Receive/
13 BuildRequires:  perl-devel >= 1:5.8.0
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Net::SMTP::Receive handles receiving email via SMTP. It is built as a
20 base class that must be subclassed to provide methods for actually
21 delivering a message. Many aspects of Net::SMTP::Receive's behavior
22 can be modified by overriding methods in the subclass.
23
24 %description -l pl.UTF-8
25 Moduł Net::SMTP::Receive obsługuje odbieranie poczty po SMTP. Jest
26 zbudowany jako klasa bazowa, z której należy dziedziczyć, aby
27 udostępnić metody do właściwego dostarczania wiadomości. Wiele
28 aspektów zachowania Net::SMTP::Receive może być modyfikowanych poprzez
29 pokrywanie metod w podklasie.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 cp example_daemon.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Net/SMTP/*.pm
54 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}
55 %{_mandir}/man3/*
This page took 0.619309 seconds and 3 git commands to generate.