%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %global debug_package %{nil} Name: pyatspi Version: 2.20.2 Release: 1%{?_dist_release} Summary: Python bindings for at-spi Group: Development/Languages License: LGPLv2 and GPLv2 URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus #VCS: git:git://git.gnome.org/pyatspi Source0: http://download.gnome.org/sources/pyatspi/2.20/%{name}-%{version}.tar.xz BuildRequires: python BuildRequires: pygobject3-devel >= 2.90.1 BuildRequires: libX11-devel BuildRequires: libSM-devel Requires: at-spi2-core Requires: pygobject3 BuildArch: noarch Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %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. %package -n python3-pyatspi Summary: Python3 bindings for at-spi Group: Development/Languages BuildRequires: python3-pygobject Requires: at-spi2-core Requires: python3-pygobject BuildArch: noarch Obsoletes: python3-pyatspi < 2.17.0 %description -n python3-pyatspi 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 python3 client library for at-spi. %prep %setup -q # python3 rm -rf ../python3 cp -a . ../python3 %build %configure \ --with-python=python2 make # python3 pushd ../python3 %configure \ --with-python=python3 make %install make install DESTDIR=$RPM_BUILD_ROOT # python3 pushd ../python3 make install DESTDIR=$RPM_BUILD_ROOT %files %defattr(644, root, root, 755) %doc COPYING COPYING.GPL AUTHORS README %{python_sitelib}/pyatspi %files -n python3-pyatspi %defattr(644, root, root, 755) %doc COPYING COPYING.GPL AUTHORS README %{python3_sitelib}/pyatspi %changelog * Sun Jul 17 2016 Yoji TOYODA 2.20.2-1 - new upstream release * Thu Nov 12 2015 Yoji TOYODA 2.18.0-2 - fix spec file * Sun Nov 01 2015 Yoji TOYODA 2.18.0-1 - new upstream release - create python3-pyatspi subpackage * Sun Mar 29 2015 Yoji TOYODA 2.16.0-1 - new upstream release * Sun Oct 26 2014 Yoji TOYODA 2.14.0-1 - new upstream release * Sat Mar 29 2014 Yoji TOYODA 2.12.0-1 - new upstream release * Sun Jan 12 2014 Yoji TOYODA 2.10.0-2 - rebuild with VineSeed environment * Sat Oct 26 2013 Yoji TOYODA 2.10.0-1 - new upstream release * Sun Apr 21 2013 Yoji TOYODA 2.8.0-1 - new upstream release * Sat Sep 29 2012 Yoji TOYODA 2.6.0-1 - new upstream release * Sun Apr 08 2012 Yoji TOYODA 2.4.0-1 - new upstream release * Sun Feb 19 2012 Yoji TOYODA 2.2.1-2 - rebuild with python-2.7.2 * Sat Oct 22 2011 Yoji TOYODA 2.2.1-1 - new upstream release * Thu Sep 29 2011 Yoji TOYODA 2.2.0-1 - new upstream release - add BuildRequires: libX11-devel, libSM-devel * Fri Sep 23 2011 Yoji TOYODA 2.1.91-1 - initial build for Vine Linux * Wed Aug 31 2011 Matthias Clasen - 2.1.90-1 - Update to 2.1.90 * Wed Aug 17 2011 Matthias Clasen - 2.1.5-1 - Update to 2.1.5 * Mon Jul 25 2011 Matthias Clasen - 2.1.4-1 - Update to 2.1.4 * Thu Jun 16 2011 Tomas Bzatek - 2.1.2-1 - Update to 2.1.2 * Wed May 11 2011 Tomas Bzatek - 2.1.1-1 - Update to 2.1.1 * Tue Apr 26 2011 Matthias Clasen - 2.0.1-1 - Update to 2.0.1 * Mon Apr 4 2011 Matthias Clasen - 2.0.0-1 - Update to 2.0.0 * Tue Mar 22 2011 Matthias Clasen - 1.91.92-1 - Update to 1.91.92 * Mon Mar 7 2011 Matthias Clasen - 1.91.91-1 - Update to 1.91.91 * Tue Feb 22 2011 Matthias Clasen - 1.91.90-1 - Update to 1.91.90 * Tue Feb 08 2011 Fedora Release Engineering - 1.91.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Feb 2 2011 Christopher Aillon - 1.91.6-1 - Update to 1.91.6 * Tue Jan 11 2011 Matthias Clasen - 1.91.5-1 - Update to 1.91.5 * Thu Dec 2 2010 Matthias Clasen - 1.91.3-1 - Update to 1.91.3 * Tue Oct 5 2010 Matthias Clasen - 1.91.0-1 - Update to 1.91.0 * Wed Sep 29 2010 Matthias Clasen - 0.4.0-1 - Update to 0.4.0 * Mon Sep 20 2010 Matthias Clasen - 0.3.91-2 - Require python-xlib and and gnome-python2-gconf (#635484) * Tue Aug 31 2010 Matthias Clasen - 0.3.91-1 - Update to 0.3.91 * Wed Aug 18 2010 Matthias Clasen - 0.3.90-1 - Update to 0.3.90 * Mon Aug 2 2010 Matthias Clasen - 0.3.6-1 - Update to 0.3.6 * Wed Jul 21 2010 David Malcolm - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Jun 29 2010 Matthias Clasen - 0.3.4-1 - Update to 0.3.4 * Tue Jun 8 2010 Matthias Clasen - 0.3.3-1 - Update to 0.3.3 * Fri May 28 2010 Matthias Clasen - 0.3.2-1 - Update to 0.3.2 * Sat May 15 2010 Matthias Clasen - 0.3.1.1-1 - Update to 0.3.1.1 * Tue Mar 30 2010 Matthias Clasen - 0.1.8-1 - Update to 0.1.8 * Sat Feb 20 2010 Matthias Clasen - 0.1.7-1 - Update to 0.1.7 * Wed Feb 10 2010 Tomas Bzatek - 0.1.6-1 - Update to 0.1.6 * Wed Feb 3 2010 Matthias Clasen - 0.1.5-2 - Relocate * Sat Jan 16 2010 Matthias Clasen - 0.1.5-1 - Update to 0.1.5 * 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