1 Summary: The dovecot antispam plugin
2 Summary(pl.UTF-8): Wtyczka antyspamowa dla dovecota
8 Source0: http://johannes.sipsolutions.net/download/dovecot-antispam/%{name}-%{version}.tar.bz2
9 # Source0-md5: 14547898759fbd93f2b98304520decc6
10 URL: http://johannes.sipsolutions.net/Projects/dovecot-antispam
11 BuildRequires: dovecot-devel >= 1:2.0
12 %requires_eq_to dovecot dovecot-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The dovecot antispam plugin watches moving mail into and out of the
17 SPAM folder and tells the spam classifier that it made an error and
18 needs to re-classify the message (as spam/not spam depending on which
21 #%description -l pl.UTF-8
28 CFLAGS="%{rpmcflags}" \
29 LDFLAGS="%{rpmldflags}"
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_libdir}/dovecot,%{_mandir}/man7}
36 INSTALLDIR=%{_libdir}/dovecot \
37 DESTDIR=$RPM_BUILD_ROOT
39 install -p antispam.7 $RPM_BUILD_ROOT%{_mandir}/man7
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_libdir}/dovecot/lib90_antispam_plugin.so
48 %{_mandir}/man7/antispam.7*