%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %global debug_package %{nil} Name: pyatspi Version: 0.1.4 Release: 3%{?dist} Summary: Python bindings for at-spi Group: Development/Languages License: LGPLv2 URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus Source0: http://download.gnome.org/sources/pyatspi/0.1/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python Requires: GConf2 Requires: at-spi2-core # https://bugzilla.gnome.org/show_bug.cgi?id=606251 Patch0: 0001-Use-pyatspi_corba-if-desktop-gnome-interface-at-spi.patch BuildArch: noarch %description at-spi allows assistive technologies to access GTK-based applications. Essentially it exposes the internals of applications for automation, so tools such as screen readers, magnifiers, or even scripting interfaces can query and interact with GUI controls. This version of at-spi is a major break from previous versions. It has been completely rewritten to use D-Bus rather than ORBIT / CORBA for its transport protocol. This package includes a python client library for at-spi. %prep %setup -q %patch0 -p1 -b .better-switch %build %configure make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING AUTHORS README %{python_sitelib}/* %changelog * Thu Jan 7 2010 Matthias Clasen - 0.1.4-3 - Incorporate review feedback * Thu Jan 7 2010 Matthias Clasen - 0.1.4-2 - Fix License field - Change CORBA/DBus switching method * Tue Dec 22 2009 Matthias Clasen - 0.1.4-1 - Update to 0.1.4 * Sat Dec 5 2009 Matthias Clasen - 0.1.3-1 - Initial packaging