]> git.pld-linux.org Git - SPECS.git/blob - perl-Vipuls-Razor-V1.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-Vipuls-Razor-V1.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (needs working, not busy /dev/audio!)
4 #
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
8 Version:        1.20
9 Release:        4
10 # same as perl
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
17 %if %{with tests}
18 BuildRequires:  perl-Net-DNS
19 %endif
20 Obsoletes:      Razor
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
34
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.
45
46 %prep
47 %setup -q -n razor-agents-%{version}
48
49 %build
50 %{__perl} Makefile.PL \
51         INSTALLDIRS=vendor
52 %{__make}
53
54 %{?with_tests:%{__make} test}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_mandir}/man5
59
60 %{__make} install \
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
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
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/*
74 %{_mandir}/man1/*
75 %{_mandir}/man5/*
This page took 0.189798 seconds and 3 git commands to generate.