]> git.pld-linux.org Git - packages/amavis-ng.git/blame - amavis-ng.spec
- use %useradd/%groupadd 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
1a3cf373
SP
5Version: 0.1.6.9
6Release: 1
afeb56a6 7License: GPL
8Group: Applications/Mail
1a3cf373
SP
9Source0: http://dl.sourceforge.net/amavis/%{name}-%{version}.tar.gz
10# Source0-md5: e9086bfbd3fa2049860d176a0c30549e
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/
afeb56a6 17BuildRequires: perl-devel
36fc3292
JB
18BuildRequires: perl-libnet
19BuildRequires: rpm-perlprov
9cf8f53d 20BuildRequires: rpmbuild(macros) >= 1.202
1a3cf373
SP
21Requires: perl-Config-IniFiles
22Requires: perl-File-MMagic
a9214f16 23Requires(pre): /usr/bin/getgid
24Requires(pre): /bin/id
25Requires(pre): /usr/sbin/groupadd
26Requires(pre): /usr/sbin/useradd
27Requires(postun): /usr/sbin/userdel
28Requires(postun): /usr/sbin/groupdel
c9fdb821 29Provides: group(amavis)
30Provides: user(amavis)
afeb56a6 31Obsoletes: amavisd
32Obsoletes: amavis
33Obsoletes: AMaViS
c9fdb821 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
afeb56a6 35
36fc3292 36# optionally used
ef42fb78 37%define _noautoreq 'perl(File::Scan)'
36fc3292 38
afeb56a6 39%description
9a43b838 40AMaViS-ng is a modular rewrite of amavisd and amavis-perl. It scans
41email for malicious code inside attachments and archive files,
42stopping delivery if malicious code is found. It supports integration
43of several third-party virus scanners and integrates nicely into
44several MTA setups. Unlike amavis-perl and amavisd, there is no need
45for build-time configuration.
afeb56a6 46
2704bfac
JB
47%description -l pl
48