3 %bcond_with tests # perform "make test" (needs working, not busy /dev/audio!)
5 Summary: Spam should not be propagated beyond necessity
6 Summary(pl.UTF-8): Spam nie powinien być rozsiewany bez potrzeby
7 Name: perl-Vipuls-Razor-V1
11 License: GPL v1+ or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.gz
14 # Source0-md5: 3612455aca8221718d2bf4b94ca67197
15 BuildRequires: perl-devel >= 1:5.8.0
16 BuildRequires: rpm-perlprov >= 3.0.3-16
18 BuildRequires: perl-Net-DNS
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Vipul's Razor is a distributed, collaborative, spam detection and
26 filtering network. Through user contribution, Razor establishes a
27 distributed and constantly updating catalogue of spam in propagation
28 that is consulted by email clients to filter out known spam. Detection
29 is done with statistical and randomized signatures that efficiently
30 spot mutating spam content. User input is validated through reputation
31 assignments based on consensus on report and revoke assertions which
32 in turn is used for computing confidence values associated with
33 individual signatures.
35 %description -l pl.UTF-8
36 Vipul's Razor to rozproszona, współpracująca sieć wykrywania spamu.
37 Przy udziale użytkowników Razor stanowi rozproszony i stale
38 uaktualniany katalog rozprzestrzenianego spamu, który jest odpytywany
39 przez klientów pocztowych w celu filtrowania znanego spamu. Wykrywanie
40 jest przeprowadzane za pomocą statystycznych i losowych sygnatur,
41 które efektywnie wykrywają mutującą się zawartość spamu. Wejście od
42 użytkowników jest kontrolowane poprzez przypisaną reputację bazowaną
43 na raportach i zapewnieniach, które służą do obliczania poziomów
44 ufności związanych z poszczególnymi sygnaturami.
47 %setup -q -n razor-agents-%{version}
50 %{__perl} Makefile.PL \
54 %{?with_tests:%{__make} test}
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_mandir}/man5
61 DESTDIR=$RPM_BUILD_ROOT
62 install razor-whitelist.pod $RPM_BUILD_ROOT%{_mandir}/man5/razor-whitelist.5
63 install razor.conf $RPM_BUILD_ROOT%{_mandir}/man5/razor.conf.5
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc Changes sample.txt
71 %attr(755,root,root) %{_bindir}/*
72 %dir %{perl_vendorlib}/Razor
73 %{perl_vendorlib}/Razor/*