]> git.pld-linux.org Git - packages/exiscan.git/blame - exiscan.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/exiscan.git] / exiscan.spec
CommitLineData
df0782de 1Summary: An EMail Virus Scanner for Exim MTA
d97497d5 2Summary(pl.UTF-8): Antywirusowy skaner poczty elektronicznej dla Exim MTA
fc103644 3Name: exiscan
2d896a61 4Version: 2.4
97e0cc6a 5Release: 2
bd42667f
JB
6License: GPL
7Group: Applications/Mail
fc103644 8Source0: http://duncanthrax.net/exiscan/%{name}-v%{version}.tar.gz
94682bf1 9# Source0-md5: aecc3771ee9893167ee4e6a90ff12b1b
fc103644
AM
10Source1: %{name}.init
11Patch0: %{name}-config.patch
5554f951 12Patch1: %{name}-user.patch
bd42667f 13URL: http://duncanthrax.net/exiscan/
fc103644
AM
14BuildRequires: perl-MailTools
15BuildRequires: perl-Unix-Syslog
190ebb73 16BuildRequires: rpm-perlprov
d7d9e354 17BuildRequires: rpmbuild(macros) >= 1.268
18Requires: rc-scripts
bd42667f 19Requires(post,preun): /sbin/chkconfig
c88f31ba 20Requires: exim >= 3.00
fc103644
AM
21# http://www.pldaniels.com/ripmime/
22Requires: ripmime
23# http://world.std.com/~damned/software.html
24Requires: tnef
fc103644
AM
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Exiscan is an email virus scanner which works together with the Exim
30MTA (http://www.exim.org). It is written in Perl and designed to be
31very easy to implement. Exiscan supports multithreaded unpacking and
32scanning of mail, with a configurable number of processes. Exiscan has
33generic support for available command line virus scanners. Exiscan can
34scan inside of MS-TNEF and SMIME (signed) wrapped messages.
35
e6b68be2
JR
36%description -l pl.UTF-8
37Exiscan to antywirusowy skaner poczty działający wraz z MTA Exim
38(http://www.exim.org). Exiscan został napisany w Perlu oraz
39zaprojektowany tak by być bardzo łatwym w użyciu. Exiscan wspiera
40wielowątkowe rozpakowywanie i skanowanie poczty z konfigurowalnym
41ograniczeniem ilości procesów. Exiscan może współpracować z wieloma
42skanerami antywirusowymi wywoływanymi z lini poleceń. Exiscan może
43skanować wiadomości opakowane za pomocą MS-TNEF oraz SMIME
fc103644
AM
44(podpisane).
45
46%prep
47%setup -q -n %{name}
48%patch0 -p1
2d896a61 49%patch1 -p0
fc103644
AM
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/{mail,rc.d/init.d}}
55install -d $RPM_BUILD_ROOT%{_var}/spool/%{name}/{checkqueue,virusmails}
56
57d38976 57install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
2d896a61 58install exiscan*.pl $RPM_BUILD_ROOT%{_sbindir}/exiscan
59install exiscan*.cf $RPM_BUILD_ROOT%{_sysconfdir}/mail/exiscan.cf
fc103644 60
bd42667f
JB
61%clean
62rm -rf $RPM_BUILD_ROOT
63
fc103644
AM
64%post
65/sbin/chkconfig --add %{name}
d7d9e354 66%service exiscan restart
fc103644
AM
67
68%preun
69if [ "$1" = "0" -a -f %{_var}/lock/subsys/%{name} ]; then
d7d9e354 70 %service exiscan stop
71 /sbin/chkconfig --del %{name}
fc103644 72fi
fc103644
AM
73
74%files
75%defattr(644,root,root,755)
2d896a61 76%doc CHANGELOG INSTALL README*
fc103644 77%attr(755,root,root) %{_sbindir}/*
5554f951 78%attr(640,root,exim) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/*.cf
fc103644 79%attr(750,exim,root) %{_var}/spool/%{name}
57d38976 80%attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.061042 seconds and 4 git commands to generate.