2 # Python3 version in 'ipython3.spec'
5 # - check docs folder for valuable files
8 Summary: An enhanced Interactive Python shell
9 Summary(pl.UTF-8): Interaktywna powłoka języka Python
14 Group: Applications/Shells
15 Source0: http://archive.ipython.org/release/%{version}/%{name}-%{version}.tar.gz
16 # Source0-md5: 70d69c78122923879232567ac3c47cef
17 URL: http://ipython.org
19 BuildRequires: python-devel >= 2.6
20 BuildRequires: python-devel-tools
21 BuildRequires: python-modules-sqlite
22 BuildRequires: rpm-pythonprov
23 BuildRequires: rpmbuild(macros) >= 1.219
24 Requires: python-%{name} = %{version}-%{release}
25 Suggests: python-PyQt4
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 IPython is a free software project which tries to:
33 1. Provide an interactive interpreter superior to Python's default.
34 IPython has many features for object introspection, shell access, and
35 its own special command system for adding functionality when working
38 2. Serve as an embeddable, ready to use interpreter for your own
39 programs. IPython can be started with a single call from inside
40 another program, providing access to the current namespace. This can
41 be very useful both for debugging purposes and for situations where a
42 blend of batch-processing and interactive exploration are needed.
44 3. Offer a flexible framework which can be used as the base
45 environment for other systems with Python as the underlying language.
46 Specifically scientific environments like Mathematica, IDL and Mathcad
47 inspired its design, but similar ideas can be useful in many fields.
49 This package contains IPython shell.
51 %description -l pl.UTF-8
52 IPython jest wolnym oprogramowaniem, którego celem jest:
54 1. Dostarczenie interaktywnej powłoki lepszej od standardowej
55 dostarczanej z językiem Python. IPython umożliwia badanie obiektów,
56 dostęp do powłoki oraz własny system poleceń, który umożliwia
57 rozszerzanie funkcjonalności podczas pracy interaktywnej.
59 2. Dostarczenie gotowego interpretera, który można dołączać do własnej
60 aplikacji. IPython może zostać uruchomiony za pomocą wywołania jednej
61 funkcji z poziomu innego programu umożliwiając jednocześnie dostęp do
62 aktualnej przestrzeni nazw tego programu. Może to być bardzo użyteczne
63 do celów takich jak śledzenie programu czy też sytuacji gdzie jest
64 wymagane połączenie przetwarzania wsadowego z interaktywną
67 3. Dostarczenie szkieletu, który może zostać użyty jako podstawa
68 systemu, którego polecenia opierają się na zasadach języka Python.
69 Projekt został zainspirowany przez oprogramowanie naukowe takie jak
70 Mathematica, IDL oraz Mathcad, gdzie podobne idee mogą być realizowane
73 Pakiet ten zawiera powłokę IPython.
75 %package -n python-ipython
76 Summary: An enhanced Interactive Python shell modules
77 Summary(pl.UTF-8): Moduły interaktywnej powłoki języka Python
78 Group: Libraries/Python
79 %pyrequires_eq python-devel-tools
82 %description -n python-ipython
83 IPython is a free software project which tries to:
85 1. Provide an interactive interpreter superior to Python's default.
86 IPython has many features for object introspection, shell access, and
87 its own special command system for adding functionality when working
90 2. Serve as an embeddable, ready to use interpreter for your own
91 programs. IPython can be started with a single call from inside
92 another program, providing access to the current namespace. This can
93 be very useful both for debugging purposes and for situations where a
94 blend of batch-processing and interactive exploration are needed.
96 3. Offer a flexible framework which can be used as the base
97 environment for other systems with Python as the underlying language.
98 Specifically scientific environments like Mathematica, IDL and Mathcad
99 inspired its design, but similar ideas can be useful in many fields.
101 This package contains IPython modules.
103 %description -n python-ipython -l pl.UTF-8
104 IPython jest wolnym oprogramowaniem, którego celem jest:
106 1. Dostarczenie interaktywnej powłoki lepszej od standardowej
107 dostarczanej z językiem Python. IPython umożliwia badanie obiektów,
108 dostęp do powłoki oraz własny system poleceń, który umożliwia
109 rozszerzanie funkcjonalności podczas pracy interaktywnej.
111 2. Dostarczenie gotowego interpretera, który można dołączać do własnej
112 aplikacji. IPython może zostać uruchomiony za pomocą wywołania jednej
113 funkcji z poziomu innego programu umożliwiając jednocześnie dostęp do
114 aktualnej przestrzeni nazw tego programu. Może to być bardzo użyteczne
115 do celów takich jak śledzenie programu czy też sytuacji gdzie jest
116 wymagane połączenie przetwarzania wsadowego z interaktywną
119 3. Dostarczenie szkieletu, który może zostać użyty jako podstawa
120 systemu, którego polecenia opierają się na zasadach języka Python.
121 Projekt został zainspirowany przez oprogramowanie naukowe takie jak
122 Mathematica, IDL oraz Mathcad, gdzie podobne idee mogą być realizowane
125 Pakiet ten zawiera moduły interaktywnej powłoki języka Python.
131 rm -rf $RPM_BUILD_ROOT
132 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
134 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
136 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
139 rm -rf $RPM_BUILD_ROOT%{_docdir}
142 rm -rf $RPM_BUILD_ROOT
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_bindir}/*
149 %files -n python-ipython
150 %defattr(644,root,root,755)
152 %{py_sitescriptdir}/%{pname}
153 %{py_sitescriptdir}/*.egg-info