3 # _without_autodeps - don't BR packages needed only for resolving deps
5 %include /usr/lib/rpm/macros.perl
6 Summary: Collection of files for checking, reporting, and revoking spam
7 Summary(pl): Zbiór plików do sprawdzania, raportowania i odrzucania spamu
12 Group: Applications/Mail
13 Source0: http://dl.sourceforge.net/sourceforge/razor/razor-agents-%{version}.tar.gz
14 # Source0-md5: 1528a40a7ce0929971f2b745b5e88ee9
15 Patch0: razor-agents-makefile.patch
16 URL: http://razor.sourceforge.net/
17 BuildRequires: perl-devel >= 5.8.0
18 %if 0%{!?_without_autodeps:1}
19 BuildRequires: perl-Net-DNS
20 BuildRequires: perl-Class-Fields
21 BuildRequires: perl-Digest-Nilsimsa
22 BuildRequires: perl-Digest-SHA1
23 BuildRequires: perl-Time-HiRes
24 BuildRequires: perl-URI
26 BuildRequires: rpm-perlprov >= 4.1-13
27 Requires: perl-Razor = %{version}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Obsoletes: perl-Vipuls-Razor-V1
33 Vipul's Razor is a distributed, collaborative, spam detection, reporting,
34 and filtering network. The primary focus of the system is to identify
35 and remove all email spam from the internet. Visit the website at
36 <http://razor.sourceforge.net/>.
39 Vipul's Razor jest dystrybuowaln±, tworzon± dziêki wspó³pracy sieci±,
40 s³u¿±c± do wykrywania spamu, raportowania i filtrowania. Podstawowym
41 zadaniem systemu jest identyfikacja spamu z poczty internetowej.
42 Odwied¼ stronê domow±: <http://razor.sourceforge.net/>.
44 %package -n perl-Razor
45 Summary: Perl modules for Razor
46 Summary(pl): Modu³y Perla dla Razora
47 Group: Development/Languages/Perl
49 %description -n perl-Razor
50 Perl modules for Razor, class Razor2::.
52 %description -n perl-Razor -l pl
53 Modu³y Perla dla Razora, klasa Razor2::.
56 %setup -q -n razor-agents-%{version}
60 %{__perl} Makefile.PL \
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
72 for f in check register report revoke; do
73 ln -sf razor-client $RPM_BUILD_ROOT%{_bindir}/razor-$f
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %doc Change* BUGS README INSTALL CREDITS
86 %defattr(644,root,root,755)
87 %{perl_vendorlib}/Razor2