1 Summary: DrPython - cross-platform IDE to aid programming in Python
2 Summary(pl): DrPython - wieloplatformowe IDE pomagaj±ce w programowaniu w Pythonie
7 Group: Libraries/Python
8 Source0: http://dl.sourceforge.net/drpython/%{name}-%{version}.zip
9 # Source0-md5: 29de146d21dd1629eb796924485914c8
10 URL: http://drpython.sourceforge.net/
11 BuildRequires: python-modules >= 2.3
12 %pyrequires_eq python-modules
13 Requires: python-wxPython >= 2.5.1.5
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 DrPython is a clean and simple yet powerful and highly customizable
19 editor/environment for developing programs written in the Python
20 programming Language. It is written in Python, and uses the wxWidgets
21 GUI Library through the use of wxPython.
24 DrPython to przejrzysty i prosty, ale potê¿ny i wysoko konfigurowalny
25 edytor/¶rodowisko do tworzenia programów napisanych w jêzyku Python.
26 Jest napisany w Pythonie i u¿ywa biblioteki graficznej wxWidgets
27 poprzez interfejs wxPython.
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/drpython}
39 install *.py $RPM_BUILD_ROOT%{_datadir}/drpython
40 cp -a examples bitmaps $RPM_BUILD_ROOT%{_datadir}/drpython
42 echo '#!/bin/sh' > $RPM_BUILD_ROOT%{_bindir}/drpython
43 echo 'cd %{_datadir}/drpython' >> $RPM_BUILD_ROOT%{_bindir}/drpython
44 echo 'exec python drpython.pyo' >> $RPM_BUILD_ROOT%{_bindir}/drpython
45 chmod 0755 $RPM_BUILD_ROOT%{_bindir}/drpython
47 %py_comp $RPM_BUILD_ROOT%{_datadir}/drpython
48 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/drpython
50 find $RPM_BUILD_ROOT%{_datadir} -name \*.py | xargs rm -f
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/drpython