1 Summary: Exim DSPAM at SMTP time
2 Summary(pl): Exim DSPAM w czasie SMTP
7 Group: Networking/Daemons
8 # http://dspamwiki.woozle.org/DspamWithEximLocalScanSourceCodeNew
10 URL: http://dspamwiki.woozle.org/DspamWithEximLocalScan
11 BuildRequires: clamav-devel
12 BuildRequires: dspam-devel
13 BuildRequires: exim-devel
14 BuildRequires: mysql-devel
15 Requires: exim >= 2:4.52-4
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Exim DSPAM at SMTP time.
22 Exim DSPAM w czasie SMTP.
28 %{__cc} -Wall -DDLOPEN_LOCAL_SCAN=1 %{rpmcflags} %{rpmldflags} -fPIC \
29 -I%{_includedir}/exim -I%{_includedir}/mysql -I%{_includedir}/clamav -I%{_includedir}/dspam \
30 -lmysqlclient -lclamav -ldspam \
31 -shared %{SOURCE0} -o dspam.so
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
37 install dspam.so $RPM_BUILD_ROOT%{_libdir}/exim/dspam.so
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_libdir}/exim/dspam.so