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.12.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.12/pyatspi-%{version}.tar.xz |
---|
15 | |
---|
16 | BuildRequires: python3 >= 3.2 |
---|
17 | BuildRequires: python3-pygobject |
---|
18 | BuildRequires: pygobject3-devel |
---|
19 | BuildRequires: libX11-devel |
---|
20 | BuildRequires: libSM-devel |
---|
21 | |
---|
22 | Requires: at-spi2-core |
---|
23 | Requires: python3-pygobject |
---|
24 | |
---|
25 | BuildArch: noarch |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | Packager: Takemikaduchi |
---|
30 | |
---|
31 | %description |
---|
32 | at-spi allows assistive technologies to access GTK-based |
---|
33 | applications. Essentially it exposes the internals of applications for |
---|
34 | automation, so tools such as screen readers, magnifiers, or even |
---|
35 | scripting interfaces can query and interact with GUI controls. |
---|
36 | |
---|
37 | This version of at-spi is a major break from previous versions. |
---|
38 | It has been completely rewritten to use D-Bus rather than |
---|
39 | ORBIT / CORBA for its transport protocol. |
---|
40 | |
---|
41 | This package includes a python3 client library for at-spi. |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q -n pyatspi-%{version} |
---|
46 | |
---|
47 | %build |
---|
48 | %configure \ |
---|
49 | --with-python=python3 \ |
---|
50 | --disable-relocate |
---|
51 | make |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %doc COPYING COPYING.GPL AUTHORS README |
---|
60 | %{python3_sitelib}/pyatspi |
---|
61 | |
---|
62 | |
---|
63 | %changelog |
---|
64 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.12.0-1 |
---|
65 | - new upstream release |
---|
66 | - remove BuildRequires: python3-pygobject-devel |
---|
67 | - add BuildRequires: python3-pygobject, pygobject3-devel |
---|
68 | |
---|
69 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1 |
---|
70 | - initial build |
---|
71 | |
---|