3 %bcond_without tests # do not perform "make test"
7 Summary: Email::Filter - library for creating easy email filters
8 Summary(pl.UTF-8): Email::Filter - biblioteka do tworzenia prostych filtrów dla poczty
9 Name: perl-Email-Filter
12 License: BSD, Artistic or GPL
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 2b49d6892f81e8d93fd8e1df6f74e580
16 URL: http://search.cpan.org/dist/Email-Filter/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Class-Trigger >= 0.08
21 BuildRequires: perl-Email-LocalDelivery >= 0.07
22 BuildRequires: perl-Email-Simple >= 1:1.91
23 BuildRequires: perl-IPC-Run >= 0.77
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is another module produced by the "Perl Email Project", a
30 reaction against the complexity and increasing bugginess of the
31 "Mail::*" modules. It replaces Mail::Audit, and allows you to write
32 programs describing how your mail should be filtered.
34 %description -l pl.UTF-8
35 To jest kolejny moduł wyprodukowany przez "Perl Email Project", będący
36 reakcją na złożoność i rosnący współczynnik zapluskwienia modułów
37 Mail::*. Zastępuje Mail::Audit i pozwala na pisanie programów
38 opisujących jak poczta powinna być filtrowana.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %{perl_vendorlib}/%{pdir}/*.pm