]> git.pld-linux.org Git - packages/cleanfeed.git/blame - cleanfeed.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cleanfeed.git] / cleanfeed.spec
CommitLineData
6b316fe6 1Summary: INN spam filter
9a9d588a 2Summary(pl.UTF-8): Filtr spamu dla INN-a
6b316fe6 3Name: cleanfeed
bb81b04d
JB
4Version: 20100602
5Release: 1
6License: Artistic v2.0
6b316fe6 7Group: Networking/Daemons
bb81b04d
JB
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
11Source0: http://www.mixmin.net/cleanfeed/%{name}.tar.gz
12# Source0-md5: 8e14b5e306a9f875b8fcd6488584675a
fafd0159 13Source1: %{name}.8
bb81b04d
JB
14Patch0: %{name}-conf.patch
15URL: http://www.mixmin.net/cleanfeed/
a61beb1e 16BuildRequires: rpm-perlprov
e2c7974a 17Requires: perl-Digest-MD5
901ebc2b 18Conflicts: inn < 2.3
b4624d1b 19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
6b316fe6 21
cbca8eb3 22%define _sysconfdir /etc/news
23
6b316fe6 24%description
27754012 25Cleanfeed is an automatic filter for INN that removes spam from
26incoming newsfeeds.
6b316fe6 27
5d7b66fe 28%description -l pl.UTF-8
9a9d588a
JB
29Automatyczny filtr spamu dla serwera news INN. Usuwa spam z
30przychodzących "feedów".
6b316fe6 31
32%prep
bb81b04d
JB
33%setup -q -n %{name}
34%patch0 -p1
ae4964ab 35
6b316fe6 36%install
37rm -rf $RPM_BUILD_ROOT
9bfa2a45 38install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man8,%{_datadir}/news/filter}
6b316fe6 39
bb81b04d 40install -p etc/bad_* etc/cleanfeed.local $RPM_BUILD_ROOT%{_sysconfdir}
75d16c17 41
bb81b04d 42install -p cleanfeed $RPM_BUILD_ROOT%{_datadir}/news/filter/filter_innd.pl
9a9d588a 43install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man8
6b316fe6 44
6b316fe6 45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
9a9d588a 50%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_adult_paths
bb81b04d 51%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_body
9a9d588a 52%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bad_cancel_paths
bb81b04d
JB
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
9a9d588a
JB
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
bb81b04d
JB
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
9a9d588a 59%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cleanfeed.local
6dd01da1 60%{_datadir}/news/filter/filter_innd.pl
9a9d588a 61%{_mandir}/man8/cleanfeed.8*
This page took 0.095212 seconds and 4 git commands to generate.