1 %include /usr/lib/rpm/macros.perl
2 Summary: New generation amavis
3 Summary(pl): Amavis nowej generacji
8 Group: Applications/Mail
9 Source0: http://dl.sourceforge.net/amavis/%{name}_%{version}.tar.gz
11 URL: http://amavis.sourceforge.net/
12 BuildRequires: perl-Config-IniFiles
13 BuildRequires: perl-File-MMagic
14 BuildRequires: perl-devel
15 BuildRequires: perl-libnet
16 BuildRequires: rpm-perlprov
17 Requires(pre): group-sweep
18 Requires(pre): user-amavis
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _noautoreq 'perl(Archive::Tar)' 'perl(Archive::Zip)' 'perl(Compress::Zlib)' 'perl(Convert::TNEF)' 'perl(Convert::UUlib)' 'perl(MIME::Parser)' 'perl(File::Scan)'
28 AMaViS-ng is a modular rewrite of amavisd and amavis-perl. It scans
29 email for malicious code inside attachments and archive files,
30 stopping delivery if malicious code is found. It supports integration
31 of several third-party virus scanners and integrates nicely into
32 several MTA setups. Unlike amavis-perl and amavisd, there is no need
33 for build-time configuration.
36 AMaViS-ng to przepisana w sposób modularny wersja projektów amavisd i
37 amavis-perl. Skanuje pocztê elektroniczn± na okoliczno¶æ gro¼nego kodu
38 wewn±trz za³±czników i archiwów, nie pozwalaj±c na dorêczenie w
39 przypadku wykrycia. Wspiera integracjê ró¿nych zewnêtrznych skanerów
40 antywirusowych, ³adnie integruje siê z ró¿nymi serwerami pocztowymi.
41 W przeciwieñstwie do amavis-perl i amavisd, nie wymaga konfiguracji w
49 %{__perl} Makefile.PL \
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT
57 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/*
66 %attr(755,root,root) %{_sbindir}/*
68 %attr(750,amavis,sweep) /var/spool/amavis
69 %{perl_vendorlib}/AMAVIS.pm
70 %{perl_vendorlib}/AMAVIS