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