]> git.pld-linux.org Git - packages/dspam-exim.git/blame - dspam-exim.spec
- dspal local_scan plugin for exim
[packages/dspam-exim.git] / dspam-exim.spec
CommitLineData
77364fb6
AM
1Summary: Exim DSPAM at SMTP time
2Name: dspam-exim
3Version: 0.8
4Release: 1
5License: GPL
6Group: Networking/Daemons
7# http://dspamwiki.woozle.org/DspamWithEximLocalScanSourceCodeNew
8Source0: dspam_exim.c
9URL: http://dspamwiki.woozle.org/DspamWithEximLocalScan
10BuildRequires: exim-devel
11BuildRequires: dspam-devel
12BuildRequires: clamav-devel
13BuildRequires: mysql-devel
14Requires: exim >= 2:4.52-4
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Exim DSPAM at SMTP time.
19
20%prep
21%setup -q -T -c
22
23%build
24%{__cc} -Wall -DDLOPEN_LOCAL_SCAN=1 %{rpmcflags} %{rpmldflags} -fPIC \
25 -I%{_includedir}/exim -I%{_includedir}/mysql -I%{_includedir}/clamav -I%{_includedir}/dspam \
26 -lmysqlclient -lclamav -ldspam \
27 -shared %{SOURCE0} -o dspam.so
28
29%install
30rm -rf $RPM_BUILD_ROOT
31install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
32
33install dspam.so $RPM_BUILD_ROOT%{_libdir}/exim/dspam.so
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
40%attr(755,root,root) %{_libdir}/exim/dspam.so
This page took 0.885402 seconds and 4 git commands to generate.