]>
Commit | Line | Data |
---|---|---|
435486c7 AF |
1 | # TODO: |
2 | # - fix %%files (doc to %%doc, no .py, remove unused files) | |
9b98f910 | 3 | %define _wx 2.6.1.0 |
88054885 | 4 | # |
435486c7 | 5 | Summary: SPE - Stani's Python Editor |
513dba3f | 6 | Summary(pl.UTF-8): SPE - pythonowy edytor Staniego |
435486c7 | 7 | Name: SPE |
63fd0ccc | 8 | Version: 0.8.2.a |
528c53c6 | 9 | Release: 5 |
435486c7 AF |
10 | License: LGPL 2.1+ (except sm library <free to use> and sm_idle <PSF>) |
11 | Group: Applications/Text | |
88054885 | 12 | Source0: http://download.berlios.de/python/%{name}-%{version}-wx%{_wx}.tar.gz |
63fd0ccc | 13 | # Source0-md5: d5d5a55414aa2410ac430f7e79b271e5 |
9b98f910 | 14 | Source1: %{name}.desktop |
15 | Source2: %{name}.png | |
435486c7 | 16 | URL: http://spe.pycs.net/ |
66bba95c | 17 | BuildRequires: rpmbuild(macros) >= 1.710 |
b8d06537 | 18 | BuildRequires: python |
74b7111b | 19 | BuildRequires: python-devel |
b8d06537 | 20 | BuildRequires: python-modules |
8a2820d5 | 21 | BuildRequires: rpm-pythonprov |
e0e2d163 | 22 | Requires: pydoc |
435486c7 AF |
23 | %pyrequires_eq python-modules |
24 | Requires: python-wxPython >= %{_wx} | |
e0e2d163 | 25 | # below is needed - SPE doesn't start without "hacked" release of wxPython (reporting version issue) |
26 | Requires: python-wxPython >= 2.6.1.0-3 | |
435486c7 AF |
27 | BuildArch: noarch |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
cca88e5f JB |
31 | Spe is a python IDE with auto-indentation, auto completion, call tips, |
32 | syntax coloring, syntax highlighting, class explorer, source index, | |
33 | auto todo list, sticky notes, integrated pycrust shell, python file | |
34 | browser, recent file browser, drag&drop, context help, ... Special is | |
35 | its blender support with a blender 3d object browser and its ability | |
36 | to run interactively inside blender. Spe is extensible with boa. | |
37 | ||
3299f629 | 38 | %description -l pl.UTF-8 |
cca88e5f | 39 | Spe (Stani's Python Editor) to pythonowe IDE z automatycznym |
3299f629 JR |
40 | wykonywaniem wcięć, automatycznym dopełnianiem, podpowiedziami |
41 | wywołań, kolorowaniem składni, podświetlaniem składni, eksploratorem | |
42 | klas, indeksem źródeł, automatyczną listą TODO, przyklejanymi | |
43 | notatkami, zintegrowaną powłoką pycrust, przeglądarką plików | |
44 | pythonowych, przeglądarką ostatnio używanych plików, obsługą w stylu | |
45 | przeciągnij-i-upuść, pomocą kontekstową... Specjalną rzeczą jest | |
46 | wsparcie dla blendera z przeglądarką obiektów blendera 3D i | |
47 | możliwością automatycznego uruchamiania z poziomu blendera. Spe jest | |
cca88e5f | 48 | rozszerzalne przy pomocy boa. |
435486c7 AF |
49 | |
50 | %prep | |
88054885 | 51 | %setup -q -n %{name}-%{version}-wx%{_wx} |
435486c7 AF |
52 | |
53 | %build | |
7d43468b | 54 | %py_build |
435486c7 AF |
55 | |
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
9b98f910 | 58 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
435486c7 | 59 | |
7d43468b | 60 | %py_install |
435486c7 | 61 | |
9b98f910 | 62 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
63 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
64 | ||
65 | # SPE doesn't work without *.py files so don't remove them | |
66 | #%%py_postclean | |
1601d52e | 67 | |
435486c7 AF |
68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc README.txt | |
74 | %attr(755,root,root) %{_bindir}/* | |
1601d52e | 75 | %{py_sitescriptdir}/* |
a984033d | 76 | %{_desktopdir}/*.desktop |
9b98f910 | 77 | %{_pixmapsdir}/* |