bsfilter-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. %define number 49795
  2. Name: bsfilter
  3. Version: 1.0.18.ruby1.9.rc1
  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 fix "incompatible encoding regexp match" error.
  12. Patch0: bsfilter-ruby1.9.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: ruby >= 1.9.0
  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. pushd bsfilter
  27. %patch0 -p0
  28. popd
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. %{__install} -D -m 755 bsfilter/bsfilter ${RPM_BUILD_ROOT}%{_bindir}/%{name}
  32. %{__install} -d ${RPM_BUILD_ROOT}%{_datadir}/%{name}
  33. %{__cp} -rp mda mua ${RPM_BUILD_ROOT}%{_datadir}/%{name}
  34. %clean
  35. %{__rm} -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root)
  38. %doc COPYING htdocs/*
  39. %{_bindir}/%{name}
  40. %{_datadir}/%{name}
  41. %changelog
  42. * Sat Dec 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18.ruby1.9.rc1-1
  43. - new upstream release.
  44. * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.17-1
  45. - new upstream release
  46. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.16-1vl5
  47. - applied new versioning policy, spec in utf-8
  48. * Sat Mar 8 2008 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.16-0vl2
  49. - upstream release
  50. * Sat Dec 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.15-0vl2
  51. - upstream release
  52. * Tue Sep 5 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.14-0vl3
  53. - add BuildArch: noarch
  54. * Tue May 30 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.14-0vl2
  55. - upstream release
  56. - drop Patch0 (merged into upstream source)
  57. * Sun Apr 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.13-0vl2
  58. - upstream release
  59. - update Patch0 from upstream cvs repository
  60. - drop Source1: bsfilter-actionsrc
  61. (because Sylpheed supports bsfilter natively)
  62. - Change Group: to Applications/Other
  63. * Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.12-0vl3
  64. - add Patch0 to work correctly with ruby-mecab 0.90
  65. * Tue Jan 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.12-0vl2
  66. - upstream release
  67. * Tue Dec 13 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.10-0vl2
  68. - upstream release
  69. * Sat Jul 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.9-0vl2
  70. - upstream release
  71. * Wed Jul 20 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.8-0vl2
  72. - upstream release
  73. * Thu May 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.7-0vl2
  74. - upstream release
  75. * Wed Dec 22 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.6-0vl2
  76. - upstream release
  77. * Fri Oct 29 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.5-0vl2
  78. - upstream release
  79. * Sat Aug 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.4-0vl2
  80. - upstream release
  81. - removed unnecessary 'env' command from %prep script
  82. - moved doc install from %install script to %doc
  83. - added COPYING to %doc
  84. - changed install, rm and cp to use macros
  85. * Sun Aug 8 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.3-0vl0.1
  86. - upstream release
  87. - added Sylpheed actionsrc sample
  88. * Wed Mar 31 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.3
  89. - modified Group
  90. * Tue Mar 30 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.2
  91. - modified %defattr 644 to none
  92. * Tue Mar 30 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.1-0vl0.1
  93. - initial build for Vine Linux 2.6r1