1 %include /usr/lib/rpm/macros.perl
2 Summary: Collection of files for checking, reporting, and revoking spam.
3 Summary(pl): Zbiór plików do sprawdzania, raportowania i odrzucania spamu.
8 Group: Applications/Mail
9 Source0: http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-2.12.tar.gz
10 Patch0: razor-agents-makefile.patch
11 URL: http://razor.sourceforge.net/
12 BuildRequires: perl >= 5
13 BuildRequires: rpm-perlprov >= 3.0.3-16
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Requires: perl-Razor = %{version}
19 Vipul's Razor is a distributed, collaborative, spam detection, reporting,
20 and filtering network. The primary focus of the system is to identify
21 and remove all email spam from the internet. Visit the website at
22 <http://razor.sourceforge.net/>.
25 Vipul's Razor jest dystrybuowaln±, tworzon± dziêki wspó³pracy sieci±,
26 s³u¿±c± do wykrywania spamu, raportowania i filtrowania. Podstawowym
27 zadaniem systemu jest identyfikacja spamu z poczty internetowej.
28 Odwied¼ stronê domow±: <http://razor.sourceforge.net/>.
30 %package -n perl-Razor
31 Summary: Perl modules for Razor
32 Summary(pl): Modu³y Perla dla Razora
33 Group: Development/Languages/Perl
35 %description -n perl-Razor
36 Perl modules for Razor, class Razor2::.
38 %description -n perl-Razor -l pl
39 Modu³y Perla dla Razora, klasa Razor2::.
42 %setup -q -n razor-agents-%{version}
51 rm -rf $RPM_BUILD_ROOT
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54 for f in check register report revoke; do
55 ln -sf razor-client $RPM_BUILD_ROOT%{_bindir}/razor-$f
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc Change* BUGS README INSTALL CREDITS
68 %{perl_sitelib}/Razor2