# # spec file for package python-urwid (Version 0.9.8.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-urwid Version: 0.9.8.4 Release: 1 Summary: Console UI Library for Python Source: http://excess.org/urwid/urwid-%{version}.tar.bz2 Url: http://excess.org/urwid/ Group: Development/Libraries/Python License: GNU Library General Public License (LGPL) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python python-devel %if 0%{suse_version} Requires: python-curses %endif %py_requires %description Urwid is a Python library for making text console applications. It has many features including fluid interface resizing, support for UTF-8 and CJK encodings, standard and custom text layout modes, simple markup for setting text attributes, and a powerful, dynamic list box that handles a mix of widget types. It is flexible, modular, and leaves the developer in control. %prep %setup -q -n "urwid-%{version}" %build %__python ./setup.py build %install %__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record-rpm="files.lst" %clean %__rm -rf "%{buildroot}" %files -f files.lst %defattr(-,root,root) %doc CHANGELOG %doc reference.html tutorial.html # Local Variables: # mode: rpm-spec # tab-width: 3 # End: %changelog * Wed Jun 10 2009 dmueller@suse.de - update to 0.9.8.4