%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: ipython
Version: 0.8.3
Release: 1%{?dist}
Summary: An enhanced interactive Python shell
Group: Development/Libraries
License: BSD
URL: http://ipython.scipy.org/
Source0: http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
IPython provides a replacement for the interactive Python interpreter with
extra functionality.
Main features:
* Comprehensive object introspection.
* Input history, persistent across sessions.
* Caching of output results during a session with automatically generated
references.
* Readline based name completion.
* Extensible system of 'magic' commands for controlling the environment and
performing many tasks related either to IPython or the operating system.
* Configuration system with easy switching between different setups (simpler
than changing $PYTHONSTARTUP environment variables every time).
* Session logging and reloading.
* Extensible syntax processing for special purpose situations.
* Access to the system shell with user-extensible alias system.
* Easily embeddable in other Python programs.
* Integrated access to the pdb debugger and the Python profiler.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" %{__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,-)
# ipython installs its own documentation, but we need to own the directory
%{_datadir}/doc/%{name}
%{_mandir}/man*/*
%{_bindir}/ipython
%{_bindir}/irunner
%{_bindir}/pycolor
%{python_sitelib}/*
%changelog
* Fri May 30 2008 James Bowes <jbowes@redhat.com> 0.8.3-1
- Update to 0.8.3
* Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.8.2-1
- Update to 0.8.2
* Sun Aug 05 2007 James Bowes <jbowes@redhat.com> - 0.8.1-2
- Remove explicit requires on python-abi.
* Sun Aug 05 2007 James Bowes <jbowes@redhat.com> - 0.8.1-1
- Update to 0.8.1
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.7.2-4
- Rebuild for new Python
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 0.7.2-3
- Rebuild for FC6
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 0.7.2-2
- Include, don't ghost .pyo files per new guidelines
* Mon Jun 12 2006 Shahms E. King <shahms@shahms.com> 0.7.2-1
- Update to new upstream version
* Mon Feb 13 2006 Shahms E. King <shahms@shahms.com> 0.7.1.fix1-2
- Rebuild for FC-5
* Mon Jan 30 2006 Shahms E. King <shahms@shahms.com> 0.7.1.fix1-1
- New upstream 0.7.1.fix1 which fixes KeyboardInterrupt handling
* Tue Jan 24 2006 Shahms E. King <shahms@shahms.com> 0.7.1-1
- Update to new upstream 0.7.1
* Thu Jan 12 2006 Shahms E. King <shahms@shahms.com> 0.7-1
- Update to new upstream 0.7.0
* Mon Jun 13 2005 Shahms E. King <shahms@shahms.com> 0.6.15-1
- Add dist tag
- Update to new upstream (0.6.15)
* Wed Apr 20 2005 Shahms E. King <shahms@shahms.com> 0.6.13-2
- Fix devel release number
* Mon Apr 18 2005 Shahms E. King <shahms@shahms.com> 0.6.13-1
- Update to new upstream version
* Fri Apr 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.6.12-2
- Include IPython Extensions and UserConfig directories.
* Fri Mar 25 2005 Shahms E. King <shahms@shahms.com> 0.6.12-1
- Update to 0.6.12
- Removed unused python_sitearch define
* Tue Mar 01 2005 Shahms E. King <shahms@shahms.com> 0.6.11-2
- Fix up %%doc file specifications
- Use offical .tar.gz, not upstream .src.rpm .tar.gz
* Tue Mar 01 2005 Shahms E. King <shahms@shahms.com> 0.6.11-1
- Initial release to meet Fedora packaging guidelines