python-pyclamav-vl.spec 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Summary: a quick hack to use libclamav with python
  2. Name: python-pyclamav
  3. Version: 0.4.1
  4. Release: 4%{?_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: openssl-devel
  15. BuildRequires: clamav-devel >= 0.95
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. pyClamAV is a python binding to libclamav written in C. By using pyClamAV,
  20. you can add virus detection capabilities to your python software in an
  21. efficient and easy way.
  22. %prep
  23. %setup -q -n pyclamav-%{version}
  24. %patch0 -p1 -b .debian
  25. %build
  26. %__python setup.py build
  27. %install
  28. %__rm -rf %{buildroot}
  29. %__python setup.py install --root %{buildroot}
  30. %clean
  31. %__rm -rf %{buildroot}
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc CHANGELOG README.txt gpl.txt
  35. %{python_sitearch}/pyclamav*
  36. %changelog
  37. * Sat Nov 17 2018 Toshiaki Ara <ara_t@384.jp> 0.4.1-4
  38. - rebuild with VineSeed environment
  39. - add BuildRequires: openssl-devel
  40. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-3
  41. - rebuild with VineSeed environment
  42. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-2
  43. - rebuild with python-2.7.2
  44. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.4.1-1
  45. - Initial build.
  46. - add clamav-095-compat.patch (Patch0) from Debian python-clamav 0.4.1-5