bsfilter-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define number 49795
  2. Name: bsfilter
  3. Version: 1.0.17
  4. Release: 1%{?_dist_release}
  5. Summary: bsfilter - bayesian spam filter
  6. Group: Applications/Other
  7. License: GPL
  8. BuildArch: noarch
  9. URL: http://sourceforge.jp/projects/bsfilter/
  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. * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.17-1
  41. - new upstream release
  42. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.16-1vl5
  43. - applied new versioning policy, spec in utf-8
  44. * Sat Mar 8 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.16-0vl2
  45. - upstream release
  46. * Sat Dec 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.15-0vl2
  47. - upstream release
  48. * Tue Sep 5 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.14-0vl3
  49. - add BuildArch: noarch
  50. * Tue May 30 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.14-0vl2
  51. - upstream release
  52. - drop Patch0 (merged into upstream source)
  53. * Sun Apr 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.13-0vl2
  54. - upstream release
  55. - update Patch0 from upstream cvs repository
  56. - drop Source1: bsfilter-actionsrc
  57. (because Sylpheed supports bsfilter natively)
  58. - Change Group: to Applications/Other
  59. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.12-0vl3
  60. - add Patch0 to work correctly with ruby-mecab 0.90
  61. * Tue Jan 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.12-0vl2
  62. - upstream release
  63. * Tue Dec 13 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.10-0vl2
  64. - upstream release
  65. * Sat Jul 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.9-0vl2
  66. - upstream release
  67. * Wed Jul 20 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.8-0vl2
  68. - upstream release
  69. * Thu May 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.7-0vl2
  70. - upstream release
  71. * Wed Dec 22 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.6-0vl2
  72. - upstream release
  73. * Fri Oct 29 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.5-0vl2
  74. - upstream release
  75. * Sat Aug 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.4-0vl2
  76. - upstream release
  77. - removed unnecessary 'env' command from %prep script
  78. - moved doc install from %install script to %doc
  79. - added COPYING to %doc
  80. - changed install, rm and cp to use macros
  81. * Sun Aug 8 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.3-0vl0.1
  82. - upstream release
  83. - added Sylpheed actionsrc sample
  84. * Wed Mar 31 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.3
  85. - modified Group
  86. * Tue Mar 30 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.2
  87. - modified %defattr 644 to none
  88. * Tue Mar 30 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.1
  89. - initial build for Vine Linux 2.6r1