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