diff --git a/.cvsignore b/.cvsignore index e69de29..b8e1e22 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pip-0.4.tar.gz diff --git a/python-pip.spec b/python-pip.spec new file mode 100644 index 0000000..dacd466 --- /dev/null +++ b/python-pip.spec @@ -0,0 +1,51 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +%global srcname pip + +Name: python-%{srcname} +Version: 0.4 +Release: 1%{?dist} +Summary: Pip installs packages. Python packages. An easy_install replacement + +Group: Development/Libraries +License: MIT +URL: http://pip.openplans.org +Source0: http://pypi.python.org/packages/source/p/pip/%{srcname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools-devel + +%description + +Pip is a replacement for `easy_install +`_. It uses mostly the +same techniques for finding packages, so packages that were made +easy_installable should be pip-installable as well. + +pip is meant to improve on easy_install.bulletin boards, etc.). + +%prep +%setup -q -n %{srcname}-%{version} +%{__sed} -i '1d' pip.py + +%build +%{__python} setup.py build + +%install +%{__rm} -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc PKG-INFO docs +%attr(755,root,root) %{_bindir}/pip +%{python_sitelib}/pip* + +%changelog +* Mon Aug 31 2009 Peter Halliday - 0.4-1 +- Initial package diff --git a/sources b/sources index e69de29..21eb671 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b45714d04f8fd38fe8e3d4c7600b91a2 pip-0.4.tar.gz