%define oname EditObj2 %define subrel 1 Name: editobj2 Summary: Tkinter dialog box for editing any Python object Version: 0.2.1 Release: %mkrel 2 Source: %{oname}-%{version}.tar.gz URL: http://home.gna.org/oomadness/en/editobj/ License: GPLv2 Group: Development/Python %py_requires -d Requires: tkinter Obsoletes: editobj BuildArch: noarch %description EditObj2 can create and display a Tkinter dialog box for editing any Python object (similarly to what Java call a Bean editor, but for Python object). EditObj2 is a useful tool for writing (text or non-text) editors of all kinds, including GUI editor, 3D editor,... It also includes a Python console. EditObj2 supports also lists, dictionaries and hierarchies (nested lists) edition. EditObj2 includes also a tree widget for Tkinter, an event framework and a mutiple undo/redo system. %prep %setup -q -n %{oname}-%{version} %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install --root=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS LICENSE README %python_sitelib/%{name} %python_sitelib/*.egg-info %changelog * Tue Jul 12 2011 stormi <stormi> 0.2.1-2.1.mga1 + Revision: 123347 - apply latest cauldron changes so that it builds + kharec <kharec> - imported package editobj2 * Sun Oct 31 2010 Funda Wang <fwang@mandriva.org> 0.2.1-2mdv2011.0 + Revision: 590801 - rebuild for py2.7 * Sun Apr 18 2010 Sandro Cazzaniga <kharec@mandriva.org> 0.2.1-1mdv2010.1 + Revision: 536464 - import editobj2