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