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
15 %define _sysconfdir /etc/news
18 Cleanfeed is an automatic filter for INN that removes spam from incoming
22 Automatyczny filtr spamu dla serwerów news.
29 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT/{%{_sysconfdir},%{_mandir}/man8,%{_libdir}/news/bin/control}
33 install cleanfeed.conf $RPM_BUILD_ROOT%{_sysconfdir}
34 install cleanfeed.8 $RPM_BUILD_ROOT%{_mandir}/man8/
35 install cleanfeed $RPM_BUILD_ROOT%{_libdir}/news/bin/control/filter_innd.pl
37 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
46 %attr(640,news,news) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}*
47 %attr(750,news,news) %{_libdir}/news/bin/control/filter_innd.pl