]> git.pld-linux.org Git - packages/dovecot-antispam.git/blame_incremental - dovecot-antispam.spec
- release 34 (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: 34
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
11URL: http://johannes.sipsolutions.net/Projects/dovecot-antispam
12BuildRequires: dovecot-devel >= 1:2.0
13%requires_eq_to dovecot dovecot-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The dovecot antispam plugin watches moving mail into and out of the
18SPAM folder and tells the spam classifier that it made an error and
19needs to re-classify the message (as spam/not spam depending on which
20way it was moved).
21
22%prep
23%setup -q
24%patch0 -p1
25
26%build
27unset GIT_DIR
28%{__make} \
29 CFLAGS="%{rpmcflags}" \
30 LDFLAGS="%{rpmldflags}"
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_libdir}/dovecot/plugins,%{_mandir}/man7}
35
36%{__make} install \
37 INSTALLDIR=%{_libdir}/dovecot/plugins \
38 DESTDIR=$RPM_BUILD_ROOT
39
40install -p antispam.7 $RPM_BUILD_ROOT%{_mandir}/man7
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc NOTES
48%attr(755,root,root) %{_libdir}/dovecot/plugins/lib90_antispam_plugin.so
49%{_mandir}/man7/antispam.7*
This page took 0.052519 seconds and 4 git commands to generate.