Summary: A collaborative, networked system to detect and block spam Name: pyzor Version: 0.4.0 Release: 11_10%{?dist} License: GPL Group: Networking/Mail URL: http://pyzor.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/pyzor/%{name}-%{version}.tar.bz2 Source1: http://prdownloads.sourceforge.net/pyzor/%{name}-%{version}.tar.bz2.asc Patch0: pyzor-0.4.0-digest.patch Patch1: http://antispam.imp.ch/patches/patch-pyzor-debian-mbox Patch2: http://antispam.imp.ch/patches/patch-pyzor-handle_unknown_encodings Patch3: http://antispam.imp.ch/patches/patch-pyzor-unknowntype BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: python-devel >= 2.2.1 %description Pyzor is a collaborative, networked system to detect and block spam using identifying digests of messages. Pyzor initially started out to be merely a Python implementation of Razor, but due to the protocol and the fact that Razor's server is not Open Source or software libre, I decided to impelement Pyzor with a new protocol and release the entire system as Open Source and software libre. %prep %setup -q %patch0 -p1 %patch1 -p0 %patch2 -p0 %patch3 -p0 %build CFLAGS="%{optflags}" python setup.py build %install rm -rf %{buildroot} python setup.py install --root=%{buildroot} mkdir -p %{buildroot}%{_docdir}/%{name}-%{version} mv %{buildroot}%{_docdir}/%{name}/usage.html . %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README NEWS COPYING MANIFEST usage.html %{_bindir}/pyzor %{_bindir}/pyzord %{python_libdir}/pyzor* %changelog * Mon Jan 22 2007 Axel Thimm - 0.4.0-9 - Apply patch collection from ImproWare AG. * Thu Feb 16 2006 Axel Thimm - Fix digest TypeError bug. * Wed Feb 9 2005 Axel Thimm - Fix python burn in (Jens Dreger ). * Fri May 2 2003 Axel Thimm - Initial build.