]> git.pld-linux.org Git - packages/dovecot-antispam.git/blame_incremental - dovecot-antispam.spec
- release 25 (by relup.sh)
[packages/dovecot-antispam.git] / dovecot-antispam.spec
... / ...
CommitLineData
1Summary: The dovecot antispam plugin
2Summary(pl.UTF-8): Wtyczka antyspamowa dla dovecota
3Name: dovecot-antispam
4Version: 2.0
5Release: 25
6License: GPL v2
7Group: Daemons
8Source0: http://johannes.sipsolutions.net/download/dovecot-antispam/%{name}-%{version}.tar.bz2
9# Source0-md5: 14547898759fbd93f2b98304520decc6
10Patch0: %{name}-git.patch
11Patch1: dovecot-2.2.patch
12Patch2: dovecot-2.2.14.patch
13URL: http://johannes.sipsolutions.net/Projects/dovecot-antispam
14BuildRequires: dovecot-devel >= 1:2.0
15%requires_eq_to dovecot dovecot-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The dovecot antispam plugin watches moving mail into and out of the
20SPAM folder and tells the spam classifier that it made an error and
21needs to re-classify the message (as spam/not spam depending on which
22way it was moved).
23
24%prep
25%setup -q
26%patch0 -p1
27%patch1 -p1
28%patch2 -p1
29
30%build
31unset GIT_DIR
32%{__make} \
33 CFLAGS="%{rpmcflags}" \
34 LDFLAGS="%{rpmldflags}"
35
36%install
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT{%{_libdir}/dovecot/plugins,%{_mandir}/man7}
39
40%{__make} install \
41 INSTALLDIR=%{_libdir}/dovecot/plugins \
42 DESTDIR=$RPM_BUILD_ROOT
43
44install -p antispam.7 $RPM_BUILD_ROOT%{_mandir}/man7
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc NOTES
52%attr(755,root,root) %{_libdir}/dovecot/plugins/lib90_antispam_plugin.so
53%{_mandir}/man7/antispam.7*
This page took 0.075498 seconds and 4 git commands to generate.