python-pip/python-pip.spec

90 lines
3.0 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: python-pip
Version: 6.0.3
Release: 1mamba
Summary: A tool for installing and managing Python packages
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
URL: http://www.pip-installer.org/
Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: python
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python-setuptools
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
pip is a tool for installing and managing Python packages, such as those found in the Python Package Index. Its a replacement for easy_install.
%prep
%setup -q -n pip-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
## note: eventually add the remaining documents (if any)
#
%changelog
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 6.0.3-1mamba
- automatic version update by autodist
* Thu May 22 2014 Automatic Build System <autodist@mambasoft.it> 1.5.6-1mamba
- automatic version update by autodist
* Wed May 07 2014 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
- automatic version update by autodist
* Tue Feb 25 2014 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
- automatic version update by autodist
* Thu Feb 06 2014 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic version update by autodist
* Sat Jan 25 2014 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
- automatic version update by autodist
* Thu Jan 02 2014 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
- automatic version update by autodist
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Thu Jul 25 2013 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
- python 2.7 mass rebuild
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Tue Sep 04 2012 openmamba WebBuild System <webbuild@openmamba.org> 1.2-1mamba
- package created by autospec