2 # - fix %%files (doc to %%doc, no .py, remove unused files)
5 Summary: SPE - Stani's Python Editor
6 Summary(pl.UTF-8): SPE - pythonowy edytor Staniego
10 License: LGPL 2.1+ (except sm library <free to use> and sm_idle <PSF>)
11 Group: Applications/Text
12 Source0: http://download.berlios.de/python/%{name}-%{version}-wx%{_wx}.tar.gz
13 # Source0-md5: d5d5a55414aa2410ac430f7e79b271e5
14 Source1: %{name}.desktop
16 URL: http://spe.pycs.net/
18 BuildRequires: python-devel
19 BuildRequires: python-modules
20 BuildRequires: rpm-pythonprov
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.
37 %description -l pl.UTF-8
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}
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}/*
77 %{_desktopdir}/*.desktop