]>
Commit | Line | Data |
---|---|---|
435486c7 AF |
1 | # TODO: |
2 | # - fix %%files (doc to %%doc, no .py, remove unused files) | |
3 | %include /usr/lib/rpm/macros.python | |
4 | ||
5 | Summary: SPE - Stani's Python Editor | |
6 | Name: SPE | |
ca6eca7c | 7 | Version: 0.4.0.b |
435486c7 AF |
8 | %define _wx 2.4.1.2 |
9 | %define _bl 2.28 | |
10 | Release: 0.1 | |
11 | License: LGPL 2.1+ (except sm library <free to use> and sm_idle <PSF>) | |
12 | Group: Applications/Text | |
13 | Source0: http://spe.pycs.net/releases/%{name}-%{version}-wx%{_wx}.-bl%{_bl}.zip | |
ca6eca7c | 14 | # Source0-md5: 2184fe9f33ab75dbfc087c81b99ad3fd |
435486c7 AF |
15 | URL: http://spe.pycs.net/ |
16 | BuildRequires: rpm-pythonprov | |
17 | %pyrequires_eq python-modules | |
18 | Requires: python-wxPython >= %{_wx} | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Spe is a python IDE with auto-indentation, auto completion, call tips, syntax | |
24 | coloring, syntax highlighting, class explorer, source index, auto todo list, | |
25 | sticky notes, integrated pycrust shell, python file browser, recent file | |
26 | browser, drag&drop, context help, ... Special is its blender support with a | |
27 | blender 3d object browser and its ability to run interactively inside blender. | |
28 | Spe is extensible with boa. | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{name}-%{version}-wx%{_wx}.-bl%{_bl} | |
32 | ||
33 | %build | |
34 | python setup.py build | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | python setup.py install \ | |
40 | --optimize=2 \ | |
41 | --root=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc README.txt | |
49 | %attr(755,root,root) %{_bindir}/* | |
50 | %{py_sitedir}/* |