File IPython.spec of Package IPython

#
# spec file for package IPython (Version 0.8.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           IPython
BuildRequires:  python-devel
Version:        0.8.4
Release:        1
%define tarname ipython
Source0:        %{tarname}-%{version}.tar.bz2
License:        LGPL v2.1 or later
Group:          Development/Languages/Python
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://ipython.scipy.org/
Summary:        An Enhanced Interactive Python Shell
%{py_requires}
Suggests:       python-wxGTK

%description
IPython provides a replacement for the interactive python (Python)
interpreter with extra functionality.

Main features:

* Comprehensive object introspection.

* Input history that is 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.



Authors:
--------
    Fernando Perez <fperez@colorado.edu>

%prep
%setup -q -n %{tarname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS" 
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
grep -v 'share/doc/ipython' INSTALLED_FILES > INSTALLED_FILES-nodoc
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}
mv -f $RPM_BUILD_ROOT/usr/share/doc/ipython/* $RPM_BUILD_ROOT%{_docdir}/%{name}
rmdir $RPM_BUILD_ROOT/usr/share/doc/ipython

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES-nodoc
%defattr(-,root,root)
%dir /usr/%{_lib}/python%{py_ver}/site-packages/IPython/UserConfig
%doc %{_docdir}/IPython

%changelog
* Wed Sep 10 2008 matejcik@suse.cz
- update to 0.8.4
  * support for Leo
  * improved multithreading
  * better %%edit
  * new extensions
  * better wx GUI
* Fri Mar 14 2008 matejcik@suse.cz
- update to 0.8.2
  * "shadow history" remembers every command forever
  * macros with arguments
  * various new extensions
  * various new features and bugfixes
* Wed Jul 25 2007 jmatejek@suse.cz
- update to 0.8.1
  * fully syntax highlighted tracebacks
  * support for Ctrl+C while multithreading
  * improved unicode support
  * various new features and bugfixes
* Thu Oct 19 2006 jmatejek@suse.cz
- update to 0.7.2
- many new features: extension API, better persistence,
  script runner, IPipe tabular data navigator, simplified
  output capturing etc.
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 10 2005 matejcik@suse.cz
- update to 0.6.15
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Wed Feb 16 2005 mcihar@suse.cz
- update to 0.6.11
* Tue Dec 21 2004 mcihar@suse.cz
- update to 0.6.6
* Wed Sep 01 2004 mcihar@suse.cz
- update to 0.6.3
* Tue Aug 03 2004 mcihar@suse.cz
- update to 0.6.2
- use py_requires macro
* Mon Oct 13 2003 mcihar@suse.cz
- versioned python dependency
- fixed build on lib64 arches
* Mon Oct 13 2003 mcihar@suse.cz
- created new package
openSUSE Build Service is sponsored by