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: 911583dc48ff0e3b3a47881dda094aa9
10 # Source0-size: 468343
11 URL: http://drpython.sourceforge.net/
12 BuildRequires: python-modules >= 2.3
14 %pyrequires_eq python-modules
15 Requires: python-wxPython >= 2.5.1.5
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 DrPython is a clean and simple yet powerful and highly customizable
21 editor/environment for developing programs written in the Python
22 programming Language. It is written in Python, and uses the wxWidgets
23 GUI Library through the use of wxPython.
26 DrPython to przejrzysty i prosty, ale potê¿ny i wysoko konfigurowalny
27 edytor/¶rodowisko do tworzenia programów napisanych w jêzyku Python.
28 Jest napisany w Pythonie i u¿ywa biblioteki graficznej wxWidgets
29 poprzez interfejs wxPython.
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/drpython}
41 install *.py $RPM_BUILD_ROOT%{_datadir}/drpython
42 cp -a examples bitmaps $RPM_BUILD_ROOT%{_datadir}/drpython
44 echo '#!/bin/sh' > $RPM_BUILD_ROOT%{_bindir}/drpython
45 echo 'cd %{_datadir}/drpython' >> $RPM_BUILD_ROOT%{_bindir}/drpython
46 echo 'exec python drpython.pyo' >> $RPM_BUILD_ROOT%{_bindir}/drpython
47 chmod 0755 $RPM_BUILD_ROOT%{_bindir}/drpython
49 %py_comp $RPM_BUILD_ROOT%{_datadir}/drpython
50 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/drpython
52 find $RPM_BUILD_ROOT%{_datadir} -name \*.py | xargs rm -f
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc ChangeLog.txt documentation/*
60 %attr(755,root,root) %{_bindir}/drpython