Compare commits
10 Commits
fb349ceb4a
...
5e9f575e9d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e9f575e9d | ||
|
|
cfc48dcc4a | ||
|
|
ecb81f9d11 | ||
|
|
afb88fa0df | ||
|
|
7af3a4bd11 | ||
|
|
ff933dc893 | ||
|
|
3da717d466 | ||
|
|
2f4ff211aa | ||
|
|
5450b208d2 | ||
|
|
142c0c91e0 |
Binary file not shown.
BIN
pyatspi-2.46.0.tar.xz
Normal file
BIN
pyatspi-2.46.0.tar.xz
Normal file
Binary file not shown.
95
pyatspi.spec
95
pyatspi.spec
@ -1,86 +1,75 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: pyatspi
|
Name: pyatspi
|
||||||
Version: 2.33.92
|
Version: 2.46.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python client bindings for D-Bus AT-SPI
|
Summary: Python client bindings for D-Bus AT-SPI
|
||||||
License: LGPLv2 and GPLv2
|
License: LGPLv2 and GPLv2
|
||||||
URL: https://wiki.linuxfoundation.org/en/Accessibility/ATK/AT-SPI/AT-SPI_on_D-Bus
|
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
|
||||||
Source0: https://download.gnome.org/sources/pyatspi/2.30/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/pyatspi/2.46/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: atk-devel dbus-devel dbus-glib-devel glib2-devel gtk2-devel libxml2-devel
|
|
||||||
BuildRequires: pygobject3-devel python2-dbus python2-devel python2-enum34 python3-dbus python3-devel
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: at-spi2-atk-devel atk-devel dbus-devel dbus-glib-devel glib2-devel
|
||||||
|
BuildRequires: gtk3-devel libxml2-devel gtk2-devel
|
||||||
|
BuildRequires: pygobject3-devel python3-dbus python3-devel
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%global _description \
|
%description
|
||||||
at-spi allows assistive technologies to access GTK-based applications. Essentially it exposes the \
|
at-spi allows assistive technologies to access GTK-based
|
||||||
internals of applications for automation, so tools such as screen readers, magnifiers, or even \
|
applications. Essentially it exposes the internals of applications for
|
||||||
scripting interfaces can query and interact with GUI controls.\
|
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.
|
|
||||||
|
|
||||||
%description %_description
|
This package includes a python3 client library for at-spi.
|
||||||
|
|
||||||
%package -n python2-pyatspi
|
%package -n python3-pyatspi
|
||||||
Summary: Python2 client bindings for D-Bus AT-SPI
|
Summary: Python3 bindings for at-spi
|
||||||
Requires: at-spi2-core python2-gobject
|
Requires: at-spi2-core python3-gobject
|
||||||
|
|
||||||
%{?python_provide:%python_provide python2-pyatspi}
|
%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.
|
||||||
|
|
||||||
Provides: pyatspi = %{version}-%{release}
|
This package includes a python3 client library for at-spi.
|
||||||
Obsoletes: pyatspi < %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python2-pyatspi
|
|
||||||
%_description
|
|
||||||
This package includes a python2 client library for the AT-SPI.
|
|
||||||
|
|
||||||
%package -n python3-pyatspi
|
|
||||||
Summary: Python3 client bindings for D-Bus AT-SPI
|
|
||||||
Requires: at-spi2-core python3-gobject
|
|
||||||
|
|
||||||
%description -n python3-pyatspi
|
|
||||||
%_description
|
|
||||||
This package includes a python3 client library for the AT-SPI.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
cp -a . %{py3dir}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-python=python2 --enable-tests
|
|
||||||
make
|
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
%configure --with-python=python3 --enable-tests
|
%configure --with-python=python3 --enable-tests
|
||||||
make
|
make
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
pushd %{py3dir}
|
sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' examples/magFocusTracker.py
|
||||||
%make_install
|
|
||||||
popd
|
|
||||||
|
|
||||||
cp -a examples python3-examples
|
|
||||||
sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' python3-examples/magFocusTracker.py
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|
||||||
%files -n python2-pyatspi
|
%files -n python3-pyatspi
|
||||||
%license COPYING COPYING.GPL
|
%license COPYING COPYING.GPL
|
||||||
%doc AUTHORS README
|
%doc AUTHORS README
|
||||||
%doc examples/
|
%doc examples/magFocusTracker.py
|
||||||
%{python2_sitelib}/
|
%{python3_sitelib}/pyatspi/
|
||||||
|
|
||||||
%files -n python3-pyatspi
|
|
||||||
%license COPYING COPYING.GPL
|
|
||||||
%doc AUTHORS README
|
|
||||||
%doc python3-examples/*
|
|
||||||
%{python3_sitelib}/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 08 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.46.0-1
|
||||||
|
- Update to 2.46.0
|
||||||
|
|
||||||
|
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.38.1-1
|
||||||
|
- Upgrade to 2.38.1
|
||||||
|
- Update Version, Release, Source0, BuildRequires, stage 'build'
|
||||||
|
|
||||||
|
* Wed Oct 21 2020 jinzhimin<jinzhimin2@huawei.com> - 2.33.92-3
|
||||||
|
- remove python2-pyatspi subpackage
|
||||||
|
|
||||||
|
* Wed Sep 9 2020 chengguipeng<chengguipeng1@huawei.com> - 1.1.2-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:modify source0 url
|
||||||
|
|
||||||
* Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-1
|
* Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.2-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
4
pyatspi.yaml
Normal file
4
pyatspi.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: gnome
|
||||||
|
src_repo: pyatspi
|
||||||
|
tag_prefix: ^
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user