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