14
0
forked from pool/python-urwid
Files
python-urwid/python-urwid.spec

55 lines
1.4 KiB
RPMSpec
Raw Normal View History

# norootforbuild
Name: python-urwid
Version: 0.9.8.2
Release: 0
Summary: Console UI Library for Python
Source: http://excess.org/urwid/urwid-%{version}.tar.gz
URL: http://excess.org/urwid/
Group: Development/Libraries/Python
License: GNU Library General Public License (LGPL)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
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.
%debug_package
%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
%changelog
* Fri May 30 2008 Pascal Bleser <guru@unixtech.be> 0.9.8.2
- new upstream version
* Sun Apr 29 2007 Pascal Bleser <guru@unixtech.be> 0.9.8
- initial build service submission
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: