]>
Commit | Line | Data |
---|---|---|
1 | Summary: Adaptive Bayesian junk mail filter | |
2 | Summary(pl): 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 | |
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 | ||
35 | install -p -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} | |
36 | install -p -D %{name}.1 $RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1 | |
37 | ||
38 | #%{__make} install \ | |
39 | # DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc README | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | %{_mandir}/man1/* |