Summary: a quick hack to use libclamav with python Name: python-pyclamav Version: 0.4.1 Release: 1%{?_dist_release} License: GPLv2 Group: Development/Libraries URL: http://xael.org/norman/python/pyclamav/ Source0: pyclamav-%{version}.tar.gz ## from Debian python-clamav 0.4.1-5 # http://svn.debian.org/viewsvn/python-modules/packages/python-clamav/trunk/debian/patches/clamav-095-compat.patch?revision=15795&view=markup Patch0: clamav-095-compat.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python-devel BuildRequires: clamav-devel >= 0.95 %description pyClamAV is a python binding to libclamav written in C. By using pyClamAV, you can add virus detection capabilities to your python software in an efficient and easy way. %prep %setup -q -n pyclamav-%{version} %patch0 -p1 -b .debian %build %__python setup.py build %install %__rm -rf %{buildroot} %__python setup.py install --root %{buildroot} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGELOG README.txt gpl.txt %{python_sitearch}/pyclamav* %changelog * Mon Mar 28 2011 IWAI, Masaharu 0.4.1-1 - Initial build. - add clamav-095-compat.patch (Patch0) from Debian python-clamav 0.4.1-5