Name: python-xpyb Version: 1.3.1 Release: 1%{?dist} Summary: Python bindings to XCB License: Public Domain URL: http://xcb.freedesktop.org Source: http://xcb.freedesktop.org/dist/xpyb-%{version}.tar.bz2 BuildRequires: xcb-proto BuildRequires: libxcb-devel BuildRequires: python2-devel %description The Python binding for XCB allows the X protocol to be accessed directly from Python. There are two components: - A Python extension written in C. This exposes XCB-specific objects and library functions, as well as providing various base classes used by the generated code. - Python modules which are generated directly from the XCB-XML protocol descriptions. %package devel Summary: Devel files of xpyb Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libxcb-devel Requires: python2-devel %description devel This package provides devel files of xpyb, a Python binding to the X Window System protocol via libxcb. %prep %setup -q -n xpyb-%{version} %build %configure --docdir=%{_docdir}/xpyb \ --enable-selinux make %{?_smp_mflags} %install %make_install # Delete static lib find %{buildroot} -name '*.la' -exec rm -f {} ';' # Delete INSTALL doc find %{buildroot} -name 'INSTALL' -exec rm -f {} ';' %files %{python_sitearch}/xcb/ %{_docdir}/xpyb/ %files devel %{_libdir}/pkgconfig/xpyb.pc %{_includedir}/*.h %changelog * Mon Jul 01 2013 Tomas Dabasinskas - 1.3.1-1 - Edits for inclusion to fedora yum repo * Sat Apr 20 2013 Huaren Zhong - 1.3 - Rebuild for Fedora * Mon Apr 8 2013 mlin@suse.com - Initial a build