diff --git a/.cvsignore b/.cvsignore index e69de29..86fb4c3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +virtualenv-1.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..6ce0c6e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-virtualenv-1_2-1_fc10:EL-5:python-virtualenv-1.2-1.fc10.src.rpm:1221353277 diff --git a/python-virtualenv.spec b/python-virtualenv.spec new file mode 100644 index 0000000..1403939 --- /dev/null +++ b/python-virtualenv.spec @@ -0,0 +1,64 @@ +# sitelib for noarch packages +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-virtualenv +Version: 1.2 +Release: 1%{?dist} +Summary: Tool to create isolated Python environments + +Group: Development/Languages +License: MIT +URL: http://pypi.python.org/pypi/virtualenv +Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel, python-setuptools-devel + + +%description +virtualenv is a tool to create isolated Python environments. virtualenv +is a successor to workingenv, and an extension of virtual-python. It is +written by Ian Bicking, and sponsored by the Open Planning Project. It is +licensed under an MIT-style permissive license. + + +%prep +%setup -q -n virtualenv-%{version} +%{__sed} -i -e "s|#!/usr/bin/env python||" virtualenv.py + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc docs/index.txt docs/license.txt PKG-INFO +# For noarch packages: sitelib +%{python_sitelib}/* +%attr(755,root,root) %{_bindir}/virtualenv +%exclude %{python_sitelib}/support-files + + +%changelog +* Sat Aug 30 2008 Steve 'Ashcrow' Milner - 1.2-1 +- Updated for upstream release + +* Fri Aug 29 2008 Steve 'Ashcrow' Milner - 1.1-3 +- Updated from review notes + +* Thu Aug 28 2008 Steve 'Ashcrow' Milner - 1.1-2 +- Updated from review notes + +* Tue Aug 26 2008 Steve 'Ashcrow' Milner - 1.1-1 +- Initial Version diff --git a/sources b/sources index e69de29..abf39e6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7ad454e52f025cad631d03331ade4aaf virtualenv-1.2.tar.gz