python-pyclamav-vl.spec 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Summary: a quick hack to use libclamav with python
  2. Name: python-pyclamav
  3. Version: 0.4.1
  4. Release: 3%{?_dist_release}
  5. License: GPLv2
  6. Group: Development/Libraries
  7. URL: http://xael.org/norman/python/pyclamav/
  8. Source0: pyclamav-%{version}.tar.gz
  9. ## from Debian python-clamav 0.4.1-5
  10. # http://svn.debian.org/viewsvn/python-modules/packages/python-clamav/trunk/debian/patches/clamav-095-compat.patch?revision=15795&view=markup
  11. Patch0: clamav-095-compat.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  13. BuildRequires: python-devel
  14. BuildRequires: clamav-devel >= 0.95
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. pyClamAV is a python binding to libclamav written in C. By using pyClamAV,
  19. you can add virus detection capabilities to your python software in an
  20. efficient and easy way.
  21. %prep
  22. %setup -q -n pyclamav-%{version}
  23. %patch0 -p1 -b .debian
  24. %build
  25. %__python setup.py build
  26. %install
  27. %__rm -rf %{buildroot}
  28. %__python setup.py install --root %{buildroot}
  29. %clean
  30. %__rm -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc CHANGELOG README.txt gpl.txt
  34. %{python_sitearch}/pyclamav*
  35. %changelog
  36. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-3
  37. - rebuild with VineSeed environment
  38. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-2
  39. - rebuild with python-2.7.2
  40. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.4.1-1
  41. - Initial build.
  42. - add clamav-095-compat.patch (Patch0) from Debian python-clamav 0.4.1-5