|
@@ -1,19 +1,17 @@
|
|
Name: bogofilter
|
|
Name: bogofilter
|
|
Summary: fast anti-spam filtering by Bayesian statistical analysis
|
|
Summary: fast anti-spam filtering by Bayesian statistical analysis
|
|
Summary(ja): ベイジアン解析による高速アンチスパムフィルタリング
|
|
Summary(ja): ベイジアン解析による高速アンチスパムフィルタリング
|
|
-Version: 1.2.2
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 1.2.3
|
|
|
|
+Release: 1%{?_dist_release}
|
|
URL: http://bogofilter.sourceforge.net/
|
|
URL: http://bogofilter.sourceforge.net/
|
|
Source0: http://prdownloads.sourceforge.net/bogofilter/bogofilter-%{version}.tar.bz2
|
|
Source0: http://prdownloads.sourceforge.net/bogofilter/bogofilter-%{version}.tar.bz2
|
|
Source999: filter-requires-bogofilter.sh
|
|
Source999: filter-requires-bogofilter.sh
|
|
-#Patch10: http://www.ono.org/software/dist/%{name}-%{version}+kakasi-0.5.patch.gz
|
|
|
|
-Patch10: http://www.c-wind.com/bogofilter/%{name}-%{version}+kakasi-0.5.patch.gz
|
|
|
|
-License: GPL
|
|
|
|
|
|
+Patch10: http://www.c-wind.com/bogofilter/bogofilter-%{version}+mecab-0.1.patch.gz
|
|
|
|
+License: GPLv2
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
-Requires: kakasi
|
|
|
|
-BuildRequires: db4-devel >= 4.3.29, kakasi, kakasi-devel, gsl-devel, flex
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: db4-devel >= 4.3.29, mecab-devel, gsl-devel, flex
|
|
|
|
|
|
%define __find_requires %{SOURCE999}
|
|
%define __find_requires %{SOURCE999}
|
|
|
|
|
|
@@ -30,9 +28,11 @@ by sites that process a lot of mail.
|
|
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
%setup -q
|
|
%setup -q
|
|
-%patch10 -p1 -b .kakasi
|
|
|
|
|
|
+%patch10 -p1 -b .mecab
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+export CFLAGS="$RPM_OPT_FLAGS -DWAKATI"
|
|
|
|
+export LIBS="`mecab-config --libs`"
|
|
%configure --program-prefix=
|
|
%configure --program-prefix=
|
|
%__make
|
|
%__make
|
|
|
|
|
|
@@ -107,6 +107,11 @@ done
|
|
%{_mandir}/man1/bf_tar.1*
|
|
%{_mandir}/man1/bf_tar.1*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-1
|
|
|
|
+- update to 1.2.3
|
|
|
|
+- use mecab instead of kakasi
|
|
|
|
+- BR: mecab-devel
|
|
|
|
+
|
|
* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2
|
|
* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2
|
|
- rebuild with current VineSeed environment
|
|
- rebuild with current VineSeed environment
|
|
- fix perl requirements
|
|
- fix perl requirements
|