%define module setuptools Summary: Python Distutils Enhancements Name: python-%{module} Version: 0.6c9 Release: %mkrel 3 License: Zope Public License (ZPL) Group: Development/Python Url: http://peak.telecommunity.com/DevCenter/setuptools Source0: http://cheeseshop.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.lzma BuildArch: noarch BuildRequires: python-devel Requires: python-devel Requires: python-pkg-resources BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description A collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. %package -n python-pkg-resources Summary: Runtime module to access python resources Group: Development/Python Conflicts: python-setuptools < 0.6c9-2mdv %description -n python-pkg-resources Module used to find and manage Python package/version dependencies and access bundled files and resources, including those inside of zipped .egg files. %prep %setup -q -n %{module}-%{version} %build export CFLAGS="%{optflags}" %__python setup.py build %__perl -pi -e 's|^#!python|#!/usr/bin/python|' easy_install.py setuptools/command/easy_install.py %check %__python setup.py test %install %__rm -rf %{buildroot} %__python setup.py install --root=%{buildroot} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc README.txt setuptools.txt api_tests.txt EasyInstall.txt %{_bindir}/* %{py_sitedir}/* %exclude %{py_sitedir}/pkg_resources.py* %files -n python-pkg-resources %defattr(-,root,root) %doc pkg_resources.txt %{py_sitedir}/pkg_resources.py* %changelog * Wed Dec 24 2008 Michael Scherer <misc@mandriva.org> 0.6c9-3mdv2009.1 + Revision: 318435 - rebuild for new python * Fri Nov 28 2008 Wanderlei Cavassin <cavassin@mandriva.com.br> 0.6c9-2mdv2009.1 + Revision: 307480 - Splitted python-pkg-resources, then packages like elisa will not need to drag python-devel and others. * Mon Oct 27 2008 Lev Givon <lev@mandriva.org> 0.6c9-1mdv2009.1 + Revision: 297704 - Update to 0.6c9. Remove patch (included in 0.6c9). + Tomasz Pawel Gajc <tpg@mandriva.org> - remuve stupid redefines - fix mixture of tabs and spaces - better description - export CFLAGS - enable checks * Tue Jul 08 2008 Colin Guthrie <cguthrie@mandriva.org> 0.6c8-3mdv2009.0 + Revision: 232866 - Apply patch to fix bug when working with subversion 1.5 checkouts * Sat Jul 05 2008 Funda Wang <fundawang@mandriva.org> 0.6c8-2mdv2009.0 + Revision: 231966 - setuptools requires python2.5/config/Makefile to work * Thu Feb 21 2008 Lev Givon <lev@mandriva.org> 0.6c8-1mdv2008.1 + Revision: 173464 - Update to 0.6c8. + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Nov 07 2007 Lev Givon <lev@mandriva.org> 0.6c7-2mdv2008.1 + Revision: 106628 - Fix file installation issue. * Thu Oct 11 2007 Lev Givon <lev@mandriva.org> 0.6c7-1mdv2008.1 + Revision: 97177 - Update to 0.6c7. * Mon Jun 18 2007 Lev Givon <lev@mandriva.org> 0.6c6-1mdv2008.0 + Revision: 41112 - Update to 0.6c6. * Tue Apr 24 2007 Lev Givon <lev@mandriva.org> 0.6c5-1mdv2008.0 + Revision: 17935 - Update to 0.6c5. * Fri Jan 05 2007 Michael Scherer <misc@mandriva.org> 0.6c3-1mdv2007.0 + Revision: 104332 - upgrade to 0.6c3 - use %%rel for mkrel * Wed Nov 29 2006 Michael Scherer <misc@mandriva.org> 0.6a11-2mdv2007.1 + Revision: 88724 - rebuild for new python - Import python-setuptools