]> git.pld-linux.org Git - SPECS.git/blob - dspam-exim.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / dspam-exim.spec
1 Summary:        Exim DSPAM at SMTP time
2 Summary(pl.UTF-8):      Exim DSPAM w czasie SMTP
3 Name:           dspam-exim
4 Version:        0.8
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 # http://dspamwiki.woozle.org/DspamWithEximLocalScanSourceCodeNew
9 Source0:        dspam_exim.c
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)
17
18 %description
19 Exim DSPAM at SMTP time.
20
21 %description -l pl.UTF-8
22 Exim DSPAM w czasie SMTP.
23
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
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
36
37 install dspam.so $RPM_BUILD_ROOT%{_libdir}/exim/dspam.so
38
39 %clean
40 rm -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 1.048957 seconds and 3 git commands to generate.