]> git.pld-linux.org Git - packages/amavis-ng.git/blame - amavis-ng.spec
- add config.patch to change config location
[packages/amavis-ng.git] / amavis-ng.spec
CommitLineData
36fc3292 1%include /usr/lib/rpm/macros.perl
afeb56a6 2Summary: New generation amavis
3Summary(pl): Amavis nowej generacji
4Name: amavis-ng
b8c793b5
AA
5Version: 0.1.6.4.orig
6Release: 0.1
afeb56a6 7License: GPL
8Group: Applications/Mail
cfc757cf 9Source0: http://dl.sourceforge.net/amavis/%{name}_%{version}.tar.gz
b8c793b5
AA
10# Source0-md5: b3559a910bad4a522a466da3a44e62c6
11Patch0: %{name}-quarantine.patch
63639032 12Patch1: %{name}-config.patch
afeb56a6 13URL: http://amavis.sourceforge.net/
36fc3292
JB
14BuildRequires: perl-Config-IniFiles
15BuildRequires: perl-File-MMagic
afeb56a6 16BuildRequires: perl-devel
36fc3292
JB
17BuildRequires: perl-libnet
18BuildRequires: rpm-perlprov
a9214f16 19Requires(pre): /usr/bin/getgid
20Requires(pre): /bin/id
21Requires(pre): /usr/sbin/groupadd
22Requires(pre): /usr/sbin/useradd
23Requires(postun): /usr/sbin/userdel
24Requires(postun): /usr/sbin/groupdel
14827a3c 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
afeb56a6 26Obsoletes: amavisd
27Obsoletes: amavis
28Obsoletes: AMaViS
afeb56a6 29
36fc3292
JB
30# optionally used
31%define _noautoreq 'perl(Archive::Tar)' 'perl(Archive::Zip)' 'perl(Compress::Zlib)' 'perl(Convert::TNEF)' 'perl(Convert::UUlib)' 'perl(MIME::Parser)' 'perl(File::Scan)'
32
afeb56a6 33%description
9a43b838 34AMaViS-ng is a modular rewrite of amavisd and amavis-perl. It scans
35email for malicious code inside attachments and archive files,
36stopping delivery if malicious code is found. It supports integration
37of several third-party virus scanners and integrates nicely into
38several MTA setups. Unlike amavis-perl and amavisd, there is no need
39for build-time configuration.
afeb56a6 40
2704bfac
JB
41%description -l pl
42