Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ablackburn
urwid
urwid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File urwid.spec of Package urwid
# # spec file for package urwid (Version 0.9.8.4) # # Copyright (c) 2009 Adam Blackburn <compwiz18@gmail.com> # Copyright (c) 2009 Andrew Psaltis <ampsaltis@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS OR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # norootforbuild %define name urwid %define version 0.9.8.4 %define unmangled_version 0.9.8.4 %define release 1 %define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)') Summary: A console UI library featuring fluid interface resizing, UTF-8 support, multiple text layouts, simple attribute markup, powerful scrolling list boxes and flexible interface design. Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{unmangled_version}.tar.gz License: LGPL Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} Vendor: Ian Ward <ian@excess.org> Url: http://excess.org/urwid/ Requires: python >= 2.3 BuildRequires: python-devel >= 2.3 %description Urwid is a console user interface library. It includes many features useful for text console application developers including: - Fluid interface resizing (xterm window resizing / fbset on Linux console) - Web application display mode using Apache and CGI - Support for UTF-8, simple 8-bit and CJK encodings - Multiple text alignment and wrapping modes built-in - Ability to 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 Home Page: http://excess.org/urwid/ Example Program Screenshots: http://excess.org/urwid/examples.html %prep %setup -n %{name}-%{unmangled_version} %build env CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %dir %{python_sitelib}/urwid %changelog * Fri Apr 17 2009 Andrew Psaltis <ampsaltis@gmail.com> - 0.9.8.4-1 - Added spec file license and norootforbuild * Sun Apr 12 2009 Adam Blackburn <compwiz18@gmail.com> - 0.9.8.4-1 - Created first spec
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor