forked from pool/python-urwid
1.0.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
8dc318e720
commit
8bb4954289
@@ -16,53 +16,50 @@
|
||||
#
|
||||
|
||||
Name: python-urwid
|
||||
Version: 1.0.0
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Url: http://excess.org/urwid/
|
||||
Summary: A full-featured console (xterm et al.) user interface library
|
||||
License: LGPL
|
||||
Group: Development/Languages/Python
|
||||
Source: http://excess.org/urwid/urwid-1.0.0.tar.gz
|
||||
Source: http://excess.org/urwid/urwid-%{version}.tar.gz
|
||||
Source99: python-urwid-rpmlintrc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{suse_version}
|
||||
Requires: python-curses
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
Urwid is a console user interface library. It includes many features
|
||||
useful for text console application developers including:
|
||||
|
||||
- Applications resize quickly and smoothly
|
||||
- Automatic, programmable text alignment and wrapping
|
||||
- Simple markup for setting text attributes within blocks of text
|
||||
- Powerful list box with programmable content for scrolling all widget types
|
||||
- Your choice of event loops: Twisted, Glib or built-in select-based loop
|
||||
- Pre-built widgets include edit boxes, buttons, check boxes and radio buttons
|
||||
- Display modules include raw, curses, and experimental LCD and web displays
|
||||
- Support for UTF-8, simple 8-bit and CJK encodings
|
||||
- 256 and 88 color mode support
|
||||
- Python 3.2 support
|
||||
- Applications resize quickly and smoothly
|
||||
- Automatic, programmable text alignment and wrapping
|
||||
- Simple markup for setting text attributes within blocks of text
|
||||
- Powerful list box with programmable content for scrolling all widget types
|
||||
- Your choice of event loops: Twisted, Glib or built-in select-based loop
|
||||
- Pre-built widgets include edit boxes, buttons, check boxes and radio buttons
|
||||
- Display modules include raw, curses, and experimental LCD and web displays
|
||||
- Support for UTF-8, simple 8-bit and CJK encodings
|
||||
- 256 and 88 color mode support
|
||||
- Python 3.2 support
|
||||
|
||||
%prep
|
||||
%setup -q -n urwid-%{version}
|
||||
%setup -q -n "urwid-%{version}"
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%__python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%__python setup.py install \
|
||||
--prefix="%{_prefix}" \
|
||||
--root="%{buildroot}" \
|
||||
--record-rpm=files.lst
|
||||
|
||||
%files
|
||||
%files -f files.lst
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG reference.html tutorial.html
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user