|
@@ -2,7 +2,7 @@ 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
|
|
Version: 1.2.2
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_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
|
|
@@ -38,7 +38,7 @@ by sites that process a lot of mail.
|
|
|
|
|
|
%install
|
|
%install
|
|
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
-%makeinstall
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
%__cp -p %{buildroot}%{_sysconfdir}/bogofilter.cf.example \
|
|
%__cp -p %{buildroot}%{_sysconfdir}/bogofilter.cf.example \
|
|
%{buildroot}%{_sysconfdir}/bogofilter.cf
|
|
%{buildroot}%{_sysconfdir}/bogofilter.cf
|
|
@@ -48,22 +48,23 @@ for n in xml html ; do
|
|
%__install -p -m644 doc/*.$n .inst/$n
|
|
%__install -p -m644 doc/*.$n .inst/$n
|
|
done
|
|
done
|
|
|
|
|
|
-for d in contrib ; do
|
|
+#for d in contrib ; do
|
|
- %__install -d -m755 %{buildroot}%{_datadir}/%{name}/$d
|
|
+# %__install -d -m755 %{buildroot}%{_datadir}/%{name}/$d
|
|
- for f in $(%{_bindir}/find $d -maxdepth 1 -type f) ; do
|
|
+# for f in $(%{_bindir}/find $d -maxdepth 1 -type f) ; do
|
|
- case $f in
|
|
+# case $f in
|
|
- *.c|*.o|*.obj|*/Makefile*)
|
|
+# *.c|*.o|*.obj|*/Makefile*)
|
|
- continue
|
|
+# continue
|
|
- ;;
|
|
+# ;;
|
|
- *.1)
|
|
+# *.1)
|
|
- %__cp -p $f %{buildroot}%{_mandir}/man1
|
|
+# %__cp -p $f %{buildroot}%{_mandir}/man1
|
|
- ;;
|
|
+# ;;
|
|
- *)
|
|
+# *)
|
|
- %__cp -p $f %{buildroot}%{_datadir}/%{name}/$d
|
|
+# %__cp -p $f %{buildroot}%{_datadir}/%{name}/$d
|
|
- ;;
|
|
+# ;;
|
|
- esac
|
|
+# esac
|
|
- done
|
|
+# done
|
|
-done
|
|
+#done
|
|
|
|
+%{__chmod} -x contrib/*
|
|
|
|
|
|
for README in contrib randomtrain ; do
|
|
for README in contrib randomtrain ; do
|
|
%__ln_s ../../%{name}/contrib/README.$README doc/README.$README
|
|
%__ln_s ../../%{name}/contrib/README.$README doc/README.$README
|
|
@@ -83,6 +84,7 @@ done
|
|
%doc doc/README* doc/bogofilter-SA* doc/integrating* doc/rpm.notes.BerkeleyDB
|
|
%doc doc/README* doc/bogofilter-SA* doc/integrating* doc/rpm.notes.BerkeleyDB
|
|
%doc doc/programmer
|
|
%doc doc/programmer
|
|
%doc .inst/html .inst/xml
|
|
%doc .inst/html .inst/xml
|
|
|
|
+%doc contrib
|
|
|
|
|
|
%{_sysconfdir}/bogofilter.cf.example
|
|
%{_sysconfdir}/bogofilter.cf.example
|
|
%config(noreplace) %{_sysconfdir}/bogofilter.cf
|
|
%config(noreplace) %{_sysconfdir}/bogofilter.cf
|
|
@@ -95,7 +97,6 @@ done
|
|
%{_bindir}/bf_compact
|
|
%{_bindir}/bf_compact
|
|
%{_bindir}/bf_copy
|
|
%{_bindir}/bf_copy
|
|
%{_bindir}/bf_tar
|
|
%{_bindir}/bf_tar
|
|
-%{_datadir}/%{name}
|
|
|
|
%{_mandir}/man1/bogofilter.1*
|
|
%{_mandir}/man1/bogofilter.1*
|
|
%{_mandir}/man1/bogolexer.1*
|
|
%{_mandir}/man1/bogolexer.1*
|
|
%{_mandir}/man1/bogotune.1*
|
|
%{_mandir}/man1/bogotune.1*
|
|
@@ -106,6 +107,10 @@ done
|
|
%{_mandir}/man1/bf_tar.1*
|
|
%{_mandir}/man1/bf_tar.1*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2
|
|
|
|
+- rebuild with current VineSeed environment
|
|
|
|
+- fix perl requirements
|
|
|
|
+
|
|
* Thu Dec 30 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.2-1
|
|
* Thu Dec 30 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.2.2-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- update Patch10
|
|
- update Patch10
|