diff --git a/README.md b/README.md index 96dbf05..51fe9e1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-virtualenv +virtualenv is a tool to create isolated Python environments. + diff --git a/python-virtualenv.spec b/python-virtualenv.spec new file mode 100644 index 0000000..6c9b082 --- /dev/null +++ b/python-virtualenv.spec @@ -0,0 +1,100 @@ +Name: python-virtualenv +Version: 1.11.5 +Release: 1mamba +Summary: Virtual Python Environment builder +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +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 +* Fri May 09 2014 Automatic Build System 1.11.5-1mamba +- automatic version update by autodist + +* Mon Mar 03 2014 Automatic Build System 1.11.4-1mamba +- automatic version update by autodist + +* Mon Jan 27 2014 Automatic Build System 1.11.2-1mamba +- automatic version update by autodist + +* Wed Jan 22 2014 Stefano Cotta Ramusino 1.11.1-1mamba +- update to 1.11.1 + +* Sat Aug 10 2013 Automatic Build System 1.10.1-1mamba +- automatic version update by autodist + +* Mon Jul 29 2013 Automatic Build System 1.10-1mamba +- automatic update by autodist + +* Fri May 17 2013 Silvan Calarco 1.9.1-2mamba +- python 2.7 mass rebuild + +* Sat Mar 09 2013 Automatic Build System 1.9.1-1mamba +- automatic version update by autodist + +* Sat Jan 12 2013 Automatic Build System 1.8.4-1mamba +- automatic version update by autodist + +* Sat Nov 24 2012 Automatic Build System 1.8.3-1mamba +- automatic version update by autodist + +* Fri Sep 14 2012 Automatic Build System 1.8.2-1mamba +- automatic version update by autodist + +* Wed Aug 08 2012 Automatic Build System 1.7.2-1mamba +- automatic version update by autodist + +* Wed Nov 30 2011 Automatic Build System 1.7-1mamba +- automatic version update by autodist + +* Sun Mar 20 2011 Automatic Build System 1.5.2-1mamba +- automatic update by autodist + +* Tue Oct 12 2010 Stefano Cotta Ramusino 1.5.1-1mamba +- package created by autospec