%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-EnvisagePlugins Version: 3.0.1 Release: 1%{?dist} Summary: Plug-ins for the Envisage framework Group: Development/Libraries License: BSD or CC-BY-SA or Python or LGPLv2+ URL: http://pypi.python.org/pypi/EnvisagePlugins Source0: http://pypi.python.org/packages/source/E/EnvisagePlugins/EnvisagePlugins-3.0.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-setuptools, python-devel, python-setupdocs Requires: python-EnvisageCore %description The EnvisagePlugins project includes a number of plug-ins for the Envisage framework that Enthought has found useful for building scientific applications. %prep %setup -q -n EnvisagePlugins-%{version} rm -rf EnvisagePlugins.egg-info sed -i 's/\r//' image_LICENSE.txt %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc *.txt examples %{python_sitelib}/* %changelog * Tue Jan 27 2009 Rakesh Pandit 3.0.1-1 - Initial package