%define upstream_name clamd Name: python-%{upstream_name} Version: 1.0.1 Release: 1 Summary: Python interface to Clamd (Clamav daemon) Group: Development/Python License: LGPL URL: https://pypi.python.org/pypi/clamd Source0: https://pypi.python.org/packages/source/c/clamd/clamd-%{version}.zip BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools %description clamd is a portable Python module to use the ClamAV anti-virus engine on Windows, Linux, MacOSX and other platforms. It requires a running instance of the clamd daemon. %prep %setup -q -n %{upstream_name}-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT %files %doc CHANGES.rst README.rst %{python_sitelib}/clamd.py* %{python_sitelib}/clamd-%{version}-*.egg-info %changelog * Tue Oct 22 2013 umeabot 1.0.1-3.mga4 + Revision: 544942 - Mageia 4 Mass Rebuild * Tue Oct 15 2013 pterjan 1.0.1-2.mga4 + Revision: 500492 - Rebuild to add different pythonegg provides for python 2 and 3 * Wed Aug 21 2013 guillomovitch 1.0.1-1.mga4 + Revision: 468873 - imported package python-clamd