]>
Commit | Line | Data |
---|---|---|
0d472fb2 PZ |
1 | # TODO: |
2 | # - check docs folder for valuable files | |
3 | # | |
0d472fb2 | 4 | Summary: bpython - a fancy interface to the Python interpreter |
4398c4ad | 5 | Summary(pl.UTF-8): bpython - fantazyjny interfejs do interpretera Pythona |
0d472fb2 | 6 | Name: bpython |
e3558d71 | 7 | Version: 0.9.7.1 |
7de8c59b | 8 | Release: 4 |
0d472fb2 PZ |
9 | License: MIT |
10 | Group: Applications/Shells | |
11 | Source0: http://bpython-interpreter.org/releases/%{name}-%{version}.tar.gz | |
e3558d71 | 12 | # Source0-md5: f32ce6aa8ae6af8d2cf65e13f58859d4 |
0d472fb2 PZ |
13 | URL: http://bpython-interpreter.org/ |
14 | BuildRequires: pydoc | |
15 | BuildRequires: python-devel | |
16 | BuildRequires: python-devel-tools | |
17 | BuildRequires: rpm-pythonprov | |
e9063252 | 18 | BuildRequires: rpmbuild(macros) >= 1.710 |
4398c4ad | 19 | Requires: python-bpython = %{version}-%{release} |
e3558d71 | 20 | Requires: python-distribute >= 0.6.10 |
0d472fb2 PZ |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | bpython is a fancy interface to the Python interpreter for Unix-like | |
26 | operating systems. | |
27 | ||
4398c4ad JB |
28 | %description -l pl.UTF-8 |
29 | bpython to fantazyjny interfejs do interpretera Pythona przeznaczony | |
30 | dla uniksowych systemów operacyjnych. | |
31 | ||
32 | %package gtk | |
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 | |
38 | ||
39 | %description gtk | |
40 | GTK+ bpython interface. | |
41 | ||
42 | %description gtk -l pl.UTF-8 | |
43 | Interfejs GTK+ bpythona. | |
44 | ||
0d472fb2 PZ |
45 | %package -n python-bpython |
46 | Summary: bpython shell modules | |
4398c4ad | 47 | Summary(pl.UTF-8): Moduły powłoki bpython |
0d472fb2 | 48 | Group: Libraries/Python |
b88e5640 | 49 | Requires: python-pygments |
0d472fb2 | 50 | %pyrequires_eq pydoc |
4398c4ad | 51 | %pyrequires_eq python-devel-tools |
0d472fb2 PZ |
52 | |
53 | %description -n python-bpython | |
54 | bpython is a fancy interface to the Python interpreter for Unix-like | |
55 | operating systems. | |
56 | ||
4398c4ad JB |
57 | %description -n python-bpython -l pl.UTF-8 |
58 | bpython to fantazyjny interfejs do interpretera Pythona przeznaczony | |
59 | dla uniksowych systemów operacyjnych. | |
60 | ||
e3558d71 | 61 | %package -n python-bpdb |
4398c4ad JB |
62 | Summary: bpdb module - PDB extension |
63 | Summary(pl.UTF-8): Moduł bpdb - rozszerzenie PDB | |
e3558d71 | 64 | Group: Libraries/Python |
4398c4ad | 65 | Requires: python-bpython = %{version}-%{release} |
e3558d71 | 66 | %pyrequires_eq pydoc |
4398c4ad | 67 | %pyrequires_eq python-devel-tools |
e3558d71 | 68 | |
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 | |
4398c4ad JB |
72 | current PDB locals(). |
73 | ||
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. | |
e3558d71 | 77 | |
0d472fb2 PZ |
78 | %prep |
79 | %setup -q | |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
6e9902e1 | 84 | %py_install |
0d472fb2 PZ |
85 | |
86 | %py_postclean | |
0d472fb2 PZ |
87 | |
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %files | |
92 | %defattr(644,root,root,755) | |
4398c4ad | 93 | %attr(755,root,root) %{_bindir}/bpython |
0d472fb2 | 94 | %{_desktopdir}/bpython.desktop |
4398c4ad JB |
95 | %{_mandir}/man1/bpython.1* |
96 | %{_mandir}/man5/bpython-config.5* | |
97 | ||
98 | %files gtk | |
99 | %defattr(644,root,root,755) | |
100 | %attr(755,root,root) %{_bindir}/bpython-gtk | |
0d472fb2 PZ |
101 | |
102 | %files -n python-bpython | |
103 | %defattr(644,root,root,755) | |
4398c4ad JB |
104 | %doc AUTHORS CHANGELOG LICENSE README ROADMAP TODO |
105 | %{py_sitescriptdir}/bpython | |
106 | %{py_sitescriptdir}/bpython-%{version}-py*.egg-info | |
e3558d71 | 107 | |
108 | %files -n python-bpdb | |
109 | %defattr(644,root,root,755) | |
e3558d71 | 110 | %{py_sitescriptdir}/bpdb |