python-virtualenv/python-virtualenv.spec

128 lines
4.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-virtualenv
Version: 14.0.1
Release: 1mamba
Summary: Virtual Python Environment builder
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://virtualenv.openplans.org
Source: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: help2man
Requires: python >= %python_version
Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
virtualenv is a tool to create isolated Python environments.
%prep
%setup -q -n virtualenv-%{version}
%build
%{__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} \
--single-version-externally-managed \
--record=%{name}.filelist
install -d %{buildroot}%{_mandir}/man1
help2man \
--version-string="virtualenv %{version}" \
--output=%{buildroot}%{_mandir}/man1/virtualenv.1 \
./virtualenv.py
echo "%{_mandir}/man1/virtualenv.1" >> %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
#%doc docs/*.txt
%changelog
* Sun Jan 24 2016 Automatic Build System <autodist@mambasoft.it> 14.0.1-1mamba
- automatic version update by autodist
* Sun Aug 30 2015 Automatic Build System <autodist@mambasoft.it> 13.1.2-1mamba
- automatic version update by autodist
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 13.1.0-1mamba
- automatic version update by autodist
* Fri Jun 19 2015 Automatic Build System <autodist@mambasoft.it> 13.0.3-1mamba
- automatic version update by autodist
* Sun May 24 2015 Automatic Build System <autodist@mambasoft.it> 13.0.1-1mamba
- automatic version update by autodist
* Tue Apr 07 2015 Automatic Build System <autodist@mambasoft.it> 12.1.1-1mamba
- automatic version update by autodist
* Fri Feb 06 2015 Automatic Build System <autodist@mambasoft.it> 12.0.7-1mamba
- automatic version update by autodist
* Sun Jan 04 2015 Automatic Build System <autodist@mambasoft.it> 12.0.5-1mamba
- automatic version update by autodist
* Tue May 27 2014 Automatic Build System <autodist@mambasoft.it> 1.11.6-1mamba
- automatic version update by autodist
* Fri May 09 2014 Automatic Build System <autodist@mambasoft.it> 1.11.5-1mamba
- automatic version update by autodist
* Mon Mar 03 2014 Automatic Build System <autodist@mambasoft.it> 1.11.4-1mamba
- automatic version update by autodist
* Mon Jan 27 2014 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
- automatic version update by autodist
* Wed Jan 22 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.11.1-1mamba
- update to 1.11.1
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
- automatic version update by autodist
* Mon Jul 29 2013 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-2mamba
- python 2.7 mass rebuild
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Sat Jan 12 2013 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic version update by autodist
* Sat Nov 24 2012 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
- automatic version update by autodist
* Fri Sep 14 2012 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Wed Nov 30 2011 Automatic Build System <autodist@mambasoft.it> 1.7-1mamba
- automatic version update by autodist
* Sun Mar 20 2011 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic update by autodist
* Tue Oct 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.5.1-1mamba
- package created by autospec