1 Summary: INN spam filter
2 Summary(pl): Filtr spamu dla INN
6 Copyright: distributable
7 Group: Networking/Daemons
8 Group(pl): Sieciowe/Serwery
9 Source: ftp://ftp.exit109.com/users/jeremy/%{name}-%{version}.tar.gz
10 Patch: cleanfeed-conf.patch
11 Buildroot: /tmp/%{name}-%{version}-root
16 Cleanfeed is an automatic filter for INN that removes spam from incoming
20 Automatyczny filtr spamu dla serwerów news.
27 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT/{etc/news,usr/{man/man8,lib/news/bin/control}}
31 install cleanfeed.conf $RPM_BUILD_ROOT/etc/news/
32 install cleanfeed.8 $RPM_BUILD_ROOT%{_mandir}/man8/
33 install cleanfeed $RPM_BUILD_ROOT%{_libdir}/news/bin/control/filter_innd.pl
35 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(640,news,news) %config(noreplace) %verify(not size mtime md5) /etc/news/*
45 %attr(750,news,news) %{_libdir}/news/bin/control/filter_innd.pl