forked from pool/python-urwid
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
54
python-urwid.spec
Normal file
54
python-urwid.spec
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
%define _prefix /usr
|
||||||
|
|
||||||
|
Name: python-urwid
|
||||||
|
Version: 0.9.7.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
|
||||||
|
%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}"
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%__rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc reference.html tutorial.html
|
||||||
|
%{py_sitedir}/urwid
|
||||||
|
%if %suse_version >= 1020
|
||||||
|
%{py_sitedir}/urwid-%{version}-py%{py_ver}.egg-info
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Apr 29 2007 Pascal Bleser <guru@unixtech.be> 0.9.7.2
|
||||||
|
- initial build service submission
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: rpm-spec
|
||||||
|
# tab-width: 3
|
||||||
|
# End:
|
Reference in New Issue
Block a user