-%include /usr/lib/rpm/macros.python
Summary: DrPython - cross-platform IDE to aid programming in Python
-Summary(pl): DrPython - wieloplatformowe IDE pomagaj±ce w programowaniu w Pythonie
+Summary(pl): DrPython - wieloplatformowe IDE wspomagaj±ce programowanie w Pythonie
Name: drpython
-Version: 3.2.2
-Release: 0.1
+Version: 3.10.7
+Release: 1
License: GPL
Group: Libraries/Python
-Source0: http://dl.sourceforge.net/drpython/%{name}-%{version}.zip
-# Source0-md5: d3fec5c2989f2067d7e0b5bdb604c072
+Source0: http://osdn.dl.sourceforge.net/drpython/%{name}-%{version}.zip
+# Source0-md5: 015084c93502584c9346ee7e964d3f3e
URL: http://drpython.sourceforge.net/
-BuildRequires: python-modules >= 2.3
+BuildRequires: python-modules >= 1:2.3
+BuildRequires: unzip
%pyrequires_eq python-modules
Requires: python-wxPython >= 2.5.1.5
BuildArch: noarch
%setup -q
%build
-chmod 0644 *.py
+chmod 644 *.py
%install
rm -rf $RPM_BUILD_ROOT
echo '#!/bin/sh' > $RPM_BUILD_ROOT%{_bindir}/drpython
echo 'cd %{_datadir}/drpython' >> $RPM_BUILD_ROOT%{_bindir}/drpython
echo 'exec python drpython.pyo' >> $RPM_BUILD_ROOT%{_bindir}/drpython
-chmod 0755 $RPM_BUILD_ROOT%{_bindir}/drpython
+chmod 755 $RPM_BUILD_ROOT%{_bindir}/drpython
%py_comp $RPM_BUILD_ROOT%{_datadir}/drpython
%py_ocomp $RPM_BUILD_ROOT%{_datadir}/drpython
%files
%defattr(644,root,root,755)
-%doc documentation/*
+%doc ChangeLog.txt documentation/*
%attr(755,root,root) %{_bindir}/drpython
%{_datadir}/drpython