Group :: Development/Python
RPM: python-module-urwid
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rname urwid
Name: python-module-urwid
Version: 0.9.8.1
Release: alt2.1
Summary: Urwid is a console user interface library for Python.
#Summary(ru_RU.UTF8): Urwid - библиотека для написания консольных интерфейсов на Python
License: LGPL
Group: Development/Python
Url: http://excess.org/urwid
Packager: Alexey Morsov <swi at altlinux.ru>
Source: %name-%version.tar
Buildrequires: python-modules-curses python-module-setuptools
Requires: python-modules-curses
%description
Urwid is a console user interface library for Python. Urwid is released
under the GNU Lesser General Public License and it includes many features
useful for text console application developers:
* Fluid interface resizing (xterm window resizing / fbset on Linux console)
* Web application display mode using Apache and CGI [ Live Demo ]
* Support for UTF-8, simple 8-bit and CJK encodings
* Multiple text alignment and wrapping modes built-in
* Ability create user-defined text layout classes
* Simple markup for setting text attributes
* Powerful list box that handles scrolling between different widget types
* List box contents may be managed with a user-defined class
* Flexible edit box for editing many different types of text
* Buttons, check boxes and radio boxes
* Customizable layout for all widgets
* Easy interface for creating HTML screen shots
#description -l ru_RU.UTF8
%prep
%setup -q
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%python_sitelibdir/%rname/
%python_sitelibdir/%rname-%version-py%__python_version.egg-info/
%changelog
…
Full changelog you can see here
Name: python-module-urwid
Version: 0.9.8.1
Release: alt2.1
Summary: Urwid is a console user interface library for Python.
#Summary(ru_RU.UTF8): Urwid - библиотека для написания консольных интерфейсов на Python
License: LGPL
Group: Development/Python
Url: http://excess.org/urwid
Packager: Alexey Morsov <swi at altlinux.ru>
Source: %name-%version.tar
Buildrequires: python-modules-curses python-module-setuptools
Requires: python-modules-curses
%description
Urwid is a console user interface library for Python. Urwid is released
under the GNU Lesser General Public License and it includes many features
useful for text console application developers:
* Fluid interface resizing (xterm window resizing / fbset on Linux console)
* Web application display mode using Apache and CGI [ Live Demo ]
* Support for UTF-8, simple 8-bit and CJK encodings
* Multiple text alignment and wrapping modes built-in
* Ability create user-defined text layout classes
* Simple markup for setting text attributes
* Powerful list box that handles scrolling between different widget types
* List box contents may be managed with a user-defined class
* Flexible edit box for editing many different types of text
* Buttons, check boxes and radio boxes
* Customizable layout for all widgets
* Easy interface for creating HTML screen shots
#description -l ru_RU.UTF8
%prep
%setup -q
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%python_sitelibdir/%rname/
%python_sitelibdir/%rname-%version-py%__python_version.egg-info/
%changelog
…
Full changelog you can see here