]>
Commit | Line | Data |
---|---|---|
1 | Summary: Adaptive Bayesian junk mail filter | |
2 | Summary(pl.UTF-8): Adaptacyjny bayesowski filtr niechcianej poczty | |
3 | Name: annoyance-filter | |
4 | Version: 1.0d | |
5 | Release: 1 | |
6 | License: Public Domain | |
7 | Group: Applications/Mail | |
8 | Source0: http://www.fourmilab.ch/annoyance-filter/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: bb45c6264f9483888cc2fa50f897ac71 | |
10 | URL: http://www.fourmilab.ch/annoyance-filter/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Adaptive Bayesian junk mail filter. | |
17 | ||
18 | %description -l pl.UTF-8 | |
19 | Adaptacyjny bayesowski filtr niechcianej poczty. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %{__aclocal} | |
26 | %{__autoconf} | |
27 | CFLAGS="%{rpmcflags} -fpermissive" | |
28 | CPPFLAGS="%{rpmcflags} -fpermissive" | |
29 | %configure | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
35 | ||
36 | install %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} | |
37 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc README | |
45 | %attr(755,root,root) %{_bindir}/* | |
46 | %{_mandir}/man1/* |