62 lines
2.1 KiB
RPMSpec
62 lines
2.1 KiB
RPMSpec
Name: python-virtualenvwrapper
|
|
Version: 4.3.2
|
|
Release: 1mamba
|
|
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
|
|
* Mon Jan 05 2015 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 22 2014 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 02 2014 Automatic Build System <autodist@mambasoft.it> 4.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|