1 Summary: A Python interface to libclamav
2 Summary(pl): Interfejs Pythona do libclamav
7 Group: Libraries/Python
8 Source0: http://norman.free.fr/norman/python/pyclamav/pyclamav-%{version}.tar.gz
9 # Source0-md5: 0b274b73f71b8e4481c8fb30fd1c2bb2
10 URL: http://xael.org/norman/python/pyclamav/index.html
11 BuildRequires: clamav-devel >= 0:0.80
13 BuildRequires: python-devel >= 1:2.4
14 Requires: clamav >= 0:0.80
16 %pyrequires_eq python-modules
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A Python interface to libclamav.
23 Interfejs Pythona do libclamav.
26 %setup -q -n pyclamav-%{version}
29 env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
32 rm -rf $RPM_BUILD_ROOT
34 python -- setup.py install \
35 --root=$RPM_BUILD_ROOT \
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) %{py_sitedir}/*.so
45 ##%{py_sitedir}/*.py[co]