[7938] | 1 | %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
| 2 | |
---|
| 3 | %global debug_package %{nil} |
---|
| 4 | |
---|
| 5 | Name: python3-pyatspi |
---|
| 6 | Version: 2.10.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | Summary: Python3 bindings for at-spi |
---|
| 9 | |
---|
| 10 | Group: Development/Languages |
---|
| 11 | License: LGPLv2 and GPLv2 |
---|
| 12 | URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus |
---|
| 13 | #VCS: git:git://git.gnome.org/pyatspi |
---|
| 14 | Source0: http://download.gnome.org/sources/pyatspi/2.10/pyatspi-%{version}.tar.xz |
---|
| 15 | |
---|
| 16 | BuildRequires: python3 >= 3.2 |
---|
| 17 | BuildRequires: python3-pygobject-devel >= 2.90.1 |
---|
| 18 | BuildRequires: libX11-devel |
---|
| 19 | BuildRequires: libSM-devel |
---|
| 20 | |
---|
| 21 | Requires: at-spi2-core |
---|
| 22 | Requires: python3-pygobject |
---|
| 23 | |
---|
| 24 | BuildArch: noarch |
---|
| 25 | |
---|
| 26 | Vendor: Project Vine |
---|
| 27 | Distribution: Vine Linux |
---|
| 28 | Packager: Takemikaduchi |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | at-spi allows assistive technologies to access GTK-based |
---|
| 32 | applications. Essentially it exposes the internals of applications for |
---|
| 33 | automation, so tools such as screen readers, magnifiers, or even |
---|
| 34 | scripting interfaces can query and interact with GUI controls. |
---|
| 35 | |
---|
| 36 | This version of at-spi is a major break from previous versions. |
---|
| 37 | It has been completely rewritten to use D-Bus rather than |
---|
| 38 | ORBIT / CORBA for its transport protocol. |
---|
| 39 | |
---|
| 40 | This package includes a python3 client library for at-spi. |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q -n pyatspi-%{version} |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %configure \ |
---|
| 48 | --with-python=python3 \ |
---|
| 49 | --disable-relocate |
---|
| 50 | make |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %doc COPYING COPYING.GPL AUTHORS README |
---|
| 59 | %{python3_sitelib}/pyatspi |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
| 63 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1 |
---|
| 64 | - initial build |
---|
| 65 | |
---|