Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-setuptools
> python-setuptools.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-setuptools.spec of Package python-setuptools (Revision 7)
Currently displaying revision
7
,
show latest
%define _prefix /usr Name: python-distribute Version: 0.6.28 Release: 1 Summary: Python distribute/setuptools Module Source: http://pypi.python.org/packages/source/d/distribute/distribute-%{version}.tar.gz URL: http://pypi.python.org/pypi/distribute/%{version} Group: Development/Libraries/Python License: Python License BuildRoot: %{_tmppath}/build-%{name}-%{version} %py_requires Provides: python-setuptools = %{version} Provides: python-setuptools = 0.6c11 Requires: python >= %{py_ver} BuildRequires: python-devel %description setuptools is a collection of enhancements to the Python distutils (for Python 2.3.5 and up on most platforms; 64-bit platforms require a minimum of Python 2.4) that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. Packages built and distributed using setuptools look to the user like ordinary Python packages based on the distutils. Your users don't need to install or even know about setuptools in order to use them, and you don't have to include the entire setuptools package in your distributions. By including just a single bootstrap module (an 8K .py file), your package will automatically download and install setuptools if the user is building your package from source and doesn't have a suitable version already installed. %prep %setup -q -n distribute-%{version} %build %__python ./setup.py build %install %__python ./setup.py install \ --root="%{buildroot}" \ --prefix=%{_prefix} %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc *.txt %{_bindir}/easy_install* %{py_sitedir}/easy_install.* %{py_sitedir}/pkg_resources.* %{py_sitedir}/site.* %dir %{py_sitedir}/setuptools %{py_sitedir}/setuptools/* #%dir %{py_sitedir}/setuptools-%{version}-py%{py_ver}.egg-info #%{py_sitedir}/setuptools-%{version}-py%{py_ver}.egg-info/* %dir %{py_sitedir}/distribute-0.6.28-py2.6.egg-info %{py_sitedir}/distribute-0.6.28-py2.6.egg-info/PKG-INFO %{py_sitedir}/distribute-0.6.28-py2.6.egg-info/SOURCES.txt %{py_sitedir}/distribute-0.6.28-py2.6.egg-info/dependency_links.txt %{py_sitedir}/distribute-0.6.28-py2.6.egg-info/entry_points.txt %{py_sitedir}/distribute-0.6.28-py2.6.egg-info/top_level.txt %{py_sitedir}/distribute-0.6.28-py2.6.egg-info/zip-safe %{py_sitedir}/setuptools-0.6c11-py2.6.egg-info %{py_sitedir}/setuptools.pth %changelog * Mon May 31 2010 Carsten Schoene <cs@linux-administrator.com> - 0.6c11-1 - update to 0.6c11 * Wed Sep 26 2007 Carsten Schoene <cs@linux-administrator.com> - initial build for SLES 10 # norootforbuild