# TODO:
# - fix %%files (doc to %%doc, no .py, remove unused files)
+%define _wx 2.5.4.1
+%define _bl 2.35
+
Summary: SPE - Stani's Python Editor
Summary(pl): SPE - pythonowy edytor Staniego
Name: SPE
-Version: 0.4.0.b
-%define _wx 2.4.1.2
-%define _bl 2.28
+Version: 0.7.3.a
Release: 0.1
License: LGPL 2.1+ (except sm library <free to use> and sm_idle <PSF>)
Group: Applications/Text
-Source0: http://spe.pycs.net/releases/%{name}-%{version}-wx%{_wx}.-bl%{_bl}.zip
-# Source0-md5: 2184fe9f33ab75dbfc087c81b99ad3fd
+Source0: http://projects.blender.org/frs/download.php/271/%{name}-%{version}-wx%{_wx}.-bl%{_bl}.zip
+# Source0-md5: 52b1d02f179bab7a71b57f5698343230
URL: http://spe.pycs.net/
-BuildRequires: rpm-pythonprov
+BuildRequires: python
+BuildRequires: python-devel
+BuildRequires: python-modules
+BuildRequires: unzip
%pyrequires_eq python-modules
Requires: python-wxPython >= %{_wx}
BuildArch: noarch
--optimize=2 \
--root=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.py' -exec rm "{}" ";"
+
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.txt
%attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/*
+%{py_sitescriptdir}/*