]> git.pld-linux.org Git - packages/amavis-ng.git/blob - amavis-ng.spec
8b2ce2fa0419ce76961ccf06b0d8433812348e5e
[packages/amavis-ng.git] / amavis-ng.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        New generation amavis
3 Summary(pl):    Amavis nowej generacji
4 Name:           amavis-ng
5 Version:        0.1.4.1.orig
6 Release:        3
7 License:        GPL
8 Group:          Applications/Mail
9 Source0:        http://dl.sourceforge.net/amavis/%{name}_%{version}.tar.gz
10 Patch0:         %{name}.patch
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
19 Obsoletes:      amavisd
20 Obsoletes:      amavis
21 Obsoletes:      AMaViS
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 # optionally used
25 %define _noautoreq      'perl(Archive::Tar)' 'perl(Archive::Zip)' 'perl(Compress::Zlib)' 'perl(Convert::TNEF)' 'perl(Convert::UUlib)' 'perl(MIME::Parser)' 'perl(File::Scan)'
26
27 %description
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.
34
35 %description -l pl
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
42 czasie budowania.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT
56
57 %{__make} install DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc doc/*
65 %attr(755,root,root) %{_bindir}/*
66 %attr(755,root,root) %{_sbindir}/*
67 %{_datadir}/amavis
68 %attr(750,amavis,sweep) /var/spool/amavis
69 %{perl_vendorlib}/AMAVIS.pm
70 %{perl_vendorlib}/AMAVIS
71 %{_mandir}/man1/*
This page took 0.048787 seconds and 2 git commands to generate.