]> git.pld-linux.org Git - packages/dspam-exim.git/blame - dspam-exim.spec
- tabs in preamble
[packages/dspam-exim.git] / dspam-exim.spec
CommitLineData
77364fb6 1Summary: Exim DSPAM at SMTP time
bf2f0ba6 2Summary(pl.UTF-8): Exim DSPAM w czasie SMTP
77364fb6
AM
3Name: dspam-exim
4Version: 0.8
5Release: 1
6License: GPL
7Group: Networking/Daemons
8# http://dspamwiki.woozle.org/DspamWithEximLocalScanSourceCodeNew
9Source0: dspam_exim.c
10URL: http://dspamwiki.woozle.org/DspamWithEximLocalScan
77364fb6 11BuildRequires: clamav-devel
2f63e969
JB
12BuildRequires: dspam-devel
13BuildRequires: exim-devel
77364fb6
AM
14BuildRequires: mysql-devel
15Requires: exim >= 2:4.52-4
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Exim DSPAM at SMTP time.
20
a105087a 21%description -l pl.UTF-8
2f63e969
JB
22Exim DSPAM w czasie SMTP.
23
77364fb6
AM
24%prep
25%setup -q -T -c
26
27%build
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
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
36
37install dspam.so $RPM_BUILD_ROOT%{_libdir}/exim/dspam.so
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%attr(755,root,root) %{_libdir}/exim/dspam.so
This page took 0.081733 seconds and 4 git commands to generate.