1 Summary: INN spam filter
2 Summary(pl.UTF-8): Filtr spamu dla INN-a
7 Group: Networking/Daemons
8 #originally: http://www.bofh.it/~md/cleanfeed/%{name}-%{src_ver}.tgz
9 # later maintained version:
10 #Source0Download: http://www.mixmin.net/cleanfeed/install.html
11 Source0: http://www.mixmin.net/cleanfeed/%{name}.tar.gz
12 # Source0-md5: 8e14b5e306a9f875b8fcd6488584675a
14 Patch0: %{name}-conf.patch
15 URL: http://www.mixmin.net/cleanfeed/
16 BuildRequires: rpm-perlprov
17 Requires: perl-Digest-MD5
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _sysconfdir /etc/news
25 Cleanfeed is an automatic filter for INN that removes spam from
28 %description -l pl.UTF-8
29 Automatyczny filtr spamu dla serwera news INN. Usuwa spam z
30 przychodzących "feedów".
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man8,%{_datadir}/news/filter}
40 install -p etc/bad_* etc/cleanfeed.local $RPM_BUILD_ROOT%{_sysconfdir}
42 install -p cleanfeed $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.pl
43 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man8
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_adult_paths
51 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_body
52 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_cancel_paths
53 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_from
54 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_groups
55 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_hosts
56 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_paths
57 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_subject
58 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_url
59 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cleanfeed.local
60 %{_datadir}/news/filter/filter_innd.pl
61 %{_mandir}/man8/cleanfeed.8*