%define module rope Name: python-%{module} Version: 0.9.4 Release: %mkrel 2 Summary: Python refactoring library Source0: %{module}-%{version}.tar.gz License: GPLv2 Group: Development/Python Url: http://rope.sourceforge.net/ BuildArch: noarch BuildRequires: python-devel %description Rope is a Python refactoring library. You can use rope as a library in other IDEs. %prep %setup -q -n %{module}-%{version} %build %install %__rm -rf %{buildroot} PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILE_LIST %clean %__rm -rf %{buildroot} %files -f FILE_LIST %defattr(-,root,root) %doc COPYING README.txt docs/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.9.4-2.mga3 + Revision: 379447 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Dec 13 2012 obgr_seneca <obgr_seneca> 0.9.4-1.mga3 + Revision: 330116 - new version * Sun Mar 20 2011 obgr_seneca <obgr_seneca> 0.9.3-1.mga1 + Revision: 75040 - cleaned up spec - removed buildroot tag - replaced '%%py_requires -d' by 'BuildRequires: python-devel' - removed defines at the top of the spec - imported package python-rope