python-virtualenvwrapper/python-virtualenvwrapper.spec
2024-01-05 16:51:27 +01:00

53 lines
1.8 KiB
RPMSpec

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 <stefano.cotta@openmamba.org>
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 <stefano.cotta@openmamba.org> 4.2-2mamba
- added missing requirement
* Fri Feb 07 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.2-1mamba
- package created using the webbuild interface