3 %bcond_without tests # do not perform "make test"
7 Summary: Mail::Audit - alternative for procmail
8 Summary(pl.UTF-8): Mail::Audit - alternatywa dla procmaila
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 4780a6fb118887b9bebb905cf63f4c25
17 URL: http://search.cpan.org/dist/Mail-Audit/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl(File::HomeDir) >= 0.61
22 BuildRequires: perl(File::Tempdir)
23 BuildRequires: perl-MIME-tools
24 BuildRequires: perl-MailTools
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Mail::Audit was inspired by Tom Christiansen's audit_mail and
31 deliverlib programs. It allows a piece of email to be logged,
32 examined, accepted into a mailbox, filtered, resent elsewhere,
33 rejected, replied to, and so on. It's designed to allow you to easily
34 create filter programs to stick in a .forward file or similar.
36 %description -l pl.UTF-8
37 Inspiracją dla Mail::Audit był audit_mail i programy deliverlib Toma
38 Christiansena. Pozwala on na logowanie przychodzącej poczty, badanie
39 jej, akceptowanie do skrzynki pocztowej, filtrowanie, przekierowywanie,
40 odrzucanie, odpowiadanie i tak dalej. Został zaprojektowany tak, aby
41 pozwolić Ci na łatwe tworzenie filtrów, uruchamianych z pliku ~/.forward
42 lub podobnego miejsca.
45 %setup -q -n %{pdir}-%{pnam}-%{version}
48 %{__perl} Makefile.PL \
52 %{?with_tests:%{__make} test}
55 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc Change* README FAQ
65 %{perl_vendorlib}/Mail/*.pm
66 %{perl_vendorlib}/Mail/Audit