cleanfeed-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Summary: A spam filter for Usenet news servers.
  2. Summary(ja): Usenet ニュースサーバ用 spam フィルタ
  3. Name: cleanfeed
  4. %define version 0.95.7b
  5. Version: %{version}
  6. Release: 22%{?_dist_release}
  7. License: distributable
  8. Group: System Environment/Daemons
  9. Source0: ftp://ftp.exit109.com/users/jeremy/cleanfeed-%{version}.tar.gz
  10. Patch0: cleanfeed-0.95.7b-redhat.patch
  11. Patch1: cleanfeed-0.95.7b-ro.patch
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArchitectures: noarch
  14. %description
  15. Cleanfeed is an automatic spam filter for Usenet news servers and
  16. routers (INN, Cyclone, Typhoon, Breeze and NNTPRelay). Cleanfeed
  17. looks for duplicated messages, repeated patterns, and known spamming
  18. sites and domains. It can be configured to block binary posts to
  19. non-binary newsgroups, to cancel already-rejected articles, and to
  20. reject some spamming from local users.
  21. Install the cleanfeed package if you need a spam filter for a Usenet
  22. news server.
  23. %description -l ja
  24. cleanfeed は Usenet ニュースサーバ/ルータ (INN, Cyclone, Typhoon, Breeze,
  25. NNTPRelay) 用の自動 spam フィルタです.cleanfeed は重複したメッセージ/
  26. 繰り返しパターン/知られている spam サイト/やドメインをチェックします.
  27. バイナリポストが許されていないニュースグループへのバイナリポストを
  28. ブロックする様に設定することも出来ますし,既に reject された記事の
  29. キャンセル,ローカルユーザの spam メッセージの reject も設定可能です.
  30. Usenet ニュースサーバ用の spam フィルタが必要なら
  31. cleanfeed をインストールして下さい.
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .rh
  35. %patch1 -p1
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. mkdir -p $RPM_BUILD_ROOT/etc/news
  39. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
  40. mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin/filter
  41. install -m 0644 cleanfeed.conf $RPM_BUILD_ROOT/etc/news/
  42. install -m 0644 cleanfeed.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
  43. install -m 0750 cleanfeed \
  44. $RPM_BUILD_ROOT/usr/lib/news/bin/filter/filter_innd.pl
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %attr(-,news,news) %config /etc/news/cleanfeed.conf
  49. %attr(-,root,root) %{_mandir}/man8/cleanfeed.8*
  50. %attr(755,news,news) %dir /usr/lib/news/bin/filter
  51. %attr(-,news,news) /usr/lib/news/bin/filter/filter_innd.pl
  52. %changelog
  53. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.95.7b-22vl5
  54. - applied new versioning policy, spec in utf-8
  55. * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.7b-21vl1
  56. - s/Copyright/License/
  57. - based on 0.95.7b-21.1.1 from Fedora Core
  58. - added Patch1
  59. * Wed Dec 27 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  60. - 0.95.7b-10vl1
  61. - based on 0.95.7b-10 from Rawhide
  62. - added Japanese summary and description
  63. - use better macros
  64. * Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  65. - add dir /usr/bin/filter/ with perms like in inn
  66. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  67. - automatic rebuild
  68. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  69. - automatic rebuild
  70. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  71. - use %%{_mandir}
  72. - buildable as non-root
  73. * Thu Mar 02 2000 Cristian Gafton <gafton@redhat.com>
  74. - fix location to match inn-2.2.2 in /usr/bin/filter
  75. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  76. - fix description
  77. - man pages are compressed
  78. * Tue Aug 10 1999 Cristian Gafton <gafton@redhat.com>
  79. - don't require perl-MD5 anymore (that was merged in the main perl package)
  80. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  81. - auto rebuild in the new build environment (release 3)
  82. * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
  83. - build for 6.0
  84. * Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com>
  85. - update to 0.95.7b
  86. * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
  87. - spec file cleanups
  88. - patch to get rod of /usr/local/bin/perl
  89. * Mon Apr 13 1998 Bryan C. Andregg <bandregg@redhat.com>
  90. - first package