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-%{version}.tar.gz
10 Patch0: razor-agents-makefile.patch
11 URL: http://razor.sourceforge.net/
12 BuildRequires: perl-devel >= 5
13 BuildRequires: rpm-perlprov >= 3.0.3-16
14 Requires: perl-Razor = %{version}
15 Obsoletes: perl-Vipuls-Razor-V1
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Vipul's Razor is a distributed, collaborative, spam detection, reporting,
21 and filtering network. The primary focus of the system is to identify
22 and remove all email spam from the internet. Visit the website at
23 <http://razor.sourceforge.net/>.
26 Vipul's Razor jest dystrybuowaln±, tworzon± dziêki wspó³pracy sieci±,
27 s³u¿±c± do wykrywania spamu, raportowania i filtrowania. Podstawowym
28 zadaniem systemu jest identyfikacja spamu z poczty internetowej.
29 Odwied¼ stronê domow±: <http://razor.sourceforge.net/>.
31 %package -n perl-Razor
32 Summary: Perl modules for Razor
33 Summary(pl): Modu³y Perla dla Razora
34 Group: Development/Languages/Perl
36 %description -n perl-Razor
37 Perl modules for Razor, class Razor2::.
39 %description -n perl-Razor -l pl
40 Modu³y Perla dla Razora, klasa Razor2::.
43 %setup -q -n razor-agents-%{version}
47 %{__perl} Makefile.PL \
54 rm -rf $RPM_BUILD_ROOT
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57 for f in check register report revoke; do
58 ln -sf razor-client $RPM_BUILD_ROOT%{_bindir}/razor-$f
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc Change* BUGS README INSTALL CREDITS
71 %defattr(644,root,root,755)
72 %{perl_vendorlib}/Razor2