]> git.pld-linux.org Git - packages/SPE.git/blame - SPE.spec
- release 3
[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
cd3fe083 9Release: 3
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
e0e2d163 20Requires: pydoc
435486c7
AF
21%pyrequires_eq python-modules
22Requires: python-wxPython >= %{_wx}
e0e2d163 23# below is needed - SPE doesn't start without "hacked" release of wxPython (reporting version issue)
24Requires: python-wxPython >= 2.6.1.0-3
435486c7
AF
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
cca88e5f
JB
29Spe is a python IDE with auto-indentation, auto completion, call tips,
30syntax coloring, syntax highlighting, class explorer, source index,
31auto todo list, sticky notes, integrated pycrust shell, python file
32browser, recent file browser, drag&drop, context help, ... Special is
33its blender support with a blender 3d object browser and its ability
34to run interactively inside blender. Spe is extensible with boa.
35
3299f629 36%description -l pl.UTF-8
cca88e5f 37Spe (Stani's Python Editor) to pythonowe IDE z automatycznym
3299f629
JR
38wykonywaniem wcięć, automatycznym dopełnianiem, podpowiedziami
39wywołań, kolorowaniem składni, podświetlaniem składni, eksploratorem
40klas, indeksem źródeł, automatyczną listą TODO, przyklejanymi
41notatkami, zintegrowaną powłoką pycrust, przeglądarką plików
42pythonowych, przeglądarką ostatnio używanych plików, obsługą w stylu
43przeciągnij-i-upuść, pomocą kontekstową... Specjalną rzeczą jest
44wsparcie dla blendera z przeglądarką obiektów blendera 3D i
45możliwością automatycznego uruchamiania z poziomu blendera. Spe jest
cca88e5f 46rozszerzalne przy pomocy boa.
435486c7
AF
47
48%prep
88054885 49%setup -q -n %{name}-%{version}-wx%{_wx}
435486c7
AF
50
51%build
52python setup.py build
53
54%install
55rm -rf $RPM_BUILD_ROOT
9b98f910 56install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
435486c7
AF
57
58python setup.py install \
59 --optimize=2 \
60 --root=$RPM_BUILD_ROOT
61
9b98f910 62install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63install %{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
69rm -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}/*
This page took 0.521228 seconds and 4 git commands to generate.