diff --git a/README.md b/README.md index 4a28e96..bc2e798 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # python-virtualenvwrapper +virtualenvwrapper is a set of extensions to virtualenv tool. +The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies. + diff --git a/python-virtualenvwrapper.spec b/python-virtualenvwrapper.spec new file mode 100644 index 0000000..cad6e21 --- /dev/null +++ b/python-virtualenvwrapper.spec @@ -0,0 +1,52 @@ +Name: python-virtualenvwrapper +Version: 4.2 +Release: 2mamba +Summary: A set of extensions to virtualenv tool +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://virtualenvwrapper.readthedocs.org +Source: https://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +Requires: python-stevedore +Provides: virtualenvwrapper +Obsoletes: virtualenvwrapper +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +virtualenvwrapper is a set of extensions to virtualenv tool. +The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies. + +%prep +%setup -q -n virtualenvwrapper-%{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} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc AUTHORS LICENSE ChangeLog README.txt + +%changelog +* Tue Feb 11 2014 Stefano Cotta Ramusino 4.2-2mamba +- added missing requirement + +* Fri Feb 07 2014 Stefano Cotta Ramusino 4.2-1mamba +- package created using the webbuild interface