%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-AppTools Version: 3.1.0 Release: 4%{?dist} Summary: Enthough Tool Suite Application Tools Group: Development/Libraries License: BSD and LGPLv2+ URL: http://pypi.python.org/pypi/AppTools/ #md5=e67d9b40a9f88f62246a8248faede6c5 Source0: http://pypi.python.org/packages/source/A/AppTools/AppTools-%{version}.tar.gz Source1: README.fedora.%{name} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-setuptools, python-devel, python-setupdocs, python-sphinx, unzip Requires: python-TraitsGUI, python-EnthoughtBase %description The AppTools project includes a set of packages that Enthought has found useful in creating a number of applications. They implement functionality that is commonly needed by many applications * enthought.appscripting: Framework for scripting applications. * enthought.help: Provides a plugin for displaying documents and examples and running demos in Envisage Workbench applications. * enthought.io: Provides an abstraction for files and folders in a file system. * enthought.naming: Manages naming contexts, supporting non-string data types and scoped preferences * enthought.permissions: Supports limiting access to parts of an application unless the user is appropriately authorised (not full-blown security). and many more. %prep %setup -q -n AppTools-%{version} rm -rf AppTools.egg-info %build %{__python} setup.py build unzip docs/html.zip %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT cp %{SOURCE1} README.fedora %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc *.txt examples html README.fedora %{python_sitelib}/* %changelog * Thu Jun 04 2009 Rakesh Pandit 3.1.0-4 - Added README.fedora * Fri Apr 24 2009 Rakesh Pandit 3.1.0-3 - Removed AppTools.egg-info directory * Fri Mar 06 2009 Rakesh Pandit 3.1.0-2 - Included examples in %%doc, added python-TraitsGUI & python-EnthoughtBase - as Requires. Added html folder. * Tue Jan 27 2009 Rakesh Pandit 3.1.0-1 - Initial package