%define oname EditObj2 Name: editobj2 Summary: Tkinter dialog box for editing any Python object Version: 0.4 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 * Fri Jan 11 2013 umeabot <umeabot> 0.4-2.mga3 + Revision: 349501 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Sep 19 2011 obgr_seneca <obgr_seneca> 0.4-1.mga2 + Revision: 145397 - new version 0.4 * Tue Jul 12 2011 stormi <stormi> 0.2.1-3.mga2 + Revision: 123459 - increase release so that it's higher than in Mageia 1 * Thu Jun 23 2011 zezinho <zezinho> 0.2.1-2.mga2 + Revision: 112836 - spec cleanup for first build + kharec <kharec> - imported package editobj2