bsfilter-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. %define number 29737
  2. Name: bsfilter
  3. Version: 1.0.16
  4. Release: 1%{?_dist_release}
  5. Summary: bsfilter - bayesian spam filter
  6. Group: Applications/Other
  7. License: GPL
  8. BuildArch: noarch
  9. URL: http://bsfilter.org/
  10. Source0: http://prdownloads.sourceforge.jp/bsfilter/%{number}/%{name}-%{version}.tgz
  11. # Patch to work correctly with ruby-mecab 0.90
  12. #Patch0: bsfilter-rubymecab0.90.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: ruby
  15. Summary(ja): bsfilter - ベイジアンスパムフィルタ
  16. %description
  17. bsfilter(bayesian spam filter) is a filter which distinguishes spam
  18. and non-spam mail, which supports mails written in japanese language,
  19. IMAP, POP3, and also work as traditional unix-style filter.
  20. %description -l ja
  21. bsfilter(bayesian spam filter) はspamメールとそうでないメールを区別する
  22. フィルターです。日本語で書かれたメールやIMAP、POP3プロトコルに対応し、
  23. 伝統的なUNIXスタイルのフィルタとしても動作します。
  24. %prep
  25. %setup -q
  26. #patch0 -p1
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. %{__install} -D -m 755 bsfilter/bsfilter ${RPM_BUILD_ROOT}%{_bindir}/%{name}
  30. %{__install} -d ${RPM_BUILD_ROOT}%{_datadir}/%{name}
  31. %{__cp} -rp mda mua ${RPM_BUILD_ROOT}%{_datadir}/%{name}
  32. %clean
  33. %{__rm} -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root)
  36. %doc COPYING htdocs/*
  37. %{_bindir}/%{name}
  38. %{_datadir}/%{name}
  39. %changelog
  40. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.16-1vl5
  41. - applied new versioning policy, spec in utf-8
  42. * Sat Mar 8 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.16-0vl2
  43. - upstream release
  44. * Sat Dec 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.15-0vl2
  45. - upstream release
  46. * Tue Sep 5 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.14-0vl3
  47. - add BuildArch: noarch
  48. * Tue May 30 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.14-0vl2
  49. - upstream release
  50. - drop Patch0 (merged into upstream source)
  51. * Sun Apr 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.13-0vl2
  52. - upstream release
  53. - update Patch0 from upstream cvs repository
  54. - drop Source1: bsfilter-actionsrc
  55. (because Sylpheed supports bsfilter natively)
  56. - Change Group: to Applications/Other
  57. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.12-0vl3
  58. - add Patch0 to work correctly with ruby-mecab 0.90
  59. * Tue Jan 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.12-0vl2
  60. - upstream release
  61. * Tue Dec 13 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.10-0vl2
  62. - upstream release
  63. * Sat Jul 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.9-0vl2
  64. - upstream release
  65. * Wed Jul 20 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.8-0vl2
  66. - upstream release
  67. * Thu May 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.7-0vl2
  68. - upstream release
  69. * Wed Dec 22 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.6-0vl2
  70. - upstream release
  71. * Fri Oct 29 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.5-0vl2
  72. - upstream release
  73. * Sat Aug 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.4-0vl2
  74. - upstream release
  75. - removed unnecessary 'env' command from %prep script
  76. - moved doc install from %install script to %doc
  77. - added COPYING to %doc
  78. - changed install, rm and cp to use macros
  79. * Sun Aug 8 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.3-0vl0.1
  80. - upstream release
  81. - added Sylpheed actionsrc sample
  82. * Wed Mar 31 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.3
  83. - modified Group
  84. * Tue Mar 30 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.2
  85. - modified %defattr 644 to none
  86. * Tue Mar 30 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.1
  87. - initial build for Vine Linux 2.6r1