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