Summary: A Python interface to libclamav Name: pyclamav Version: 0.4.1 Release: %mkrel 3 License: GPLv2+ Group: System/Libraries URL: http://xael.org/norman/python/pyclamav/index.html Source0: http://xael.org/norman/python/pyclamav/%{name}-%{version}.tar.bz2 BuildRequires: clamav-devel >= 0.90 BuildRequires: python-devel %py_requires -d BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description A Python interface to libclamav. %prep %setup -q %build env CFLAGS="%{optflags}" python setup.py build %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} python -- setup.py install \ --root=%{buildroot} \ --optimize=2 %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(644,root,root,755) %doc README.txt CHANGELOG example.py %attr(755,root,root) %{_libdir}/python2.5/site-packages/%{name}.so %{_libdir}/python2.5/site-packages/%{name}*.egg-info %changelog * Thu Sep 04 2008 Oden Eriksson <oeriksson@mandriva.com> 0.4.1-3mdv2009.0 + Revision: 280538 - rebuild against new clamav libs * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.4.1-2mdv2009.0 + Revision: 269016 - rebuild early 2009.0 package (before pixel changes) * Thu Apr 17 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.4.1-1mdv2009.0 + Revision: 195212 - new version - new license policy * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.4.0-3mdv2008.1 + Revision: 136445 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Mar 04 2007 Emmanuel Andry <eandry@mandriva.org> 0.4.0-3mdv2007.0 + Revision: 131940 - rebuild for new libclamav * Wed Feb 21 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.4.0-2mdv2007.1 + Revision: 123581 - fix for x86_64 - Import pyclamav