| 1 |
# sitelib for noarch packages
|
| 2 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
| 3 |
|
| 4 |
Name: python-virtualenv
|
| 5 |
Version: 1.3.3
|
| 6 |
Release: 1%{?dist}
|
| 7 |
Summary: Tool to create isolated Python environments
|
| 8 |
|
| 9 |
Group: Development/Languages
|
| 10 |
License: MIT
|
| 11 |
URL: http://pypi.python.org/pypi/virtualenv
|
| 12 |
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
| 13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 14 |
|
| 15 |
BuildArch: noarch
|
| 16 |
BuildRequires: python-devel, python-setuptools-devel
|
| 17 |
Requires: python-setuptools, python-setuptools-devel, python-devel
|
| 18 |
|
| 19 |
|
| 20 |
%description
|
| 21 |
virtualenv is a tool to create isolated Python environments. virtualenv
|
| 22 |
is a successor to workingenv, and an extension of virtual-python. It is
|
| 23 |
written by Ian Bicking, and sponsored by the Open Planning Project. It is
|
| 24 |
licensed under an MIT-style permissive license.
|
| 25 |
|
| 26 |
|
| 27 |
%prep
|
| 28 |
%setup -q -n virtualenv-%{version}
|
| 29 |
%{__sed} -i -e "s|#!/usr/bin/env python||" virtualenv.py
|
| 30 |
|
| 31 |
|
| 32 |
%build
|
| 33 |
%{__python} setup.py build
|
| 34 |
|
| 35 |
|
| 36 |
%install
|
| 37 |
rm -rf $RPM_BUILD_ROOT
|
| 38 |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| 39 |
|
| 40 |
|
| 41 |
%clean
|
| 42 |
rm -rf $RPM_BUILD_ROOT
|
| 43 |
|
| 44 |
|
| 45 |
%files
|
| 46 |
%defattr(-,root,root,-)
|
| 47 |
%doc docs/index.txt docs/license.txt PKG-INFO
|
| 48 |
# For noarch packages: sitelib
|
| 49 |
%{python_sitelib}/*
|
| 50 |
%attr(755,root,root) %{_bindir}/virtualenv
|
| 51 |
%exclude %{python_sitelib}/support-files
|
| 52 |
|
| 53 |
|
| 54 |
%changelog
|
| 55 |
* Tue Apr 28 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.3-1
|
| 56 |
- Updated for upstream release.
|
| 57 |
|
| 58 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
| 59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 60 |
|
| 61 |
* Thu Dec 25 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.2-1
|
| 62 |
- Updated for upstream release.
|
| 63 |
|
| 64 |
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-4
|
| 65 |
- Rebuild for Python 2.6
|
| 66 |
|
| 67 |
* Mon Dec 1 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-3
|
| 68 |
- Added missing dependencies.
|
| 69 |
|
| 70 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-2
|
| 71 |
- Rebuild for Python 2.6
|
| 72 |
|
| 73 |
* Fri Nov 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-1
|
| 74 |
- Updated for upstream release
|
| 75 |
|
| 76 |
* Sun Sep 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3-1
|
| 77 |
- Updated for upstream release
|
| 78 |
|
| 79 |
* Sat Aug 30 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.2-1
|
| 80 |
- Updated for upstream release
|
| 81 |
|
| 82 |
* Fri Aug 29 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-3
|
| 83 |
- Updated from review notes
|
| 84 |
|
| 85 |
* Thu Aug 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-2
|
| 86 |
- Updated from review notes
|
| 87 |
|
| 88 |
* Tue Aug 26 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-1
|
| 89 |
- Initial Version
|