!7 upgrade to 2.38.2

From: @dillon_chen 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-04-20 09:29:36 +00:00 committed by Gitee
commit 2e2bcfa5b8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 28 additions and 24 deletions

Binary file not shown.

BIN
pyatspi-2.38.2.tar.xz Normal file

Binary file not shown.

View File

@ -1,59 +1,63 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: pyatspi Name: pyatspi
Version: 2.38.1 Version: 2.38.2
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.38/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/pyatspi/2.38/%{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: at-spi2-atk-devel atk-devel dbus-devel dbus-glib-devel glib2-devel BuildRequires: at-spi2-atk-devel atk-devel dbus-devel dbus-glib-devel glib2-devel
BuildRequires: gtk3-devel libxml2-devel gtk2-devel BuildRequires: gtk3-devel libxml2-devel gtk2-devel
BuildRequires: pygobject3-devel python3-dbus python3-devel BuildRequires: pygobject3-devel python3-dbus python3-devel
BuildRequires: make
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.
%global _description \ This package includes a python3 client library for at-spi.
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.
%description %_description
%package -n python3-pyatspi %package -n python3-pyatspi
Summary: Python3 client bindings for D-Bus AT-SPI Summary: Python3 bindings for at-spi
Requires: at-spi2-core python3-gobject Requires: at-spi2-core python3-gobject
%description -n python3-pyatspi %description -n python3-pyatspi
%_description at-spi allows assistive technologies to access GTK-based
This package includes a python3 client library for the AT-SPI. 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 package includes a python3 client library for at-spi.
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
%configure --with-python=python3 --enable-tests %configure --with-python=python3 --enable-tests
%make_build make
%install %install
%make_install %make_install
cp -a examples python3-examples sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' examples/magFocusTracker.py
sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' python3-examples/magFocusTracker.py
%check %check
%files -n python3-pyatspi %files -n python3-pyatspi
%license COPYING COPYING.GPL %license COPYING COPYING.GPL
%doc AUTHORS README %doc AUTHORS README
%doc python3-examples/* %doc examples/magFocusTracker.py
%{python3_sitelib}/ %{python3_sitelib}/pyatspi/
%changelog %changelog
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 2.38.2-1
- Update to 2.38.2
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.38.1-1 * Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.38.1-1
- Upgrade to 2.38.1 - Upgrade to 2.38.1
- Update Version, Release, Source0, BuildRequires, stage 'build' - Update Version, Release, Source0, BuildRequires, stage 'build'