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