File python-xlib.spec of Package python-xlib

#
# spec file for package python-xlib (Version 0.14)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           python-xlib
BuildRequires:  python-devel
License:        Public domain
Group:          Development/Libraries/Python
AutoReqProv:    on
Version:        0.14
Release:        1
Summary:        Python X11 interface
Url:             http://python-xlib.sourceforge.net/
Source:         python-xlib-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{py_requires}

%description
The Python X Library is intended to be a fully functional X client
library for Python programs.



Authors:
--------
    Mike Grant <mggrant at users.sourceforge.net>
    Peter Liljenberg <petli at users.sourceforge.net>

%prep
%setup

%build
export CFLAGS="$RPM_OPT_FLAGS" 
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES 
%defattr(-,root,root)
%doc README NEWS TODO COPYING
%changelog
* Wed Oct 31 2007 - jpr@suse.de
- Python bindings for Xlib
- Initial checkin of version 0.14
openSUSE Build Service is sponsored by