Name: python-distutils-extra Version: 2.18 Release: %mkrel 1 Summary: Enhancements to the Python build system Group: Development/Python License: GPLv2+ URL: https://launchpad.net/python-distutils-extra # Use Source from Debian because upstream was moved to Launchpad Source0: http://ftp.de.debian.org/debian/pool/main/p/%{name}/%{name}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch BuildRequires: python-setuptools %description python-distutils-extra allows you to easily integrate gettext, themed icons and GNOME documentation into your build and installation process. %prep %setup -q -c "%{name}-%{version}" rm -rf debian/debian mv debian/* . %build python ./setup.py build %install rm -rf %{buildroot} python setup.py install --root=%{buildroot} chmod a+x %{buildroot}%{python_sitelib}/DistUtilsExtra/command/build_extra.py %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc doc/* %{python_sitelib}/DistUtilsExtra/ %{python_sitelib}/python_distutils_extra*.egg-info %changelog * Fri Apr 16 2010 Michael Scherer <misc@mandriva.org> 2.18-1mdv2010.1 + Revision: 535622 - update to new version 2.18 * Sat Jan 30 2010 Frederik Himpe <fhimpe@mandriva.org> 2.16-1mdv2010.1 + Revision: 498551 - update to new version 2.16 * Wed Jan 06 2010 Frederik Himpe <fhimpe@mandriva.org> 2.15-1mdv2010.1 + Revision: 486836 - update to new version 2.15 * Thu Dec 24 2009 Frederik Himpe <fhimpe@mandriva.org> 2.13-1mdv2010.1 + Revision: 481992 - update to new version 2.13 * Thu Nov 12 2009 Frederik Himpe <fhimpe@mandriva.org> 2.12-1mdv2010.1 + Revision: 465316 - update to new version 2.12 * Sun Jul 12 2009 Frederik Himpe <fhimpe@mandriva.org> 2.3-1mdv2010.0 + Revision: 394904 - Create package based on Fedora's SPEC - create python-distutils-extra