]> git.pld-linux.org Git - packages/perl-Email-Filter.git/blob - perl-Email-Filter.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Email-Filter.git] / perl-Email-Filter.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Email
6 %define         pnam    Filter
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
10 Version:        1.034
11 Release:        1
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
19 %if %{with tests}
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
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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.
33
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.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %{perl_vendorlib}/%{pdir}/*.pm
62 %{_mandir}/man3/*
This page took 0.154843 seconds and 4 git commands to generate.