2 # - check docs folder for valuable files
4 Summary: bpython - a fancy interface to the Python interpreter
5 Summary(pl.UTF-8): bpython - fantazyjny interfejs do interpretera Pythona
10 Group: Applications/Shells
11 Source0: http://bpython-interpreter.org/releases/%{name}-%{version}.tar.gz
12 # Source0-md5: f32ce6aa8ae6af8d2cf65e13f58859d4
13 URL: http://bpython-interpreter.org/
15 BuildRequires: python-devel
16 BuildRequires: python-devel-tools
17 BuildRequires: rpm-pythonprov
18 BuildRequires: rpmbuild(macros) >= 1.710
19 Requires: python-bpython = %{version}-%{release}
20 Requires: python-distribute >= 0.6.10
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 bpython is a fancy interface to the Python interpreter for Unix-like
28 %description -l pl.UTF-8
29 bpython to fantazyjny interfejs do interpretera Pythona przeznaczony
30 dla uniksowych systemów operacyjnych.
33 Summary: GTK+ bpython interface
34 Summary(pl.UTF-8): Interfejs GTK+ bpythona
35 Group: X11/Applications
36 Requires: %{name} = %{version}-%{release}
37 Requires: python-pygtk-gtk >= 2:2.0
40 GTK+ bpython interface.
42 %description gtk -l pl.UTF-8
43 Interfejs GTK+ bpythona.
45 %package -n python-bpython
46 Summary: bpython shell modules
47 Summary(pl.UTF-8): Moduły powłoki bpython
48 Group: Libraries/Python
49 Requires: python-pygments
51 %pyrequires_eq python-devel-tools
53 %description -n python-bpython
54 bpython is a fancy interface to the Python interpreter for Unix-like
57 %description -n python-bpython -l pl.UTF-8
58 bpython to fantazyjny interfejs do interpretera Pythona przeznaczony
59 dla uniksowych systemów operacyjnych.
61 %package -n python-bpdb
62 Summary: bpdb module - PDB extension
63 Summary(pl.UTF-8): Moduł bpdb - rozszerzenie PDB
64 Group: Libraries/Python
65 Requires: python-bpython = %{version}-%{release}
67 %pyrequires_eq python-devel-tools
69 %description -n python-bpdb
70 BPDB is an extension to PDB which allows you to press B in a PDB
71 session which will let you be dropped into a bpython sessions with the
74 %description -n python-bpdb -l pl.UTF-8
75 BPDB to rozszerzenie PDB pozwalające nacisnąć B w sesji PDB, aby
76 przejść do sesji bpythona z bieżącą zawartością locals() z PDB.
82 rm -rf $RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/bpython
94 %{_desktopdir}/bpython.desktop
95 %{_mandir}/man1/bpython.1*
96 %{_mandir}/man5/bpython-config.5*
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/bpython-gtk
102 %files -n python-bpython
103 %defattr(644,root,root,755)
104 %doc AUTHORS CHANGELOG LICENSE README ROADMAP TODO
105 %{py_sitescriptdir}/bpython
106 %{py_sitescriptdir}/bpython-%{version}-py*.egg-info
108 %files -n python-bpdb
109 %defattr(644,root,root,755)
110 %{py_sitescriptdir}/bpdb