]> git.pld-linux.org Git - packages/perl-POE-Component-SMTP.git/blob - perl-POE-Component-SMTP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-POE-Component-SMTP.git] / perl-POE-Component-SMTP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    POE
6 %define         pnam    Component-SMTP
7 Summary:        POE::Filter::SMTP - SMTP protocol filter
8 Summary(pl.UTF-8):      POE::Filter::SMTP - filtr dla protokołu SMTP
9 Name:           perl-POE-Component-SMTP
10 Version:        1.6
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  26c8d3705ef2bb9ac3d6d980ee5da73d
17 URL:            http://search.cpan.org/dist/POE-Component-SMTP/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-POE
22 BuildRequires:  perl-POE-Session-MultiDispatch
23 BuildRequires:  perl-Test-Simple
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 POE::Filter::SMTP filters input and output and splits command and
30 arguments, as well as return codes and return strings. It is a
31 subclass of POE::Filter::Line.
32
33 %description -l pl.UTF-8
34 POE::Filter::SMTP filtruje wejście i wyjście oraz oddziela polecenia i
35 argumenty, a także zwracane kody i łańcuchy. Jest to podklasa
36 POE::Filter::Line.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes
60 %{perl_vendorlib}/%{pdir}/*/*.pm
61 %{perl_vendorlib}/%{pdir}/*/*/*.pm
62 %{_mandir}/man3/*
This page took 0.088703 seconds and 3 git commands to generate.