File pygui.spec of Package pygui

%define module_name PyGUI

Name: pygui
Version: 2.5.3
Release: 1
Summary: A project to develop a cross-platform pythonic GUI API
License: GPL
Group: Development/Language
BuildArch: noarch
BuildRequires: pygtk2, python-setuptools
BuildRequires: python

The goals of this project are:
*Develop a GUI API that is designed specifically for Python,
 taking advantage of Python's unique language features and
 working smoothly with Python's data types.
*Provide implementations of the API for the three major platforms
 (Unix, Macintosh and Windows) that are small and lightweight,
 interposing as little code as possible between the Python
 application and the platform's underlying GUI facilities, and not
 bloating the Python installations or applications which use them.
*Document the API purely in Python terms, so that the programmer
 does not need to read the documentation for another GUI library,
 in terms of another language, and translate into Python.
*Get the library and its documentation included in the core Python
 distribution, so that truly cross-platform GUI applications may be
 written that will run on any Python installation, anywhere.

%setup -q -n %{module_name}-%{version}

%__python build

%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir} -p $RPM_BUILD_ROOT%{_datadir}
%__python install --root=$RPM_BUILD_ROOT --optimize=2

%doc *.txt Doc Demos Tests

%{__rm} -rf $RPM_BUILD_ROOT

* Fri Mar 30 2012 Huaren Zhong <> 2.5.3
- Rebuild for Fedora