]> git.pld-linux.org Git - packages/cleanfeed.git/blob - cleanfeed.spec
- added using CVS keywords in %changelog (for automating them).
[packages/cleanfeed.git] / cleanfeed.spec
1 Summary:        INN spam filter
2 Summary(pl):    Filtr spamu dla INN
3 Name:           cleanfeed
4 Version:        0.95.7b
5 Release:        2
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
12 Requires:       perl-MD5
13 Buildarch:      noarch
14
15 %description
16 Cleanfeed is an automatic filter for INN that removes spam from incoming
17 newsfeeds.
18
19 %description -l pl
20 Automatyczny filtr spamu dla serwerów news.
21
22 %prep
23 %setup -q
24 %patch -p1 
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 install -d $RPM_BUILD_ROOT/{etc/news,usr/{man/man8,lib/news/bin/control}}
30
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
34
35 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
36         README
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README.gz
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
46 %{_mandir}/man8/*
This page took 0.073848 seconds and 3 git commands to generate.