]> git.pld-linux.org Git - packages/amavis-ng.git/blame - amavis-ng.spec
- rel 3 (rebuild with fixed %useradd/%groupadd macros)
[packages/amavis-ng.git] / amavis-ng.spec
CommitLineData
36fc3292 1%include /usr/lib/rpm/macros.perl
c3e713d4 2%define pdir AMAVIS
afeb56a6 3Summary: New generation amavis
4Summary(pl): Amavis nowej generacji
5Name: amavis-ng
1a3cf373 6Version: 0.1.6.9
7e4ed1b8 7Release: 3
afeb56a6 8License: GPL
9Group: Applications/Mail
1a3cf373
SP
10Source0: http://dl.sourceforge.net/amavis/%{name}-%{version}.tar.gz
11# Source0-md5: e9086bfbd3fa2049860d176a0c30549e
8bd412f9 12Source1: %{name}-logrotate
b8c793b5 13Patch0: %{name}-quarantine.patch
63639032 14Patch1: %{name}-config.patch
3cab3a81 15Patch2: %{name}-courier.patch
0b8ae0df 16Patch3: %{name}-mks.patch
ac782e5c 17Patch4: %{name}-make.patch
afeb56a6 18URL: http://amavis.sourceforge.net/
afeb56a6 19BuildRequires: perl-devel
36fc3292
JB
20BuildRequires: perl-libnet
21BuildRequires: rpm-perlprov
9cf8f53d 22BuildRequires: rpmbuild(macros) >= 1.202
ac782e5c 23BuildRequires: sendmail-devel
08071606
ER
24Requires(postun): /usr/sbin/groupdel
25Requires(postun): /usr/sbin/userdel
a9214f16 26Requires(pre): /bin/id
08071606 27Requires(pre): /usr/bin/getgid
a9214f16 28Requires(pre): /usr/sbin/groupadd
29Requires(pre): /usr/sbin/useradd
08071606
ER
30Requires: perl-Config-IniFiles
31Requires: perl-File-MMagic
c9fdb821 32Provides: group(amavis)
33Provides: user(amavis)
afeb56a6 34Obsoletes: AMaViS
08071606
ER
35Obsoletes: amavis
36Obsoletes: amavisd
c9fdb821 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
afeb56a6 38
36fc3292 39# optionally used
ef42fb78 40%define _noautoreq 'perl(File::Scan)'
36fc3292 41
afeb56a6 42%description
9a43b838 43AMaViS-ng is a modular rewrite of amavisd and amavis-perl. It scans
44email for malicious code inside attachments and archive files,
45stopping delivery if malicious code is found. It supports integration
46of several third-party virus scanners and integrates nicely into
47several MTA setups. Unlike amavis-perl and amavisd, there is no need
48for build-time configuration.
afeb56a6 49
2704bfac
JB
50%description -l pl
51