#
# Conditional build:
-# _with_db3 - build with db3 instead of db 4.x
+%bcond_with db3 # build with db3 support instead of db4
#
Summary: Bayesian Spam Filter
Summary(pl): BayesjaƱski Filtr Antyspamowy
Name: bogofilter
-Version: 0.14.4
+Version: 0.15.11
Release: 1
License: GPL
Group: Applications/Mail
Vendor: Eric S. Raymond <esr@thyrsus.com>
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: a2eb6a568d260816c3c24d3ba6c96106
+# Source0-md5: d22ec02be1e496bdf0139afeeae1a421
+Patch0: %{name}-home_etc.patch
URL: http://bogofilter.sourceforge.net/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
-%{!?_with_db3:BuildRequires: db-devel}
-%{?_with_db3:BuildRequires: db3-devel}
+%{!?with_db3:BuildRequires: db-devel}
+%{?with_db3:BuildRequires: db3-devel}
BuildRequires: flex
+BuildRequires: gsl-devel
BuildRequires: judy-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define specflags_ia32 -fomit-frame-pointer
+
%description
Bogofilter is a Bayesian spam filter. In its normal mode of operation,
it takes an email message or other text on standard input, does a
%prep
%setup -q
+%patch0 -p1
%build
rm -f missing