2 # - fix %%files (doc to %%doc, no .py, remove unused files)
6 Summary: SPE - Stani's Python Editor
7 Summary(pl): SPE - pythonowy edytor Staniego
11 License: LGPL 2.1+ (except sm library <free to use> and sm_idle <PSF>)
12 Group: Applications/Text
13 Source0: http://download.berlios.de/python/%{name}-%{version}-wx%{_wx}.-bl%{_bl}.tar.gz
14 # Source0-md5: b98d68d33cad1f28c0b4e8091f271f8f
15 Source1: %{name}.desktop
17 URL: http://spe.pycs.net/
19 BuildRequires: python-devel
20 BuildRequires: python-modules
22 %pyrequires_eq python-modules
23 Requires: python-wxPython >= %{_wx}
24 # below is needed - SPE doesn't start without "hacked" release of wxPython (reporting version issue)
25 Requires: python-wxPython >= 2.6.1.0-3
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Spe is a python IDE with auto-indentation, auto completion, call tips,
31 syntax coloring, syntax highlighting, class explorer, source index,
32 auto todo list, sticky notes, integrated pycrust shell, python file
33 browser, recent file browser, drag&drop, context help, ... Special is
34 its blender support with a blender 3d object browser and its ability
35 to run interactively inside blender. Spe is extensible with boa.
38 Spe (Stani's Python Editor) to pythonowe IDE z automatycznym
39 wykonywaniem wciêæ, automatycznym dope³nianiem, podpowiedziami
40 wywo³añ, kolorowaniem sk³adni, pod¶wietlaniem sk³adni, eksploratorem
41 klas, indeksem ¼róde³, automatyczn± list± TODO, przyklejanymi
42 notatkami, zintegrowan± pow³ok± pycrust, przegl±dark± plików
43 pythonowych, przegl±dark± ostatnio u¿ywanych plików, obs³ug± w stylu
44 przeci±gnij-i-upu¶æ, pomoc± kontekstow±... Specjaln± rzecz± jest
45 wsparcie dla blendera z przegl±dark± obiektów blendera 3D i
46 mo¿liwo¶ci± automatycznego uruchamiania z poziomu blendera. Spe jest
47 rozszerzalne przy pomocy boa.
50 %setup -q -n %{name}-%{version}-wx%{_wx}.-bl%{_bl}
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
59 python setup.py install \
61 --root=$RPM_BUILD_ROOT
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
64 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
66 # SPE doesn't work without *.py files so don't remove them
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/*