# Created by pyp2rpm-1.0.0 %global pypi_name pip %define version 1.3.1 Name: python-pip Version: %{version} Release: %mkrel 2 Group: Development/Python Summary: pip installs packages. Python packages. An easy_install replacement License: MIT URL: http://pypi.python.org/pypi/pip Source0: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz Patch0: pip-1.3.1-fix-proxy-support.patch BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-setuptools Requires: python-pkg-resources %description `pip` is a tool for installing and managing Python packages, such as those found in the `Python Package Index`_. It's a replacement for easy_install_. %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %apply_patches %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc LICENSE.txt %{_bindir}/pip %{_bindir}/pip-2.7 %{python_sitelib}/%{pypi_name} %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Wed May 08 2013 neoclust <neoclust> 1.3.1-2.mga3 + Revision: 412711 - fix proxy support - New version ( fix CVE-2013-1888 ) mga #10007) * Tue Mar 05 2013 neoclust <neoclust> 1.2.1-2.mga3 + Revision: 401418 - Add missing deps ( mga #9246 ) * Mon Jan 28 2013 joequant <joequant> 1.2.1-1.mga3 + Revision: 392901 - imported package python-pip