%define module_name hachoir-regex Summary: Regex manipulation Python library Name: python-%{module_name} Version: 1.0.5 Release: %mkrel 2 Source0: http://cheeseshop.python.org/packages/source/h/%{module_name}/%{module_name}-%{version}.tar.gz License: GPLv2 Group: Development/Python URL: http://hachoir.org/wiki/hachoir-metadata BuildArch: noarch Requires: python-hachoir-core Requires: python-hachoir-parser BuildRequires: python-setuptools %description Regex manipulation Python library. %prep %setup -q -n %{module_name}-%{version} %build python setup.py build %install rm -rf %{buildroot} python setup.py install --root=%{buildroot} --record=INSTALLED_FILES %files %doc AUTHORS COPYING README %{py_puresitedir}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.0.5-2.mga3 + Revision: 378973 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Sep 15 2011 mikala <mikala> 1.0.5-1.mga2 + Revision: 143932 - Remove BuildRoot, %%clean section & %%defattr() - imported package python-hachoir-regex