%define pkg_name Razor-Agent %define pkg_version 2.82 %define rpm_pkg_version 2.82 %define rpm_pkg_release 1.n0i.3 Summary: Use a Razor catalogue server to filter spam messages Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://razor.sourceforge.net/ Source0: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools %perl_req_compat %perl_req_arch # autodep misses this, making "razor-admin -register" fail Requires: perl(Net::DNS) %{!?_without_test:BuildRequires: perl(Digest::SHA1)} %{!?_without_test:BuildRequires: perl(File::Copy)} %{!?_without_test:BuildRequires: perl(File::Spec)} %{!?_without_test:BuildRequires: perl(Getopt::Long)} %{!?_without_test:BuildRequires: perl(Net::DNS)} %{!?_without_test:BuildRequires: perl(Net::Ping)} %{!?_without_test:BuildRequires: perl(Time::HiRes)} %{!?_without_test:BuildRequires: perl(URI)} %{!?_without_test:BuildRequires: perl(URI::Escape)} %description Vipul's Razor is a distributed, collaborative, spam detection and filtering network. Razor establishes a distributed and constantly updating catalogue of spam in propagation. This catalogue is used by clients to filter out known spam. On receiving a spam, a Razor Reporting Agent (run by an end-user or a troll box) calculates and submits a 20-character unique identification of the spam (a SHA Digest) to its closest Razor Catalogue Server. The Catalogue Server echos this signature to other trusted servers after storing it in its database. Prior to manual processing or transport-level reception, Razor Filtering Agents (end-users and MTAs) check their incoming mail against a Catalogue Server and filter out or deny transport in case of a signature match. Catalogued spam, once identified and reported by a Reporting Agent, can be blocked out by the rest of the Filtering Agents on the network. %prep %setup -q -n razor-agents-%{version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc BUGS Changes CREDITS FAQ README SERVICE_POLICY %{perl_files} %{_mandir}/man1/* %{_mandir}/man5/* %{_bindir}/* %changelog * Thu Feb 22 2007 Marius FERARU - 2.82-1.n0i.3 - version 2.82 - spec file recreated using N0i::CPAN::RPMizer v1.14.0 * Mon Dec 06 2004 Marius FERARU - 2.67-1.n0i.2 - version 2.67 * Mon Jun 28 2004 Marius FERARU - 2.40-1.n0i.1 - version 2.40 - spec cleanups (Fedora style) - perl fixes/tweaks - dropped extra package, choosing to unify all tools and modules in a single one * Sun Jan 26 2003 Dag Wieers - 1.20-0 - Initial package. (using DAR)