%define name python-xlib %define version 0.14 %define release %mkrel 3 Summary: X11R6 client-side implementation Name: %{name} Version: %{version} Release: %{release} Source0: http://downloads.sourceforge.net/python-xlib/%{name}-%{version}.tar.gz Patch1: python-xlib-0.14-buffsize.patch License: GPL Group: Development/Python Url: http://python-xlib.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python-devel BuildArch: noarch %description The Python X Library is a complete X11R6 client-side implementation, written in pure Python. It can be used to write low-levelish X Windows client applications in Python. %prep %setup -q %patch1 -p1 -b .buffsize chmod -R a+r . %build python setup.py build %install rm -rf %{buildroot} python setup.py install --root=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc NEWS README TODO %{py_puresitedir}/Xlib %{py_puresitedir}/*.egg-info %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.14-3mdv2009.0 + Revision: 269045 - rebuild early 2009.0 package (before pixel changes) * Mon Apr 28 2008 Olivier Blin <oblin@mandriva.com> 0.14-2mdv2009.0 + Revision: 198856 - fix doc directory permissions (by making all source files readable and removing wrong attrs) * Sun Mar 02 2008 Olivier Blin <oblin@mandriva.com> 0.14-1mdv2008.1 + Revision: 177732 - PKG-INFO has been removed - rediff buffer size patch - remove merged Xauth patch - 0.14 * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.13-2mdv2008.1 + Revision: 140738 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Dec 30 2006 Olivier Blin <oblin@mandriva.com> 0.13-2mdv2007.0 + Revision: 102795 - enlarge socket buffer size - use slices instead of buffer() calls to build unpack() arguments (fix Xauthority parsing) * Fri Dec 29 2006 Olivier Blin <oblin@mandriva.com> 0.13-1mdv2007.1 + Revision: 102540 - buildrequires python-devel - fix doc permissions - initial python-xlib release - Create python-xlib