]> git.pld-linux.org Git - packages/dspam-exim.git/commitdiff
- dspal local_scan plugin for exim
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 1 Sep 2005 17:29:37 +0000 (17:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dspam-exim.spec -> 1.1

dspam-exim.spec [new file with mode: 0644]

diff --git a/dspam-exim.spec b/dspam-exim.spec
new file mode 100644 (file)
index 0000000..236ee03
--- /dev/null
@@ -0,0 +1,40 @@
+Summary:       Exim DSPAM at SMTP time
+Name:          dspam-exim
+Version:       0.8
+Release:       1
+License:       GPL
+Group:         Networking/Daemons
+# http://dspamwiki.woozle.org/DspamWithEximLocalScanSourceCodeNew
+Source0:       dspam_exim.c
+URL:           http://dspamwiki.woozle.org/DspamWithEximLocalScan
+BuildRequires: exim-devel
+BuildRequires: dspam-devel
+BuildRequires: clamav-devel
+BuildRequires: mysql-devel
+Requires:      exim >= 2:4.52-4
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Exim DSPAM at SMTP time.
+
+%prep
+%setup -q -T -c
+
+%build
+%{__cc} -Wall -DDLOPEN_LOCAL_SCAN=1 %{rpmcflags} %{rpmldflags} -fPIC \
+        -I%{_includedir}/exim -I%{_includedir}/mysql -I%{_includedir}/clamav -I%{_includedir}/dspam \
+       -lmysqlclient -lclamav -ldspam \
+       -shared %{SOURCE0} -o dspam.so
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
+
+install dspam.so $RPM_BUILD_ROOT%{_libdir}/exim/dspam.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/exim/dspam.so
This page took 0.084893 seconds and 4 git commands to generate.